Which of the following are JDBC drivers?a)Network Protocol driverb)JDBC-ODBC bridge driverc)All of the mentionedd)Native-API drivere)Thin driver
Question
Which of the following are JDBC drivers?
a) Network Protocol driver
b) JDBC-ODBC bridge driver
c) All of the mentioned
d) Native-API driver
e) Thin driver
Solution
All of the options mentioned are types of JDBC (Java Database Connectivity) drivers. Here's a brief explanation of each:
a) Network Protocol driver: This driver uses a server-based, net-protocol to communicate with the database. The client system requires a network protocol driver to communicate with the server.
b) JDBC-ODBC bridge driver: This driver uses ODBC (Open Database Connectivity) driver to connect to the database. The ODBC driver needs to be installed on the client machine.
c) Native-API driver: This driver uses the client-side libraries of the database. The driver converts JDBC method calls into native calls of the database API.
d) Thin driver: This is a pure Java driver that communicates directly with the vendor's database. It does not require any native library.
So, the answer is c) All of the mentioned.
Similar Questions
Which of the following are components of JDBC?a)JDBC-ODBC Bridge Driversb)JDBC Driver managerc)JDBC APId)All of the mentionede)JDBC Test suite
Which of the following are classes of JDBC API?a)All of the mentionedb)Blob classc)Types classd)DriverManager classe)Clob class
What method is used to load a JDBC driver?*1 pointforName()loadDriver()executeDriver()setDriver()
_____ consists of a set of interfaces and classes written in the Java programming language.a)JDBC APIb)Embedded SQLc)JDBC Architectured)Connection Pools
Which package in Java provides the necessary classes and interfaces for JDBC?Question 5Answera.java.sqlb.java.dbc.javax.jdbcd.jdbc.connection
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.