[ 
https://issues.apache.org/jira/browse/ARIES-1672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15842511#comment-15842511
 ] 

Timothy Ward commented on ARIES-1672:
-------------------------------------

The spec bundles do not provide the JPA contract capability. In order to comply 
with the specification the reference implementation must provide this 
capability. This is why I expect that Aries will need to either:

a) Convince the Geronimo team to add the capability to their spec jars

or

b) Repackage the Geronimo Jars with the capability.

The "Reference Implementation" of Aries JPA would then be the spec API jar 
(including the capability) the Aries JPA container, and a JPA provider 
(probably EclipseLink).

Other users are obviously free to use Aries JPA in other ways, for example with 
another JPA provider, or with a different spec API jar that doesn't provide the 
capability.

> 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)

Reply via email to