Answer Posted / Ansuman Singh
JDBC connection isolation levels determine how transactions interact with other concurrently executing transactions. There are four isolation levels in JDBC: TRANSACTION_READ_UNCOMMITTED (allowing dirty reads, non-repeatable reads, and phantom reads), TRANSACTION_READ_COMMITTED (preventing dirty reads but allowing non-repeatable reads and phantom reads), TRANSACTION_REPEATABLE_READ (prevention of both dirty reads and non-repeatable reads, but still allows phantom reads), and TRANSACTION_SERIALIZABLE (completely preventing all types of inconsistencies).
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers