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 executeupdate in java?
How do we load the drivers?
Is jdbc object oriented?
What are the functions of the jdbc connection interface?
Why do you use a data source object for a connection?
What is the significance of DataBaseMetaData.tableIndexStatistics? How to obtain and use it?
What is jdbc and its types?
Name different methods for getting streams.
How can we execute stored procedures using callablestatement?
What is odbc and jdbc drivers?
What are JDBC Best Practices?
How to get the Database server details in java program?
What are the 4 types of jdbc drivers?
How to rollback a JDBC transaction?
How we can you use preparedstatement.