on 10-27-2009 7:06 AM
Hi,
in JPA 2.0 you can mark associations (@OneToOne, @OneToMany) with an "orphanRemoval" flag. If orphanRemoval is set to true on an association, a child that is removed from the association is also deleted from the database during the flush operation.
Today, Hibernate and EclipseLink support the concept (in EclipseLink it is called @PrivateOwned, in Hibernate "delete-orphan").
Is this concept currently supported in SAP-JPA?
Kind regrads
Jan
Hi Jan,
unfortunately, SAP JPA does not support orphan removal.
-Adrian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.