users@glassfish.java.net

Re: Entity Problem (2 one-to-many, 1 many-to-one)

From: <glassfish_at_javadesktop.org>
Date: Mon, 17 Sep 2007 09:49:32 PDT

Hi,

Do you set up relationships on both sides before persisting the entities? If you are using TopLink Essentials, it stores copies of your entities in the 2nd level (EMF-level) cache as-is, and doesn't refresh the data, unless you explicitly ask it do so.

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

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