users@glassfish.java.net

Re: Bug in Hibernate JPA when Persisting an Entity

From: <glassfish_at_javadesktop.org>
Date: Wed, 13 Jun 2007 13:38:43 PDT

Hi Sathish,

Yes, you need to also remove the order explicitly by calling em.remove(). Hibernate though might help you with orphan instances (not associated with the parent), but you need to check their documentation as it's not a spec-defined feature.

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

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