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

Explain about DSN?

553


How data can be inserted into long row column of database?

1716


How we can you use preparedstatement.

567


What is phantom read and which isolation level prevents it?

509


Is jdbc open source?

470






What is JDBC Batch Processing and what are it’s benefits?

519


What is SQL Warning? How to retrieve SQL warnings in the JDBC program?

558


How to get the Database server details in java program?

592


Differentiate between a statement and a preparedstatement.

509


How to make updates to updatable result sets in jdbc?

503


How do we call a stored procedure from jdbc?

569


Which interface is responsible for transaction management in jdbc?

473


What is thin driver in jdbc?

517


Is jdbc faster than hibernate?

584


What does adapter class provide?

535