users@glassfish.java.net

Re: _at_OneToMany empty set

From: <glassfish_at_javadesktop.org>
Date: Wed, 18 Jul 2007 15:26:47 PDT

Hi Chris,

Did you create those instances in the same application? If yes, did you assign relationships from both sides? There are no managed relationships in JPA, and to have an application that behaves the same on all persistence providers, you need to maintain those relationships yourself (some providers might help you there).

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

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