Programming - Jdbc
You Are Here :: Home > JAVA > Generic Types - Jdbc
7.
The API provides a mechanism for dynamically loading the correct Java packages and registering them with the __________________ Driver Manager.
A.
JDBC-to-ODBC
B.
ODBC-to-JDBC
C.
JDBC
D.
ODBC
Answer: Option JDBC
Explanation:
The API provides a mechanism for dynamically loading the correct Java packages and registering them with the JDBC Driver Manager.
8.
The Driver Manager is used as a connection factory for creating ______________ connections.
A.
JDBC
B.
ODBC
C.
network
D.
Internet
Answer: Option JDBC
Explanation:
The Driver Manager is used as a connection factory for creating JDBC connections.
9.
The _______________ is sent to the database server each and every time.
A.
statement
B.
program
C.
variables
D.
data types
Answer: Option statement
Explanation:
The Statement is sent to the database server each and every time.
10.
the statement is cached and then the execution path is pre-determined on the database server allowing it to be executed multiple times in an efficient manner is called _______
A.
Statement
B.
Prepared Statement
C.
Compared Statement
D.
Executable Statement
Answer: Option Prepared Statement
Explanation:
the statement is cached and then the execution path is pre-determined on the database server allowing it to be executed multiple times in an efficient manner is called Prepared Statement.
11.
____________________ Statement is used for executing stored procedures on the database.
A.
Callable Statement
B.
Prepared Statement
C.
Compared Statement
D.
Executable Statement
Answer: Option Callable Statement
Explanation:
Callable Statement is used for executing stored procedures on the database.
12.
__________ connections are often managed via a connection pool rather than obtained directly from the driver.
A.
JDBC-to-ODBC
B.
ODBC-to-JDBC
C.
JDBC
D.
ODBC
Answer: Option JDBC
Explanation:
JDBC connections are often managed via a connection pool rather than obtained directly from the driver.
« prev
next »