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<http://fornax.itemis.de/confluence/display/fornax/3.+Advanced+Tutorial+%28CSC%29#3.AdvancedTutorial%28CSC%29-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

Reply via email to