[jboss-user] [EJB 3.0] - Re: How to access EntityManager in a Thread run() method?

2008-10-03 Thread wolfc
Fixed in rev 61993 (so it's in AS 5 Beta 2). I suggest using AS 5.0 CR2. PS. You shouldn't access an EJBs EM in another thread. The transaction isn't propagated, so you'll probably run into interesting problems. View the original post :

[jboss-user] [EJB 3.0] - Re: How to access EntityManager in a Thread run() method?

2008-10-03 Thread jboss_raikankas
I read in EJB3 specs that this should not be done, but then... should I use a plain jdbc connection to handle databases querys inserts inside the Thread? Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4180232#4180232 Reply to the post :