users@glassfish.java.net

Re: Surprising JPA (Toplink) Behaviour (glassfish v1 UR1)

From: <glassfish_at_javadesktop.org>
Date: Mon, 19 Mar 2007 09:21:40 PST

As long as you are not expecting any active Entity Manager to be updated with changes from another Entity Manager then you should not have stale data issues when using only a single EMF (or EMFs from the same PU). Unless your issues are with updates outside of JPA?

EMFs in TopLink Essentials are not heavy weight objects. They are backed by a shared heavy weight object called a ServerSession.

--Gordon
[Message sent by forum member 'gyorke' (gyorke)]

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