Sorry, should have been more clear:
If you want JBoss to manage the transactions for you (CMT) or you are using the
UserTransaction object from JNDI then you would use either use an XA or LocalTransaction
datasource. Using these DS/CM combinations requires you to remove the explicit
setAutoCommit(), commit() method from your code as JBoss is controlling the transaction
context at that point.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969881#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...