What is JDBC Connection isolation levels?
Answer / 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 |
What is the query used to display all tables names in SQL Server (Query analyzer)?
When do we use execute method in java jdbc?
What is the use of getGeneratedKeys() method in Statement?
What is database deadlock ? How can we avoid them?
What is the purpose of the jdbc resultset interface?
How can we store the file in the oracle database?
what does batchUpdate does?
How does JDBC differ from ODBC?
why we don't use the type 2 driver for connect to the database in jdbc?
What are the Normalization Rules?
how do we get the connection from connection pool
What class.forname will do while loading drivers of jdbc?