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 factors that the jdbc driver performance depends upon?

536


How to know howmuch data is truncated?

1926


Write a program JDBCcode forfetching student database with SQL.

595


What is jdbc connection string?

520


Expalin the method of calling a stored procedure from jdbc.

558






Why hibernate is better than jdbc?

510


What is jdbc connection interface?

529


Are all the required JDBC drivers to establish connectivity to my database part of the JDK?

540


Explain the importance of drivermanager.

725


Does jdbctemplate use prepared statements?

525


Give a way to check that all result sets have bin accessed and update counts are generated by execute method.

488


How can I create a custom RowSetMetaData object from scratch?

557


Explain the difference between rowset vs. Resultset in jdbc?

597


What is the advantage of namedparameterjdbctemplate?

520


How to get the Database server details in java program?

592