Which of the following statement is false regarding the exceptions in JDBC

A) SQLWarning objects are a subclass of SQLException that deal with database access warnings
B) Warnings stop the execution of an application, as exceptions do; they simply alert the user that something did not happen as planned
C) Connection object has a getWarning() method in it.
D) Statement and ResultSet objects have getWarning() methods in it.
Explanation: warning does not stop the execution of the program.

Showing Answers 1 - 2 of 2 Answers

Basavaraja.P.A

  • Dec 20th, 2005
 

B].Warnings don't stop the execution of an application

  Was this answer useful?  Yes

anjudony

  • Apr 5th, 2006
 

No. The JDBC-ODBC Bridge does not support concurrent access from different threads. 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. In addition, deadlocks can occur between locks held in the database and the semaphore used by the Bridge. We are thinking about removing the synchronized methods in the future. They were added originally to make things simple for folks writing Java programs that use a single-threaded ODBC driver.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions