[jboss-user] [EJB 3.0] - Re: My own EntityManager, how to do it?

alexg79 do-not-reply at jboss.com
Fri May 18 10:09:52 EDT 2007

I was about to ask the same question, but then I saw this post. My solution is to just use
@EJB ExtEntityManager em; instead of @PersistenceContext EntityManager em;, but if you use multiple persistence units, it may not be such a practical approach.

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4046823

More information about the jboss-user mailing list