Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-dev] @PrivateOwned problems

Maybe I found problem with @PrivateOwned and @OneToMany(cascade={}, ...) mapping.
When I update parent entity (delete, merge modified) private owned entities are deleted but not undeleted in UOW -> EclipseLink generate UPDATE for owner and DELETE for all private owned entities. UPDATE of owner should be generated.

More info and sample code is in User Mailing List: 'Tree hieararchy and @PrivateOwned problems'
http://dev.eclipse.org/mhonarc/lists/eclipselink-users/msg05320.html

Please let me know if it's correct or should I report bug.

  Thank you very much.

       Martin


Back to the top