February 2014
Beginner
1248 pages
62h 25m
English
• Transaction processing (p. 1098) enables a program that interacts with a database to treat a database operation (or set of operations) as a single operation—known as an atomic operation (p. 1099) or a transaction (p. 1099).
• At the end of a transaction, a decision can be made to either commit or roll back the transaction.
• Committing a transaction (p. 1099) finalizes the database operation(s)—inserts, updates and deletes cannot be reversed without performing a new database operation.
• Rolling back a transaction (p. 1099) leaves the database in its state prior to the database operation.
• Java provides transaction processing via methods of interface Connection.
• Method setAutoCommit (p. 1099) specifies ...
Read now
Unlock full access