From: Jon S. (JIRA) <no...@at...> - 2005-12-15 02:42:32
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-446?page=comments#action_21271 ] Jon Seymour commented on HHH-446: --------------------------------- I have run into this problem as well and had to change my model to use generated identifiers to get around it. My view is that the natural XML representation of this case is to suppress the link to the parent entity completely, e.g. <labelMessageKey id="776"> <messages> <Message> <language id="en" /> <value>Thing</value> </Message> <Message> <language id="de" /> <value>Sache</value> <Message> <Message> <language id="sk" /> <value>Vec</value> <Message> </messages> </labelMessageKey> > The is no possibility to specify embed-xml on key-many-to-one tag > ----------------------------------------------------------------- > > Key: HHH-446 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-446 > Project: Hibernate3 > Type: Improvement > Components: core > Versions: 3.0.2 > Environment: MySQL > Reporter: Markus Jessenitschnig > Priority: Minor > > > It is not possible to specify embed-xml="false" on key-many-to-one tags within composite-id tag like it is possible for many-to-one relations. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |