To get the transaction do Transactions.instance() - you need to ask on e.g. an 
EJB3 forum about how to control transactions inside a CMT.

You need to ask on the hibernate forum about why .flush() doesn't commit the 
transaction if you are curious.

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

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

Reply via email to