Thursday, 6 September 2012

What statements are correct about JDBC transactions (2 correct answers)? | JDBC

A. A transaction is a set of successfully executed statements in the database
B. A transaction is finished when commit() or rollback()  is called on the Connection object,
C. A transaction is finished when commit() or rollback()  is called on the Transaction object
D. A transaction is finished when close() is called on the Connection object

Ans:   B,D

No comments: