users@glassfish.java.net

Re: refresh problem

From: <glassfish_at_javadesktop.org>
Date: Wed, 14 Mar 2007 09:52:26 PST

How many times is postLoad being called? I would expect it to be called twice on 2 different objects. Both calls should be successful at updating the transient field of both objects. One of the objects is from the current persistence context and the other is from the TopLink cache.
You mention that the object you are referencing is not updated is this object a member of a Persistence Context (ie. Managed) or is it a detached object?
--Gordon
[Message sent by forum member 'gyorke' (gyorke)]

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