users@glassfish.java.net

Re: Caching problem with build b58c-fcs?

From: <glassfish_at_javadesktop.org>
Date: Tue, 28 Aug 2007 13:06:46 PDT

If your SessionBeans are indeed talking to the same PersistenceContext then your code should be operating on the exact same Entities, no need to flush or refresh. It seems that your configuration may not be sharing the same PersistenceContext as you expect. Please make sure that you are not confusing Persistence Units for Persistence Contexts in your explanation. Are both Session Beans acting within the same transaction?

Perhaps you could provide details on your configuration including transaction states, call sequence and Session Bean transaction settings?
--Gordon
[Message sent by forum member 'gyorke' (gyorke)]

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