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

Answer Posted / mkj

1. hibernate is ORM wich maps POJO using xml
file to access and create data form hatro database.
but in jdbc developers has to write code to map
object model data to rdbms and it access.

2. jdbc using SQL to access database developer has to
effective way to access the database.but hibernate
provides HQL wich powerful and includes all feature
of SQL and supports ploymorphic query.
3. Hibernate data transaction is fast due to work is
perform due container mean its xml file mostly but
JDBC has slow transaction.

Is This Answer Correct ?    45 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is JDBC PreparedStatement?

683


What is jdbc vs odbc?

691


Name different methods for getting streams.

712


How to set the attribute concurrency in resultset?

675


Where is jdbc url mysql?

662






What is sqlwarning and discuss the procedure of retrieving warnings?

716


Does the database server have to be running Java or have Java support in order for my remote JDBC client app to access the database?

694


What is the difference between jdbc and odbc?

697


Explain some new features available in jdbc 4.0?

760


What is an advantage of using the jdbc connection pool?

638


Where is ojdbc14 jar located?

681


Which of the attributes in the monitoring tab for a jdbc connection pool in the administrative console tell us how many clients are currently waiting for a connection?

687


What is the purpose of the jdbc resultset interface?

672


What do you understand by jdbc driver and explain its types?

672


What is an encrypted internet connection?

662