This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

hibernate.transaction.JDBCTransaction - Could not toggle autocommit

 
Naresh Shanmugam
Ranch Hand
Posts: 86
  • 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
  • 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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic