Difference between JDBC and HIBERNATE?

JDBC is a persistence technology
 Hibernate is a persistence Framework.
In JDBC developer is responsible to taking and closing the connection and also write the SQL statement.
In Hibernate HRS(Hibernate Runtime System) is responsible for taking the connections,creating the statement and releasing the connections.

JDBC does not have any ORM tool.
Hibernate have ORM (Object relational Mapping) tools which simplifies all the works(like caching mechanism,   supports Object Oriented Query Language etc.  ). that why Hibernate is the King of among all  persistence Framework.
we can set more than one Isolation Level in JDBC
In hibernate only one isolation level.

JDBC doesn't support distributed transaction
Hibernate support distributed transaction with CME(Container Mananged Environment) i.e with Spring Container and EJB container.
JDBC does not support any type of mapping
Hibernate Support various mapping styles(like simple mapping,collection mapping,inheritance mapping,association mapping and other mappings), optimization facility (like dirty checking,lazy associating fetching etc.),locking mechanism(optimestic and pesimistic lock) and also provide facility to express joins.


  1. Replies
    1. Thank you for sharing such a great article. It is much helpful to understand the concept of JDBC and Hibernate.

      Java Training in Chennai
      Java Course in Chennai

  2. The difference between jdbc and the hibernate are explained well my sincere thanks for sharing this post Please Continue to share this post
    Java Training in Chennai

    1. Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a .Net developer learn from Dot Net Training in Chennai. or learn thru ASP.NET Essential Training Online . Nowadays Dot Net has tons of job opportunities on various vertical industry.

  3. nice blog has been shared by you. before i read this blog i didn't have any knowledge about this but now i got some knowledge. so keep on sharing such kind of an interesting blog.
    java training in chennai

  4. Hi, I am a big follower of your blog. Really very informative post you shared here. Keep sharing this type of informative blog. Waiting for your next update. If anyone wants to become a Java professional learn Java Training in Bangalore. Nowadays Java has tons of job opportunities for all professionals.

  5. Your information about Java is useful for me to know more technical information. If it in terms of Job opportunities, again Java outscore everyone

    Core Java Online Training

  6. You have post an very informative blog. Its really useful to me. thanks for share your blog for our vision. Web Designing Training in Chennai | Software Testing Training in Chennai

  7. Thanks for posting this informative article with smart and cute content..keep updating..
    Mat Lab Training Center in Chennai | Mat Lab Project Center in Velachery

  8. • Nice and good article. It is very useful for me to learn and understand easily. Thanks for sharing your valuable information and time. Please keep updating. Power Bi Online course hyderabad

  9. Thanks for sharing your informative blog with us.. keep updating such an wonderful post.
    Cloud Computing Project Center in Chennai | Cloud Computing Project Center in Velachery

  10. Interesting post! This is really helpful for me. I like it! Thanks for sharing!
    Mobile application developers in Chennai | PHP developers Chennai

  11. Thanks for sharing this niche useful informative post to our knowledge.
    brochure designers in chennai | brochure design company in chennai

  12. I think this is the best article today. Thanks for taking your own time to discuss this topic, I feel happy about that curiosity has increased to learn more about this topic. Keep sharing your information regularly for my future reference.
    Java Courses in chennai

  13. thanks for this excellent article! Just the scripts I've been looking for. a quick question:
    how did you create those beautiful charts/graph in your post? many thanks!!!

    Java training in Chennai | Java training institute in Chennai | Java course in Chennai