Providing Intelligent Transaction based on application needs
solidDB® Intelligent Transaction is an extension to the traditional transaction model. It allows developers to implement transactions that are capable of validating themselves in the current database and adapting their contents (if required) according to the rules of the transaction.
Users create transactions in replica databases. These transactions are tentative since they have yet to be committed to the master database, which contains the “official” version of data. The replica transactions are saved for later propagation to the master database. In this model, transactions are long-lived and there can be multiple instances of a data item in different databases of the system.
When a replica transaction is propagated to the master database, transaction validation errors such as update conflicts may occur. Transactions must respond in such a way that meets the business rules required for the application. This is the best way for ensuring database consistency and reliability.
Developers need to evaluate the business rules required and build transactions based on advanced replication’s easy-to-use model. See Designing and implementing Intelligent Transactions for details on creating transactions with solidDB® Intelligent Transaction.