Re: Resource with custom factory

2009-03-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Derek, On 3/8/2009 4:31 PM, Derek Potts wrote: > JPA allows you to create and configure an EntityManagerFactory, then > store it in a Java Naming and Directory Interface (JNDI) tree for > later retrieval and use. > > I would like to do something like

Resource with custom factory

2009-03-08 Thread Derek Potts
Hello, I am having trouble setting up a resource for my web app. First, some background... I am using Tomcat 5.5 and OpenJPA 1.2.0. Everything is working fine in the unmanaged fashion: EntityManagerFactory emf = Persistence.createEntityManagerFactory(null); EntityManager em = emf.createEnt