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

Answer Posted / sugunakarareddy

Hibernate is object relational mapping. which maps the pojos
using xml fiels. to access and create data from hetro
database. in jdbc we will a code for mapping to object model
data to relational database. access data.

jdbc support to sql only but in hibernate have hql is there.
all sql features are support to hql. but hql support
polymohisam query.

hibernate transaction performance is very fast compare jdbc
transcation.

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we use jdbc in java?

550


What are the 4 types of jdbc drivers?

515


What packages are used by jdbc?

509


What is the meaning of connection?

533


What is the feature of jdbc v4?

489






What are the common tasks of JDBC?

570


How can we execute stored procedures using callablestatement?

475


What is the purpose of jdbc?

589


Why resultset is used in java?

508


What is JDBC Statement?

569


Is jdbc a middleware?

510


What does setautocommit do?

562


What is xe in oracle jdbc url?

546


What does jdbc do?

531


Explain jdbc savepoint?

567