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
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to