[jboss-user] [EJB/JBoss] - EntityManager is singleton?

agori do-not-reply at jboss.com
Wed Jul 23 03:15:51 EDT 2008

I know that an injected EntityManager (@PersistenceContext EntityManager em) in not a singleton. But this is what I am experiencing in my application!

I have a @Stateless bean with @PersistenceContext entity manager. It seems that during the whole application the entitymanager is *always the same object*. 


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

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

More information about the jboss-user mailing list