Question 1 of 25
Hints left: 3
Q1
Which of the following is a valid way to handle exceptions in JDBC?
Q2
In JDBC, what is a database connection pool?
Q3
Which of the following is NOT a valid JDBC driver type?
Q4
Which design pattern works on data and action taken based on data provided?
Q5
Which of the following is NOT a valid method to close a JDBC `Connection`?
Q6
What is the primary role of a JDBC `DataSource`?
Q7
What is the primary role of the JDBC `ConnectionPoolDataSource` interface?
Q8
Which of the following is NOT a valid method to execute an SQL query in JDBC?
Q9
What is the purpose of the JDBC `PreparedStatement` interface?
Q10
What is the primary purpose of the JDBC `RowSet` interface?
Q11
Which of the following is used to limit the number of rows returned?
Q12
How to specify autowiring by name?
Q13
Which SQL statement is used to insert data into a database table in JDBC?
Q14
In JDBC, what is the purpose of the `java.sql.SQLException` class?
Q15
Which of the following statements is true about JDBC `ResultSetMetaData`?
Q16
In JDBC, what is the purpose of the `ResultSet` interface?
Q17
Java Beans are extremely secured?
Q18
What is the purpose of the JDBC `CallableStatement` interface?
Q19
In JDBC, what is the primary purpose of the `Driver` interface?
Q20
Which of the following is a valid method to retrieve data from a JDBC `ResultSet`?
Q21
In JDBC, what is the purpose of the `java.sql.SQLWarning` class?
Q22
What is the purpose of the JDBC `Batch` processing feature?
Q23
What is the role of the JDBC `Statement` interface?
Q24
What is the role of the `java.sql.DriverManager` class in JDBC?
Q25
Which of the following statements is true about JDBC transactions?