aspose file tools
The moose likes Object Relational Mapping and the fly likes hibernate.transaction.JDBCTransaction - Could not toggle autocommit Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Reply Bookmark "hibernate.transaction.JDBCTransaction - Could not toggle autocommit" Watch "hibernate.transaction.JDBCTransaction - Could not toggle autocommit" New topic
Author

hibernate.transaction.JDBCTransaction - Could not toggle autocommit

Naresh Shanmugam
Ranch Hand

Joined: Jul 16, 2010
Posts: 82
I am getting the following exception, from the following code, the exception is at line 12(com.project.findList(BaseHibernateDAO.java:97)), "tx.rollback()"

has anyone faced this exception before or any idea how to overcome this
Bill Gorder
Bartender

Joined: Mar 07, 2010
Posts: 1282

Please post your hibernate configuration including any hibernate properties you are setting. Also is your datasource defined in a container? Are you using JTA?


[How To Ask Questions][Read before you PM me]
 
I agree. Here's the link: jrebel
 
subject: hibernate.transaction.JDBCTransaction - Could not toggle autocommit
 
Similar Threads
struts 2 with hibernate insertion exception
Oracle order of insertion
Hibernate Clob
Current transaction is not in progress
Unable to delete