This topic applies to WebSphere Application Server Liberty V8.5.5.9 and earlier. For the latest Liberty topics, see the WebSphere Application Server Liberty documentation.

Java Persistence API 2.0

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 inside the featureManager element in your server.xml file:
<feature>jpa-2.0</feature>

Developing a feature that depends on this feature

If you are developing a feature that depends on the Java Persistence API 2.0 feature, include the following item in the Subsystem-Content header in the feature manifest file for your new feature:
com.ibm.websphere.appserver.jpa-2.0; type="osgi.subsystem.feature"

Standard API packages provided by this feature

  • javax.persistence
  • javax.persistence.criteria
  • javax.persistence.metamodel
  • javax.persistence.spi

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

Feature configuration elements

You can use the following elements in your server.xml file to configure the Java Persistence API 2.0 feature:


Icon that indicates the type of topic Reference topic



Timestamp icon Last updated: Tuesday, 12 December 2017
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-libcore-mp&topic=rwlp_feature_jpa-2.0
File name: rwlp_feature_jpa-2.0.html