users@glassfish.java.net

Re: Removing entity from OneToMany Bi-Directional collection?

From: <glassfish_at_javadesktop.org>
Date: Wed, 12 Sep 2007 14:04:15 PDT

By removing entities from a collection, you are only changing the relationships (FKs), not removing the related instances. Also, as you have bi-directional relationship, you need to remove the entity from both sides of the relationship.

HTH,
-marina
[Message sent by forum member 'mvatkina' (mvatkina)]

http://forums.java.net/jive/thread.jspa?messageID=235129