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 is jdbc needed?

517


What are the differences between execute, executequery, and executeupdate?

493


How to insert an image or raw data into database?

558


How do I stop nullpointerexception?

519


How do I find ojdbc jar version?

502






What is JDBC Connection isolation levels?

551


Does sql allow null values ?

553


Prepared statements are faster. Why?

617


What is preparedstatement in jdbc?

520


What is the difference between jdbc and odbc?

532


Where is mysql jdbc driver located?

529


What do you mean by odbc?

553


What is phantom read and which isolation level prevents it?

507


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

1712


What is jdbc type?

517