Instead of injecting the EntityManager like so...

  | @PersistenceContext(unitName="some_name")
  | EntityManager em;
  | 

can I use JNDI to look up an EntityManager with a specific persistence unit?

If so, what would the naming path be?

Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973981#3973981

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3973981
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to