From: NHibernate J. <mik...@us...> - 2007-01-30 17:22:53
|
[ http://jira.nhibernate.org/browse/NH-466?page=comments#action_14915 ] Karl Chu commented on NH-466: ----------------------------- I need a clarification on the "inverse" attribute. Assume the following mapping: <class name="Person" ...> ... <join table="Stuff" inverse="true"> <key .../> <property name="StuffName"/> </join> </class> I understand from the H3 documentation that "If enabled, Hibernate will not try to insert or update the properties defined by this join". However, when a Person is deleted, should the delete cascade down to the "Stuff" table? > Add <join> mapping element to map one class to several tables > ------------------------------------------------------------- > > Key: NH-466 > URL: http://jira.nhibernate.org/browse/NH-466 > Project: NHibernate > Type: Patch > Components: Core > Versions: 1.2.0.Beta2 > Reporter: Alexei > Fix For: LATER > Attachments: NH466_against_r2594.patch > > It would be nice to be able to map properties of one class to several tables as Hibernate 3.0 does with a <join> element. > An important feature when working with legacy data models shared by existing applications. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.nhibernate.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |