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
Explain about DSN?
How data can be inserted into long row column of database?
How we can you use preparedstatement.
What is phantom read and which isolation level prevents it?
Is jdbc open source?
What is JDBC Batch Processing and what are it’s benefits?
What is SQL Warning? How to retrieve SQL warnings in the JDBC program?
How to get the Database server details in java program?
Differentiate between a statement and a preparedstatement.
How to make updates to updatable result sets in jdbc?
How do we call a stored procedure from jdbc?
Which interface is responsible for transaction management in jdbc?
What is thin driver in jdbc?
Is jdbc faster than hibernate?
What does adapter class provide?