A transaction in a financial application requires updating multiple accounts. If one update fails, what should happen to ensure data consistency?
- Commit the successful updates
- Ignore the failed update and proceed
- Log the failure and retry the update
- Rollback the entire transaction
In a financial application, to ensure data consistency, it's crucial to rollback the entire transaction if any update within it fails. This helps maintain the integrity of the financial data.
Loading...
Related Quiz
- Which load balancing algorithm distributes requests based on the server with the least connections?
- Which component is responsible for managing security in a Java EE environment?
- How does a filter modify the response of a servlet or JSP in the filter chain?
- _________ scaling involves adding more resources to the existing servers.
- In HTTP servlets, which method is commonly used for handling form submissions?