[jboss-user] [EJB 3.0] - Re: 10,000 Recorc Per Second (In EJB 3.0)

snau2005 do-not-reply at jboss.com
Sun Apr 22 12:43:36 EDT 2007

anonymous wrote : and into my stateless sessionbean i have created 10 Threads
  | but i got an error like this
  | entityManager.persist(usageObject); //  this is ThreadMy.java:81
  | how i can fix it ?
  | can anybody tell me ?

Do not use in Threads main entity manager, call in each Thread another sessionbean which will do what now Thread does (persist) (or call the same, but different method).

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

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

More information about the jboss-user mailing list