Ques 1 :
If your Java application is accessing multiple types of databases at the same time, which type of driver is the preferred driver.
Ques 2 :
Which method is used to find the number of column in ResultSet?
Ques 3 :
How many types of Statement in JDBC
Ques 4 :
JDBC-ODBC Bridge is platform independent driver.
Ques 5 :
Which of the following is false regarding the Type 3 JDBC driver
(A) A Type 3 driver is a JDBC-Net pure Java driver
(B) This translates JDBC calls into a database -dependent net protocol.
(C) Vendors of database middleware products can implement this type of driver into their products to provide interoperability with the greatest number of database servers.
Ques 6 :
How many JDBC driver types does Sun define?
Ques 7 :
Which type of JDBC driver is the fastest one?
(A) Type 4
(B) Type 3
(C) Type 2
(D) Type 1
Ques 8 :
Which JDBC driver Type(s) can be used in either applet or servlet code?
(A) Both Type 1 and Type 2
(B) Both Type 3 and Type 4
(C) Both Type 1 and Type 3
(D) Type 4 only
Ques 9 :
Which of the following methods are needed for loading a database driver in JDBC?
(A) registerDriver() method
(C) Both A and B
Ques 10 :
Which of the following statement is false regarding the use of setAutoCommit() in JDBC
(A) When a connection is created, it is in auto-commit mode.
(B) If the value is true each individual SQL statement is treated as a transaction and will be automatically committed right after it is executed.
(C) once auto-commit mode is disabled, no SQL statements will be committed until you call the method commit explicitly
(D) By default the JDBC call is in auto-commit mode.
Ques 11 :
How many different types of resultset in JDBC?
Ques 12 :
Type-2 driver called-
(A) Native-protocol, pure Java driver
(B) JDBC-Net, pure Java driver
(C) Native-API, partly Java driver
(D) JDBC-ODBC Bridge plus ODBC driver
Ques 13 :
Which of the following is true regarding not finding the java.sql.DriverManager class.
(A) This problem can be caused by running a JDBC applet in a browser that supports the JDK 1.0.2, such as Netscape Navigator 3.0. The JDK 1.0.2 does not contain the JDBC API, so the DriverManager class typically isn't found by the Java virtual machine running
(B) Most of the browsers cannot download java.* because of security reasons. Hence many vendors of all-Java JDBC drivers supply versions of the java.sql.* classes that have been renamed to jdbc.sql.*, along with a version of their driver that uses these modify
(C) Add import jdbc.sql.* in your applet code instead of java.sql.*, and add the jdbc.sql.* classes provided by your JDBC driver vendor to your applet's codebase, then all of the JDBC classes needed by the applet can be downloaded by the browser at run time,
(D) All of the above
Ques 14 :
State true or false . Does the JDBC-ODBC Bridge support multiple concurrent open statements per connection?
Ques 15 :
The JDBC-ODBC Bridge supports multiple concurrent open statements per connection?
Ques 16 :
What MySQL property is used to create a surrogate key in MySQL?
(D) None of the above -- Surrogate keys are not implemented in MySQL.
Ques 17 :
Is the JDBC-ODBC Bridge multi-threaded?
Ques 18 :
Which JDBC driver Type(s) is(are) the JDBC-ODBC bridge?
(A) Type 1
(B) Type 2
(C) Type 3
(D) Type 4
Ques 19 :
Which of the following allows non repeatable read in JDBC Connection?
Ques 20 :
State true or false Can we retrieve a whole row of data at once, instead of calling an individual ResultSet.getXXX method for each column ?
Don't Refresh the Page !! ...