[jboss-user] [JCA/JBoss] - Re: Explicit commit on connection failing

weston.price@jboss.com do-not-reply at jboss.com
Wed Oct 4 12:08:51 EDT 2006


Using the no-tx-datasource means just that, no transactions at the driver level.

To do what you want you need to get the connection, set autocommit to false, do your JDBC stuff, and then commit. 

Note, your Spring/Hib transaction configuration are JTA transactions, these are different than JDBC level transactions. 




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

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



More information about the jboss-user mailing list