• 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 Terminology - Why is it called Java Persistence with Hibernate?

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Ranchers,
By Persistence,we mean permanent data.That is,the data is stored/available even after shutting down a machine.
Permanent Data always resides in a relation database.
So,it would be appropriate if we call DB Persistence/Oracle Persistence/MySQL persistence with Hibernate right?
Java comes no where in the picture when we are talking about persistence!
Then,Why is it called "Java Persistence" with Hibernate?
(What could be the possible explanation that I can tell myself is that :
Data in DB is persistent.We all know that.No need to mention that explicitly as "DB persistence".
What if you want an abstraction from DB where you know of no DB but Java objects alone.
You work/code as if all the persistent data is in Java objects ("JAVA PERSISTENCE"). But in reality it is not so.
So,Hibernate makes this abstraction possible ("WITH HIBERNATE")and hence "JAVA PERSISTENCE WITH HIBERNATE")

Are my thoughts correct?
Please pour in your inputs and suggestions.
Thanks.
 
Sheriff
Posts: 67747
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's just the name of a book. I think you're giving this more thought than it merits.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic