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
What is the difference between ojdbc6 and ojdbc7?
How can I retrieve a String or other object type without creating a new object each time?
What is the purpose of the jdbc resultset interface?
Where is jdbc used?
What is data source in java?
Which jdbc drivers will run your program?
What is jdbc odbc connection?
Explain in detail about JDBC and its general features?
Why do we need jdbc api?
What are the classes and methods used for sending sql statements to database?
How can you know about drivers and database information ?
What is url in jdbc connection?
What packages are used by jdbc?
What is meant by dao?
What is layer in communication?