Difference between JDBC and Hibernate?
Give one sample based on the variance?

Answer Posted / mkj

1. hibernate is ORM wich maps POJO using xml
file to access and create data form hatro database.
but in jdbc developers has to write code to map
object model data to rdbms and it access.

2. jdbc using SQL to access database developer has to
effective way to access the database.but hibernate
provides HQL wich powerful and includes all feature
of SQL and supports ploymorphic query.
3. Hibernate data transaction is fast due to work is
perform due container mean its xml file mostly but
JDBC has slow transaction.

Is This Answer Correct ?    45 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does the connection object represents?

559


What is thin driver in jdbc?

510


What are the different types of interfaces in the api component?

518


How to achieve JDBC Connection Pooling using JDBC DataSource and JNDI in Apache Tomcat Server?

530


Why do we need jdbc?

578






What does the jdbc resultset interface?

530


How many jdbc driver types are there?

479


What are types of resultset?

558


What is jdbc thin client?

503


How to connect multiple database in jdbc?

490


What is an SQL Locator?

588


What is connection pooling and why it is used?

525


How a database driver can be loaded with jdbc 4.0 / java 6?

491


What is a jdbc connection?

471


How to use JDBC API to call Stored Procedures?

549