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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to