Configuring JPA in Liberty

You can configure Java Persistence API (JPA) 2.0 for WebSphere® Application Server. JPA 2.0 is built on the Apache OpenJPA 2.2.x open source project.

Open Liberty For information about using JPA 2.1 and later with Liberty, see the Open Liberty website.

About this task

Apache OpenJPA is a compliant implementation of the JPA 1.0 and 2.0 specifications. Using OpenJPA as a base implementation, WebSphere Application Server employs extensions to provide more features and utilities for WebSphere Application Server customers. Because JPA for WebSphere Application Server is built from OpenJPA, all OpenJPA function, extensions, and configurations are unaffected by the WebSphere Application Server extensions. You do not need to make changes to OpenJPA applications to use these applications in WebSphere Application Server.

Java™ Persistence API (JPA) 2.1 for WebSphere Application Server is built on the EclipseLink open source project. EclipseLink is the reference implementation for all version of the JPA specification. The provider of JPA for this product is org.eclipse.persistence.jpa.PersistenceProvider.