JDBC commit failed
843859Aug 5 2009 — edited Nov 20 2014Hi,
I am using Oracle10G and hibernate3.0 configured with the application.Once I commit the transaction explicitly by transaction.commit() I get:
org.hibernate.TransactionException: JDBC commit failed
at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:130)
[JDBCTransaction.java:124]ERROR <JDBC commit failed>
java.sql.SQLException: You cannot commit with autocommit set!
Autocommit is set as off in both oracle as well as the hibernate configuration.The application works fine when configured with SQL 2000 database.If anyone knows the solution please help me.
Thanks in anticipation.