I am using the local-tx-datasource provided from jboss with hibernate and springframework. When using transactions the connection provided from jboss have autoCommit set to true. When using org.apache.commons.dbcp.BasicDataSource you can control this with defaultAutoCommit property. Can someone please explain what I am doing wrong?