users@glassfish.java.net

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

From: <glassfish_at_javadesktop.org>
Date: Fri, 16 Mar 2007 07:57:57 PST

With TopLink Essentials you will be getting a different EntityManagerFactory each time Persistence.createEntityManagerFactor() but each of these factories will be hooked together in the back end and as long as you pass in the same Persistence Unit name (or no name for the default PU) they will all be connected to the same Persistence Unit and cache.
--Gordon
[Message sent by forum member 'gyorke' (gyorke)]

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