• 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
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Frank Carver
  • Henry Wong
  • Ron McLeod
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Himai Minh

Hibernate vs JPA (ORM techniques) - Dubious concept

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Acetylsalicylic acid is aspirin. This could be handy too:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic