What does the executeUpdate() method return in JDBC?
Which interface is used to execute precompiled SQL statements in JDBC?
What is the primary advantage of using PreparedStatement over Statement?
Which method must be called to move cursor to the next row in ResultSet?
What is Connection pooling in JDBC?
Advertisement
Which DriverManager method is used to establish a database connection?
What does the setAutoCommit(false) method do in JDBC?
Which of the following is the correct way to close JDBC resources to prevent resource leaks?
What does the PreparedStatement interface provide that Statement does not?
Which exception is thrown when a database operation violates a unique constraint in JDBC?
What is the correct way to use try-with-resources for JDBC operations?
Which method is used to retrieve metadata about the database in JDBC?
In JDBC, what does the ResultSet.absolute(5) method do?
Which JDBC feature allows multiple SQL statements to be sent to the database in a single round trip?
In JDBC, which concurrency type allows modifications to the ResultSet?
Which JDBC method allows you to retrieve column information such as column name, type, and size?
Which JDBC method is used to retrieve metadata information about the database?
In a JDBC batch operation, what does executeBatch() return?
What is the difference between ResultSet.TYPE_SCROLL_INSENSITIVE and ResultSet.TYPE_SCROLL_SENSITIVE?
Which JDBC method is used to set an input parameter in a PreparedStatement?