• 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

Is hibernet an upcoming technology

 
Ranch Hand
Posts: 129
Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am new to ORM.

I heard about JPA, JDO, Hibernet etc.

Can any buddy help me to know that Hibernet is still competitive technology.
Is it a speedily improving and effective?
 
Ranch Hand
Posts: 1374
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Ramnna,

Hibernate is one of the most popular ORM framework now a days. Refer http://www.hibernate.org/ for more information.
If you are interested in book then I would suggest Hibernate in Action and Java Persistence with Hibernate (Manning Publication).
 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just to add, Hibernate doesn't compete with EJB 3 JPA sub-spec. It provides an implementation called Entity Manager.
 
ramnna jain
Ranch Hand
Posts: 129
Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Instead of thousands of threads seeking connection objects and firing the same query to fetch same set of data from the database, we can fire one query per set of data requested very frequently and store it in xml or in objects mapping to that set of data, and then for each thread requesting the data is fetched from these objects or xml which is comparatively very efficient.

Please comment if it is the way hibernet works!? Because it is some thing I have in my mind about hibernet.

Well! thanks a lot for your kind help... Vishal, Lisa.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

ramnna jain wrote:Please comment if it is the way hibernet works


No, not really. Firstly, nothing is stored in XML - it's all in memory. An earlier version of Hibernate (versions 1 and 2) used XML files for configuration, but those have been dropped for annotations. Secondly, it can use connection pooling, but that's not specific to Hibernate - it's how just about all multi-threaded applications use databases these days. Thirdly, you're right that it does cache some DB records in memory for performance reasons. And lastly, it's called "Hibernate", not "hibernet".
 
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


An earlier version of Hibernate (versions 1 and 2) used XML files for configuration, but those have been dropped for annotations


Well, not dropped but "augmented". Some of us Luddites out there prefer the XML configuration route.
 
Vikas Kapoor
Ranch Hand
Posts: 1374
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
...Or "Deprecated". I have only experience with XML based configuration.
 
ramnna jain
Ranch Hand
Posts: 129
Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you Ulf, Paul...

Could you please suggest a good book, I can start with Hibernate.

earlier I have been suggested for "Java Persistence With Hibernate".
Other one is "Beginning Hibernate" - Apress.
 
Seriously Rick? Seriously? You might as well just read this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic