[ 
https://issues.apache.org/jira/browse/ARIES-1134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Albert Lee updated ARIES-1134:
------------------------------

    Attachment: ARIES-1134.patch

This is the first part of an attempt to enable JPA 2.1 API.  This patch:
* switched to use the Geronimo JPA 2.1 API
* Updated all the classes implements em and emf interfaces require the new JPA 
2.1 methods.
* Increased the javax.persistence.* semantics versioning to reflect JPA 2.1 
usages
* For all the test cases that do not require provider implementation, the test 
cases are changed to use the geronimo-jpa-2.1 bundle. 
* For all the test cases that requires provider implementation, the test case 
remains to use geronimo-jpa-2.0 bundle.  This is because openjpa jpa does not 
support JPA 2.1 implementation yet.

The following build and test runs were performed:
* Check out the current trunk content
* Apply the attached patch
* Following the build process as described in 
http://aries.apache.org/development/buildingaries.html
* The first test run yield one error in quiesce module.  Re-run the module 
alone has the test passes.

Please review the patch and looking for commit when satisfy all the necessary 
project requirements.

Thanks,
Albert.



> Enable JPA 2.1 API and correct inconsistent <aries.osgi.import> versioning
> --------------------------------------------------------------------------
>
>                 Key: ARIES-1134
>                 URL: https://issues.apache.org/jira/browse/ARIES-1134
>             Project: Aries
>          Issue Type: Improvement
>          Components: Blueprint, JPA
>            Reporter: Albert Lee
>            Priority: Minor
>         Attachments: ARIES-1134.patch, ARIES-1134.patch
>
>
> There are some inconsistency of <aries.osgi.import> version useage between 
> these modules:
> jpa/jpa-api/pom.xml
> jpa/jpa-container/pom.xml
> jpa/jpa-container-context/pom.xml
> jpa/jpa-container-eclipselink-adapter/pom.xml
>             javax.persistence;version="[1.0.0,2.1.0)",
>             javax.persistence.spi;version="[1.0.0,2.1.0)",
>             javax.persistence.criteria;version="[1.1.0,2.1.0)";
>             javax.persistence.metamodel;version="[1.1.0,2.1.0)";
> and 
> jpa-blueprint-aries/pom.xml
>             javax.persistence;version="[1.0.0,3.0.0)",
> I would like to propose all these modules' version updated to 
>             javax.persistence;version="[1.0.0,3.0.0)",
> so the JPA 2.1 API can be used at runtime, if enabled by the container 
> environment.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to