Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate - Basics

 
Bhairava Surya
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • 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.
 
Christian Dillinger
Ranch Hand
Posts: 200
  • Mark post as helpful
  • send pies
  • 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
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic