Re: @Dependent annotation vs cascade=ALL

2007-03-08 Thread Abe White
Thanks, Abe. This explanation helps a great deal. Should we update the documentation with some of this information? As far as I can tell the documentation on cascade=DELETE and the documentation on the Dependent metadata extension already contains everything I said. Feel free to change

Re: @Dependent annotation vs cascade=ALL

2007-03-08 Thread Craig L Russell
Hi Kevin, On Mar 8, 2007, at 8:45 AM, Kevin Sutter wrote: Abe, Your explanation in your reply was much clearer (IMHO) than the current documentation. I will take a stab at improving the wording so that the meaning and differences are more pronounced. I will also link the two sections of

Re: @Dependent annotation vs cascade=ALL

2007-03-07 Thread Kevin Sutter
Thanks, Abe. This explanation helps a great deal. Should we update the documentation with some of this information? Kevin On 3/7/07, Abe White [EMAIL PROTECTED] wrote: First, dependent should be compared to cascade=REMOVE rather than (or in addition to) cascade=ALL. cascade=REMOVE means

Re: @Dependent annotation vs cascade=ALL

2007-03-07 Thread Craig L Russell
For the Hibernate-erati in the audience, this feature (JDO calls it dependent and JPA doesn't have it) is called cascade=all-delete- orphan. Craig On Mar 7, 2007, at 6:28 PM, Kevin Sutter wrote: Thanks, Abe. This explanation helps a great deal. Should we update the documentation with