[ https://issues.apache.org/jira/browse/ARIES-1672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15842551#comment-15842551 ]
Christian Schneider commented on ARIES-1672: -------------------------------------------- Now I get it. I thought the capability was related to implementing the OSGi JPA spec (which jpa container does). I agree the contract namespace needs to be added to the spec bundles. I am sure we can do this in geronimo. > JPA API contract is required > ---------------------------- > > Key: ARIES-1672 > URL: https://issues.apache.org/jira/browse/ARIES-1672 > Project: Aries > Issue Type: Bug > Reporter: Timothy Ward > Assignee: Christian Schneider > > The OSGi JPA service spec requires the presence of an OSGi contract for the > JPA API. This will probably require Aries JPA to package up its own version > of the JPA API. Note that this will only be necessary to function as the > official RI, and we can still support using other public API bundles. > Provide-Capability: osgi.contract;osgi.contract=JavaJPA; > version:List<Version>="2.1,2,1";uses:="javax.persistence,javax.persistence.criteria,javax.persistence.metamodel,javax.persistence.spi" > We could optionally choose not to support versions 2 or 1. -- This message was sent by Atlassian JIRA (v6.3.4#6332)