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 are the jdbc statements?
What is the feature of jdbc v4?
How many types of jdbc drivers are there?
If you are truncated using JDBC, how can you that how much data is truncated?
What is jdbc explain?
What class.forname will do while loading drivers of jdbc?
What does adapter class provide?
What is the role of jdbc drivermanager class?
What is the benefit of having jdbcrowset implementation?
What are the measures to connect to the db using jdbc?
How can we execute stored procedures?
What does executeupdate return in jdbc?
What is the major difference between java.util.date and java.sql.date data type?
What do you understand by jdbc datasource?
List the advantages of using datasource?