GeeCON Prague 2014*
The moose likes Object Relational Mapping and the fly likes Hibernate Terminology - Why is it called Java Persistence with Hibernate? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hibernate Terminology - Why is it called Java Persistence with Hibernate?" Watch "Hibernate Terminology - Why is it called Java Persistence with Hibernate?" New topic
Author

Hibernate Terminology - Why is it called Java Persistence with Hibernate?

Lakshmeepathi Ghiree Anandh
Greenhorn

Joined: Sep 04, 2012
Posts: 5
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.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61315
    
  66

It's just the name of a book. I think you're giving this more thought than it merits.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
GeeCON Prague 2014
 
subject: Hibernate Terminology - Why is it called Java Persistence with Hibernate?