File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

hibernate.transaction.JDBCTransaction - Could not toggle autocommit

 
Naresh Shanmugam
Ranch Hand
Posts: 86
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1682
7
Android IntelliJ IDE Linux Mac OS X Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please post your hibernate configuration including any hibernate properties you are setting. Also is your datasource defined in a container? Are you using JTA?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic