adspace
What is the way to rollback transaction if something goes wrong using hibernate api?
Answer Posted / Anurag Chandola
To rollback a transaction in Hibernate, you should use the `Session.getTransaction().rollback()` method if something goes wrong during the execution of the operation.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers