Question - What is Transaction Management in Hibernate? How does it work?
Answer -
Transaction Management is a property which is present in the Spring framework. Now, what role does it play in Hibernate?
Transaction Management is a process of managing a set of commands or statements. In hibernate, Transaction Management is done by transaction interface. It maintains abstraction from the transaction implementation (JTA, JDBC). A transaction is associated with Session and is instantiated by calling session.beginTransaction().