Ha, I figured this out. I need to do
EntityTransaction transaction = entityManager.getTransaction();
| transaction.begin();
| entityManager.persist(...);
| transaction.commit();
| entityManager.close();
Is that the right way to do it? It works!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995818#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...