Search Interview Questions
| 3187 questions in repository.|
There are more than 200 unanswered questions.
Click here and help us by providing the answer.
Have a video suggestion.
Click Correct / Improve and please let us know.
|Database - Interview Questions and Answers for 'Caprus it' - 1 question(s) found - Order By Newest|
|Ans. The JDBC is a pure Java API used to execute SQL statements. It provides a set of classes and interfaces that can be used by developers to write database applications.|
The steps needed to execute a SQL query using JDBC:
1. Open a connection to the database.
2. Execute a SQL statement.
3. Process th results.
4. Close the connection to the database.
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve java jdbc db connectivity Nucleus Software Exports Caprus IT basic   frequent|
|What is connection pooling?|
|Difference between JDBC and Hibernate ?|
|Which interface is responsible for transaction management in JDBC ?|
|What are the methods to connect to database in Java ?|
|Do you like Native SQL Apis like JDBC or JPA / Hibernate ?|
|which one do you prefer - JDBC or Hibernate ?|
|What is the difference between JDBC, Hibernate and ODBC ?|
|What is difference between Spring jdbc template and Hibernate ?|