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 does the connection object represents?
What is thin driver in jdbc?
What are the different types of interfaces in the api component?
How to achieve JDBC Connection Pooling using JDBC DataSource and JNDI in Apache Tomcat Server?
Why do we need jdbc?
What does the jdbc resultset interface?
How many jdbc driver types are there?
What are types of resultset?
What is jdbc thin client?
How to connect multiple database in jdbc?
What is an SQL Locator?
What is connection pooling and why it is used?
How a database driver can be loaded with jdbc 4.0 / java 6?
What is a jdbc connection?
How to use JDBC API to call Stored Procedures?