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.