• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Hibernate - Basics

 
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I started learning Hibernate, but I didn't understand why hibernate?
I have gone through so many tutorials over net, but I am not satified with anyone of the answers.

1) Just please help in understanding why hibernate with some basic examples which we cant do using JDBC
2) Before hiberante how are we achieving ORM.
3) whats the problem with normal JDBC/SQL.
4) What are the other tools/applications which are similar to hibernate

Thanks & Regards,
Ravi.
 
Ranch Hand
Posts: 200
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Chinna Ravindra wrote:Hi All,

I started learning Hibernate, but I didn't understand why hibernate?
I have gone through so many tutorials over net, but I am not satified with anyone of the answers.

1) Just please help in understanding why hibernate with some basic examples which we cant do using JDBC
2) Before hiberante how are we achieving ORM.
3) whats the problem with normal JDBC/SQL.
4) What are the other tools/applications which are similar to hibernate

Thanks & Regards,
Ravi.



1) Hibernate generates JDBC-statements, so there isn't anything Hibernate can do, you couldn't do with JDBC by yourself.
3) JDBC doesn't feel that much object-oriented. Code is (or might be) ugly to maintain.
4) Toplink
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Have a search for something called the "object relational impedance mismatch". This is the main reasons why ORM's exist.
 
Whatever you say buddy! And I believe this tiny ad too:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic