This feature enables support for applications that use application-managed and container-managed JPA written to the Java Persistence API 2.0 specification. The support is built on top of Apache OpenJPA with extensions to support the container-managed programming model.

Enabling this feature

To enable the Java Persistence API 2.0 feature, add the following element declaration into your server.xml file, inside the featureManager element:

<feature>jpa-2.0</feature>

Feature configuration elements

Standard API packages provided by this feature

  • javax.activation

  • javax.persistence

  • javax.persistence.criteria

  • javax.persistence.metamodel

  • javax.persistence.spi

  • javax.xml.bind

  • javax.xml.bind.annotation

  • javax.xml.bind.annotation.adapters

  • javax.xml.bind.attachment

  • javax.xml.bind.helpers

  • javax.xml.bind.util

Third-party API packages provided by this feature

  • org.apache.openjpa.abstractstore

  • org.apache.openjpa.ant

  • org.apache.openjpa.audit

  • org.apache.openjpa.conf

  • org.apache.openjpa.datacache

  • org.apache.openjpa.ee

  • org.apache.openjpa.enhance

  • org.apache.openjpa.event

  • org.apache.openjpa.instrumentation

  • org.apache.openjpa.instrumentation.jmx

  • org.apache.openjpa.jdbc.ant

  • org.apache.openjpa.jdbc.conf

  • org.apache.openjpa.jdbc.identifier

  • org.apache.openjpa.jdbc.kernel

  • org.apache.openjpa.jdbc.kernel.exps

  • org.apache.openjpa.jdbc.meta

  • org.apache.openjpa.jdbc.meta.strats

  • org.apache.openjpa.jdbc.schema

  • org.apache.openjpa.jdbc.sql

  • org.apache.openjpa.kernel

  • org.apache.openjpa.kernel.exps

  • org.apache.openjpa.kernel.jpql

  • org.apache.openjpa.lib.ant

  • org.apache.openjpa.lib.conf

  • org.apache.openjpa.lib.encryption

  • org.apache.openjpa.lib.graph

  • org.apache.openjpa.lib.identifier

  • org.apache.openjpa.lib.instrumentation

  • org.apache.openjpa.lib.jdbc

  • org.apache.openjpa.lib.log

  • org.apache.openjpa.lib.meta

  • org.apache.openjpa.lib.rop

  • org.apache.openjpa.lib.util

  • org.apache.openjpa.lib.util.concurrent

  • org.apache.openjpa.lib.util.svn

  • org.apache.openjpa.lib.xml

  • org.apache.openjpa.meta

  • org.apache.openjpa.persistence

  • org.apache.openjpa.persistence.criteria

  • org.apache.openjpa.persistence.jdbc

  • org.apache.openjpa.persistence.meta

  • org.apache.openjpa.persistence.osgi

  • org.apache.openjpa.persistence.query

  • org.apache.openjpa.persistence.util

  • org.apache.openjpa.persistence.validation

  • org.apache.openjpa.slice

  • org.apache.openjpa.slice.jdbc

  • org.apache.openjpa.util

  • org.apache.openjpa.validation

  • org.apache.openjpa.xmlstore

Features that this feature enables

Supported Java versions

  • JavaSE-1.8

  • JavaSE-11.0

  • JavaSE-17.0

  • JavaSE-21.0

  • JavaSE-22.0

Features that enable this feature

Developing a feature that depends on this feature

If you are developing a feature that depends on this feature, include the following item in the Subsystem-Content header in your feature manifest file.

com.ibm.websphere.appserver.jpa-2.0; type="osgi.subsystem.feature"