Yes, we need information if relation is "association" or "aggregation". I will need this kind of information also in smartclient. For now I'm recognizing it by existence of service. If service exist (it is independent entity) than it's association, otherwise is aggregation. Is here some better way how to recognize type of relation?
Pavel On Thu, Oct 29, 2009 at 7:07 AM, Arpan Mukherjee <arpan.m...@gmail.com> wrote: > For many to many relationship, it is creating all-delete-orphan > automatically. > If Table1 has reference Set<@Table2> table2 > It is creating Table2_Table1 lookup table and putting delete orphan in > hibernate for Table2. > > But it is not always true that Table2 will be child of Table1 right? > > > On Wed, Oct 28, 2009 at 8:10 PM, Patrik Nordwall <patrik.nordw...@gmail.com> > wrote: >> >> Aha, that was a little bit to simple :-) >> >> But, do you mean that the generated annotation is all-delete-orphan for >> this >> case. >> I will have to look at then, it feels wrong. >> >> The default values are documented here: >> >> http://fornax.itemis.de/confluence/display/fornax/3.+Advanced+Tutorial+(CSC)#3.AdvancedTutorial(CSC)-CascadeandFetch >> >> /Patrik >> -- >> View this message in context: >> http://www.nabble.com/Hiberanate-Cascade-Delete-Issue-in-many-to-many-relationship-tp26080397s17564p26095863.html >> Sent from the Fornax-Platform mailing list archive at Nabble.com. >> >> >> >> ------------------------------------------------------------------------------ >> Come build with us! The BlackBerry(R) Developer Conference in SF, CA >> is the only developer event you need to attend this year. Jumpstart your >> developing skills, take BlackBerry mobile applications to market and stay >> ahead of the curve. Join us from November 9 - 12, 2009. Register now! >> http://p.sf.net/sfu/devconference >> _______________________________________________ >> Fornax-developer mailing list >> Fornax-developer@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/fornax-developer > > > > -- > Regards, > > Arpan > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Fornax-developer mailing list > Fornax-developer@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/fornax-developer > > ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Fornax-developer mailing list Fornax-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fornax-developer