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 are the flow statements of jdbc?

522


How many rowset are available in jdbc?

663


The new features of the JDBC 2.0 API, will be supported for JDBC-ODBC Bridge?

1664


State the different connection methods used for creating different types of sql.

500


What is metadata in java programming?

491






What are jdbc and its components?

576


I have the choice of manipulating database data using a byte[] or a java.sql.blob. Which has best performance?

483


Is java a database?

497


How can we retrieve the file in the oracle database?

512


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

544


What is meant by jdbc and odbc?

485


How will you perform truncation using JDBC?

575


What are the new features available in jdbc 4.0?

531


Why do we need jdbc driver?

476


Which type of JDBC driver is the fastest one?

572