[jboss-user] [EJB 3.0] - Re: How to find a container managed entity manager through J

fhh do-not-reply at jboss.com
Sun Apr 8 06:42:27 EDT 2007


anonymous wrote : 
  | i will remember your remind of to pay attention to thread safe.It is like the hibernate session from this aspect? 
  | 

I don't know Hibernate very well but I guess it is.

anonymous wrote : 
  | But does a entitymanager hold too many resource,and i make one for each thread,the performance will be reduced?
  | 

Use entityManager.close().

Regards

Felix

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

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



More information about the jboss-user mailing list