Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Weird rollback behavior in Hibernate

Jessie Hui Hkpo
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The update actually should be rollback in the transaction, however, it is commit in another transaction. Then I add a select after the update, and rollback the transaction, this time it is really rollback!! What going on? Please help! I am using Oracle.

Below capture the system flow (In the same session):

Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!