• 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
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

When and why to choose Hibernate ?

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

when it is necessarily to use the Hibernate framework in Application as persistence.

As i got few idea:

1) Performance (caching)
2) Cross Database Portability
3) Developers Friendly

if you have any more views from your knowledge please share it.

Regards,
prabhat
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Caching can be implemented in many different ways; in my opinion that's not really a reason to choose Hibernate. Overall performance isn't always either--in many cases it's much more efficient not to use *any* ORM.

Most ORMs also support cross-database capabilities, so that isn't really Hibernate-specific either.

As to whether or not it's developer friendly... depends on the developer and how good they are with Hibernate. Hibernate can make lots of simple DB stuff very simple, but can introduce a level of complexity in some cases.
 
Ranch Hand
Posts: 686
Netbeans IDE Chrome Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think you have the main reasons correct. But with Hibernate you got to know what you are doing! I think many people started adopting it since it had a good backing and is one of the proven technologies
 
Ranch Hand
Posts: 527
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Prabhat Ranjan wrote:

As i got few idea:

1) Performance (caching)
2) Cross Database Portability
3) Developers Friendly



....extension to this list,

4) Hibernate learning curve is short
5) Free tools such as Eclipse’s Plugin & Code generation tools

And lastly,

6) Hibernate is free and open source – very wide and active community and get questions answered in few minutes


 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic