GeeCON Prague 2014*
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » Object Relational Mapping
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: 84
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: 1650
    
    7

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]
 
GeeCON Prague 2014
 
subject: hibernate.transaction.JDBCTransaction - Could not toggle autocommit