• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Hibernate vs JPA (ORM techniques) - Dubious concept

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am going through the OR Mapping frameworks. I got the the purpose of using Hibernate and JPA that is to achieve ORM, then what is difference between them?
I read somewhere that JPA is a standard Specification while Hibernate is an Implementation, What is specification and implementation? any real time example.
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


I read somewhere that JPA is a standard Specification while Hibernate is an Implementation


This is correct. A specification is a plan or blueprint of something, the implementation is that actual thing.
 
aslam rajper
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Paul Sturrock wrote:


I read somewhere that JPA is a standard Specification while Hibernate is an Implementation


This is correct. A specification is a plan or blueprint of something, the implementation is that actual thing.




So would you please define in detail , The other implementations of JPA other than Hibernate?
 
Paul Sturrock
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The easiest way to do that is to look here: JPA implementation.
 
aslam rajper
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Paul Sturrock wrote:The easiest way to do that is to look here: JPA implementation.



Dts very nice suggestion. Hence, One more suggestion is required. What prerequisites are needed to start learning Hibernate? I mean what basics are required.
and also mention the hibernate book for very beginner.
 
Paul Sturrock
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd recommend an understanding of the problem Hibernate (and other ORMs) exist to fix. So a decent appreciation of what a relational database is and what the object-relational impedance mismatch is. Understanding the big picture helps enormously in understanding why Hibernate behaves the way it does.

You can get working on Hibernate with a modicum of knowledge of JDBC. Hibernate's own documentation is brief but clear. Its been a while since I read any books on Hibernate so my knowledge there is probably out of date. Books recommendations are dotted about in this forum; I'd recommend searching here and see what other people say. I would say that my experience is you don;t need a book to get started, they are more useful for explaining the more advanced topics.
 
aslam rajper
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Paul Sturrock wrote:I'd recommend an understanding of the problem Hibernate (and other ORMs) exist to fix. So a decent appreciation of what a relational database is and what the object-relational impedance mismatch is. Understanding the big picture helps enormously in understanding why Hibernate behaves the way it does.

You can get working on Hibernate with a modicum of knowledge of JDBC. Hibernate's own documentation is brief but clear. Its been a while since I read any books on Hibernate so my knowledge there is probably out of date. Books recommendations are dotted about in this forum; I'd recommend searching here and see what other people say. I would say that my experience is you don;t need a book to get started, they are more useful for explaining the more advanced topics.



Thanks...replies are appreciated.
 
I am not young enough to know everything. - Oscar Wilde This tiny ad thinks it knows more than Oscar:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic