From the same paragraph:
anonymous wrote : In less common use
cases within Java EE environments, applications may need to access a persistence context
that is ?stand-alone??i.e. not propagated along with the JTA transaction across the
EntityManager references for the given persistence unit.
|
Never tried it like you have, but committing your JTA transaction doesn't make much
sense.
Try em.joinTransaction() or em.getTransaction().commit().
Lets see what happens.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068740#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...