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
Write an sql to find all records having all numeric characters in a field ?
What are the steps to connect to a database in java?
What are the advantages of using jdbc datasource?
What is the use of the statement in jdbc?
Explain what should be done when a SQL exception is raised?
Explain how data flows from view to db and reverse
What is jdbc url for mysql?
What are the advantages of collection pools?
password, is stored in as plain text. What can I do to protect my passwords?
Why do we use jdbc?
What is java soft framework?
How do I connect to jdbc?
What is getconnection method in java?
any one can explain about policy file rule? when i connect database with applet then ther is no compile time error but the run time error is occureed.i.e access is denied.policy file rule is related to this problem.
What is jdbc and jpa?