[jboss-user] [EJB 3.0] - Re: BMT does not work the expected way.

wolfc do-not-reply at jboss.com
Mon Jul 30 10:15:00 EDT 2007

>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#4068740

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068740

More information about the jboss-user mailing list