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

vijay_kirti do-not-reply at jboss.com
Wed Oct 4 12:03:22 EDT 2006


Hi,

I am using Spring along with Hibernate. Txn boundry demaractions are done declartively, but for this specific case I am setting the txn propogation PROPOGATION_NEVER as I have to commit connection due to performance constraint. JNDI datasource is setup with no-txn-datasource.

I am getting java.sql.SQLException: You cannot commit with autocommit set! when I do commit on connection. 

Can anybody point me what I am doing wrong.

Thanks in Advance.
Vijay

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

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



More information about the jboss-user mailing list