In a transaction, if a part of the transaction fails, the ________ operation ensures the database reverts back to its previous state.
- COMMIT
- RELEASE
- ROLLBACK
- SAVEPOINT
The ROLLBACK operation ensures that if any part of a transaction fails, the database reverts back to its previous state, maintaining data consistency.
Loading...
Related Quiz
- The __________ method of AsyncContext is used to dispatch the request to another servlet.
- Which method is typically used for file uploads in a servlet?
- How can you handle a situation where a database connection is lost during a transaction?
- What is the difference between 'dirty read' and 'non-repeatable read' in the context of transaction isolation levels?
- Which of the following techniques is effective for reducing response time in servlets?