Hi,
  When an element X is removed from a collection C in memory -- it does not
imply that the record for X is deleted from database.
   Or for that matter, setting
    A.b = null does not imply that record for b is deleted from database.

  Essentially it aligns well with the fact that Java relationship signify an
association not ownership. 

  OpenJPA provides @Dependent, @ElementDependent annotations to express
ownership. Then nulling a reference or removing an element from a collection
will imply a database delete.

 
-- 
View this message in context: 
http://n2.nabble.com/Cascade-Delete-Issue--tp675459p676501.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to