Hello!
I'm not sure , but if I look at your code you instantiate the em by yourself. Examples
I've seen do not do that, they leave that part to JBoss, like the following code. Are
you sure you get the correct entity manager?
|
| @Stateless
| @TransactionManagement(TransactionManagementType.BEAN)
| public class MySessionBean implements MyInterface {
|
| @Resource
| private EntityManager em;
|
| }
|
|
Kind regards
/Oskar
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4086326#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...