
Advantage of Transaction Managementįast performance It makes the performance fast because database is hit at the time of commit. Isolation: Isolation means, if two transaction are going on same data then one transaction will not disturb another transaction.ĭurability: Durability means, after a transaction is completed the data in the data store will be permanent until another transaction is going to be performed on that data. Properties of Transaction managementsĮvery transaction follows some transaction properties these are called ACID properties.Ītomicity: Atomicity of a transaction is nothing but in a transaction either all operations can be done or all operation can be undone, but some operations are done and some operation are undone should not occure.Ĭonsistency: Consistency means, after a transaction completed with successful, the data in the datastore should be a reliable data this reliable data is also called as consistent data. In the middle, if any one operation is failed then all operation are canceled and finally a transaction is failed. If all the above four operations are done successfully then a transaction is finished successfully.

#Transaction management java movie#
Suppose a movie ticket booking at online is a transaction. If any one operation in the group is failed then the task is failed and the transaction is failed. A transaction is a group of operation used to performed one task if all operations in the group are success then the task is finished and the transaction is successfully completed.
