Java Persistence/Persistence Products

< Java Persistence

There are many persistence products to choose from. Most persistence products now support a JPA interface, although there still are some exceptions. Which product you use depends on your preference, but most people would recommend you use the JPA standard whichever product you choose. This gives you the flexibility to switch persistence providers, or port your application to another server platform which may use a different persistence provider.

Determining which persistence product to use involves many criteria. Valid things to consider include:

Existing Persistence Products

The following table summarises existing persistence products.[1]

Product JPA 1.0 JPA 2.0 JPA 2.1 JDO 2.0 JDO 3.0 CMP 2.1 Version Year of Last Release Open Source Application Servers[2]
Hibernate (Red Hat) Yes Yes Yes
5.2.1
2016
Yes JBoss AS/Wildfly
EclipseLink (Eclipse) Yes Yes Yes
2.6.3
2016
Yes Oracle Weblogic (12c), Glassfish (v3)
TopLink (Oracle) Yes Yes Yes
12c (12.1.3)
2014
Oracle Weblogic (12c), OracleAS (10.1.3)
OpenJPA (Apache) Yes Yes
2.4.1
2016
Yes Geronimo, WebSphere Application Server (8.0)
DataNucleus (DataNucleus) Yes Yes Yes Yes Yes
5.0.0
2016
Yes
TopLink Essentials (java.net) Yes
2.0
2007
Yes Glassfish (v2), SunAS (9), OracleAS (10.1.3)
Kodo (Oracle) Yes Yes
4.1
2007
Oracle WebLogic (10.3)
  1. Last updated 2016-07-05
  2. Application server that includes the product as their JPA implementation
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.