Java Persistence API 2.0
這個特性會啟用對於使用應用程式管理及儲存器管理的 JPA(寫入至「Java 持續性 API 2.0」規格)之應用程式的支援。這項支援建置在 Apache OpenJPA 之上,其延伸規格支援儲存器管理的程式設計模型。
啟用這項特性
如果要啟用「Java 持續性 API 2.0」特性,請在 server.xml 檔的 featureManager 元素內,新增下列的元素宣告:
<feature>jpa-2.0</feature>
開發相依於這項特性的特性
如果您要開發的特性相依於「Java 持續性 API 2.0」特性,請將下列項目包含在您新特性的特性資訊清單檔 Subsystem-Content 標頭中:
com.ibm.websphere.appserver.jpa-2.0; type="osgi.subsystem.feature"
這項特性啟用的特性
這項特性提供的標準 API 套件
- javax.persistence
- javax.persistence.criteria
- javax.persistence.metamodel
- javax.persistence.spi
這項特性提供的協力廠商 API 套件
- 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