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

What does jdbc stand for?

657


What are the differences between statement and preparedstatement interface?

710


Explain how to make updates to the updatable resultsets.

680


What is database connection pooling? Advantages of using a connection pool?

776


What is jdbc in dbms?

689


What does executeupdate return in jdbc?

680


What is new in JDBC 2.0?

734


Why should we close database connections in java?

881


Which interface is responsible for transaction management in jdbc?

616


What do you understand by DDL and DML statements?

681


Expalin the method of calling a stored procedure from jdbc.

725


How MS-Access DB can be accessed over a network, using JDBC API?

2174


What are the functions of the jdbc connection interface?

685


How to check jdbc connection in linux?

680


Explain about DSN?

717