Difference between JDBC and Hibernate?
Give one sample based on the variance?
Answer Posted / sugunakarareddy
Hibernate is object relational mapping. which maps the pojos
using xml fiels. to access and create data from hetro
database. in jdbc we will a code for mapping to object model
data to relational database. access data.
jdbc support to sql only but in hibernate have hql is there.
all sql features are support to hql. but hql support
polymohisam query.
hibernate transaction performance is very fast compare jdbc
transcation.
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
Why jdbc is used in java?
Why do we need jdbc?
What are the advantages of using preparedstatement over statement?
What is meant by connection string?
What is the difference between client and server database cursors?
What are devices?
What is the difference between setmaxrows(int) and setfetchsize(int)?
What are the main steps in java to make JDBC connectivity?
What are the differences between statement and preparedstatement interface?
What is the return type of execute, executequery and executeupdate?
What happens if we don't close the connection in jdbc?
What are the advantages of collection pools?
What are the differences between stored procedure and functions?
How do I insert an image file (or other raw data) into a database?
Are all the required JDBC drivers to establish connectivity to my database part of the JDK?