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 jdbc drivers in java?
What are different types of JDBC Drivers?
What is odbc jdbc?
Is jdbc a framework?
Does jdbctemplate close connection?
What are the common jdbc exceptions?
How can I use the JDBC API to access a desktop database like Microsoft Access over the network?
What is jdbc oracle thin?
How many ways that we can view a result set?
I have the choice of manipulating database data using a byte[] or a java.sql.blob. Which has best performance?
What is jdbc vs odbc?
Why do we use jdbc in java?
What is the return type of execute, executequery and executeupdate?
Which is best database for java?
What is the purpose of the jdbc resultset interface?