users@glassfish.java.net

Creating application EntityManager

From: <glassfish_at_javadesktop.org>
Date: Tue, 02 Feb 2010 12:51:48 PST

Is there a place, either JEE standard, or Glassfish specific, where we can intercept the creation of an Applications (EAR) EntityManager?

Right now, we're using persistence.xml. But for configuration and other reasons, we'd like to get rid of that and just build the EntityManagerFactory ourselves.

So, is there some place we can hook in to pull this off?
[Message sent by forum member 'whartung' (redrocks_at_sbcglobal.net)]

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