JDBC Java Interview Questions – Set 03

What does setAutoCommit(false) do A JDBC connection is created in auto-commit mode by default. This means that each individual SQL statement is treated as a transaction and will be automatically committed as soon as it is executed. If you require two or more statements to be grouped into a transaction then you need to disable … Read more

JDBC Java Interview Questions – Set 02

What are stored procedures? How is it useful A stored procedure is a set of statements/commands which reside in the database. The stored procedure is pre-compiled and saves the database the effort of parsing and compiling sql statements every time a query is run. Each database has its own stored procedure language, usually a variant … Read more

JDBC Java Interview Questions – Set 01

What are available drivers in JDBC? JDBC is a set of Java API for executing SQL statements. This API consists of a set of classes and interfaces to enable programs to write pure Java Database applications. JDBC technology drivers fit into one of four categories: A JDBC-ODBC bridgeprovides JDBC API access via one or more ODBC … Read more

JDBC Java Interview Questions

JDBC Java Interview Questions – Set 03 JDBC Java Interview Questions – Set 02 JDBC Java Interview Questions – Set 01