em.getTransaction() is for resource-local transaction demarcation, i.e. Java 
SE. 

In Java EE you need to use JTA, either through the 
javax.transaction.UserTransaction API (Seam has a wrapper component, or do a 
JNDI lookup) or through CMT on an EJB.



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081696#4081696

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081696
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to