Hibernate or EclipseLink for JPA?

Ta Sas picture Ta Sas · Jul 13, 2010 · Viewed 41.9k times · Source

I was wondering if anyone has experience with the JPA2.0 implementation of any of those frameworks? Especially together with Spring3.x which comes with EclipseLink support.

Do you use any of those frameworks and JPA2.0 for production? Any severe issues?

Answer

Timo Westkämper picture Timo Westkämper · Jul 13, 2010

EclipseLink is more standards compliant, since it is the reference implementation for JPA 2, Hibernate has some compliancy issues, but is more mature.

One of the main benefits of EclipseLink is that you can call native SQL functions directly in your JPQL queries. In Hibernate this is not directly possible.

But Hibernate has a bigger community, better documentation and also better error messages.