Forums Register Login

JPA 2.0 & OpenJPA 2.0

+Pie Number of slices to send: Send
Hi All

I just join this company and they are using OpneJPA 2.0, yes OpneJPA 2.0 is an implementation of JPA 2.0 just like Hibernate.

I used JPA 2.0 not OpenJPA 2.0 from my previous companies but what exztly are/is the difference/s and advantage/s between OpenJPA 2.0 and JPA 2.0, i did some research and cant
find the diffrenece/s.

I just need clarification...on this
1
+Pie Number of slices to send: Send
Isn't it easier to think of it this way: JPA 2.0 is a specification, while OpenJPA and Hibernate are implementations of the specification?! And as a consequence..you can't use JPA 2.0 since it's just a specification, you have to use an implementation of it, and you can pick either OpenJPA or Hibernate.
+Pie Number of slices to send: Send
thanks....wil do some resch between OpenJPA 2.0 and Hibernate.thanks clarification.
+Pie Number of slices to send: Send
My advice would be to use only JPA 2.0 features if possible. In this way you can easily port you application between different implementations (and runtime contains which have bundled different implementations of JPA 2.0).

It means, stop comparing OpenJPA 2.0 and Hibernate, write business functionality, and only compare if you need some very specific optimalizations/extensions made by either of the providers.
Any sufficiently advanced technology will be used as a cat toy. And this tiny ad contains a very small cat:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 2940 times.
Similar Threads
Which JPA RI to use ?
Persistence(JPA)
OpenJPA
Spring 3 book queston
Open JPA Books
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 03:29:32.