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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to