Escolar Documentos
Profissional Documentos
Cultura Documentos
ContentMenu
JDBCInterviewQuestions
A list of frequently asked jdbc interview questions with answers
aregivenbelow.
1)WhatisJDBC?
JDBCisaJavaAPIthatisusedtoconnectandexecutequeryto
the database. JDBC API uses jdbc drivers to connects to the
database.
moredetails...
2)WhatisJDBCDriver?
JDBC Driver is a software component that enables java
application to interact with the database.There are 4 types of
JDBCdrivers:
1. JDBCODBCbridgedriver
2. NativeAPIdriver(partiallyjavadriver)
3. NetworkProtocoldriver(fullyjavadriver)
4. Thindriver(fullyjavadriver)
moredetails...
Registeringthedriverclass
Creatingconnection
Creatingstatement
Executingqueries
Closingconnection
moredetails...
4)WhataretheJDBCAPIcomponents?
http://www.javatpoint.com/jdbcinterviewquestions
1/5
7/18/2016
5)WhataretheJDBCstatements?
Thereare3JDBCstatements.
1. Statement
2. PreparedStatement
3. CallableStatement
7)Howcanweexecutestoredproceduresand
functions?
http://www.javatpoint.com/jdbcinterviewquestions
2/5
7/18/2016
9)WhatdoestheJDBCConnectioninterface?
The Connection interface maintains a session with the
database. It can be used for transaction management. It
provides factory methods that returns the instance of
Statement,
PreparedStatement,
CallableStatement
and
DatabaseMetaData.
moredetails...
10)WhatdoestheJDBCResultSetinterface?
TheResultSetobjectrepresentsarowofatable.Itcanbeused
to change the cursor pointer and get the information from the
database.
moredetails...
http://www.javatpoint.com/jdbcinterviewquestions
3/5
7/18/2016
Java
Basics
InterviewQuestions
Java
Multithreading
InterviewQuestions
Java
Collection
http://www.javatpoint.com/jdbcinterviewquestions
Interview
4/5
7/18/2016
InterviewQuestions
Servlet
Interview
Questions
Spring
Interview
Interview
Hibernate
Interview
Questions
Interview
Questions
Oracle
JSP
Questions
Questions
PL/SQL
Questions
SQL
Interview
Questions
Interview
Questions
SQL Server Interview
Questions
http://www.javatpoint.com/jdbcinterviewquestions
Android
Interview
Questions
MySQL
Interview
Questions
5/5