[jboss-user] [EJB 3.0] - Re: persistence-context-ref always yields same object instan

jaikiran do-not-reply at jboss.com
Tue Aug 18 01:19:26 EDT 2009


anonymous wrote : Whether I do the JNDI lookup multiple times right after each other in the same method, or test what the JNDI lookup returns in multiple simultaneous requests, the result is always an object instance with the same ID (e.g. org.jboss.jpa.tx.TransactionScopedEntityManager at d78f1b). 

Hmm, i would have expected it to return different instances in the multiple simultaneous requests usecase.


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

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



More information about the jboss-user mailing list