-
Which of the following is false regarding the Type 3 JDBC driver
A) A Type 3 driver is a JDBC-Net pure Java driverB) 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.D) a,b aboveExplanation: The JDBC calls are translated into a database-independent net protocol.
-
Which of the statement below does not correctly defines the difference between JDBC and ODBC ?
A) ODBC can be directly used with Java because it uses a C interfaceB) ODBC makes uses of pointers which has been totally removed from JAVAC) ODBC is from Microsoft while JDBC is from java applicationsD) ODBC requires manual installation of the ODBC driver manager and driver on all client machines. While for JDBC driver are written in Java and JDBC code is automatically installable, secure and portable...
-
-
-
How can you make the connection?
In establishing a connection is to have the appropriate driver connect to the DBMS. The following line of code illustrates the general idea:E.g.String url = "jdbc:odbc:Fred";Connection con = DriverManager.getConnection(url, "Fernanda", "J8");
-
-
-
-
-
Fill in the blanks :- Which method is static synchronized in JDBC API _________
A) getConnection()Explanation: getConnection() method in DriverManager class.Which is used to get object of Connection interface.
-
-
-
-
-
-
Which of the following is false for the Type 1 JDBC bridge driver?
A) A Type 1 driver is a JDBC-ODBC bridge driverB) This type of driver enables a client to connect to an ODBC database via Java calls and JDBCC) Both the database and middle tier need to be Java compliant.D) ODBC binary code must be installed on each client machine that uses this driver.Explanation: Neither the database nor the middle tier needs to be java compliant.
-
-
-
How many JDBC drivers are there ?
A) 2B) 4C) 3D) 1
-
What is a transaction
Answered by anoop shukla on 2005-05-02 10:33:27: transaction is collection of logical operation that perform a task
JDBC Interview Questions
Ans