• SQL Tutorial
  • Struts
  • RubyonRails
  • Spring
  • Java IO
  • Core Java
  • jQuery
  • PHP
  • JavaScript

  • <

    Hibernate Transaction


    A Transaction is a sequence of operation which works as an atomic unit. A transaction only completes if all the operations completed successfully. A transaction has the Atomicity, Consistency, Isolation, and Durability properties (ACID).

    Hibernate transaction properties:


  • Atomicity: Is defined as either all operations can be done or all operation can be undone

  • Consistency: After a transaction is completed successfully, the data in the datastore should be a reliable data. This reliable data is also called as consistent data

  • Isolation: If two transactions are going on the same data then one transaction will not disturb the other transaction

  • Durability: After a transaction is completed, the data in the datastore will be permanent until another transaction is going to be performed on that data

















  • © copyright 2017-2021 Completedone pvt ltd.