Advertisement



< Prev
Next >



Transaction Management



Transaction Management is to manage the transaction operations while maintaining the consistency and integrity of data within the database. A few examples of transaction management involve managing database transaction operations such as -

Transaction Management can be simply explained by performing the next few steps -






Basic elements of a transaction


Every transaction has properties that allow us to configure it within our application. Before we understand ways to manage transaction operations using Spring Framework, we should understand the important properties associated with each transaction. Some of the transaction properties are - propagation, isolation, read-only, roll back for exception, timeout .


Using the rollback-for property of transaction, we can specify a single or multiple exception classes. When any of these exceptions is thrown, the associated transaction is going to rolled back(without affecting the database consistency and integrity).





Ways to perform transaction management


There are two ways to perform transaction management -

Please Subscribe

Please subscribe to our social media channels for daily updates.


Decodejava Facebook Page  DecodeJava Twitter Page Decodejava Google+ Page




Advertisement



Notifications



Please check our latest addition

PYTHON and DJANGO


Advertisement