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