[jboss-user] [EJB 3.0] - Accessing EntityManagerFactory?!
mugwump
do-not-reply at jboss.com
Fri Sep 29 08:00:48 EDT 2006
Is there a way to get hold of the EntityManagerFactory that produced an injected PersistenceContext?
I use
| @PersistenceContext
| private EntityManager em;
|
to inject a PersistenceContext - and I need the EntityManagerFactory from which this EntityManager was generated. Is there a simple way to do that (from a Stateless SessionBean or from an MBean?)
cheers&thx
stf
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975121#3975121
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975121
More information about the jboss-user
mailing list