-
Which of the following allows phantom read in JDBC, connection class?
A) TRANSACTION_READ_UNCOMMITTEDB) TRANSACTION_READ_ COMMITTEDC) TRANSACTION_SERIALIZABLED) TRANSACTION_REPEATABLE_READ.Explanation: A phantom read is where one transaction reads all rows that satisfy a WHERE condition, a second transaction inserts a row that satisfies that WHERE condition, and the first transaction re-reads for the same condition, retrieving the additional 'phantom' row in the second...
-
-
Which Driver is preferable for using JDBC API in Applets.
A) Type - 1B) Type - 2C) Type - 3D) Type � 4
-
State true or false.Is the JDBC-ODBC bridge multithreaded ?
A) TrueB) FalseExplanation: The JDBC-ODBC Bridge uses synchronized methods to serialize all of the calls that it makes to ODBC. Multi-threaded Java programs may use the Bridge, but they won't get the advantages of multi-threading
-
Which of the following statements is true regarding the failing of the class.forName in jdk 1.1.x.
A) A workaround is to explicitly call the method DriverManager.registerDriver(new YourDriverClass).B) The problem is due to race condition in the class loader.C) The race condition prevents the static section of code in the driver class from executing and registering the driver with the DriverManager.D) All the above.