[
https://issues.apache.org/jira/browse/ARIES-1251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14160236#comment-14160236
]
Giuseppe Gerla commented on ARIES-1251:
---------------------------------------
Hi Christian
first of all I have some problem to compile the last version on trunk of aries
jpa. I have following error
[ERROR] Failed to execute goal on project
org.apache.aries.jpa.container.itest:Could not resolve dependencies for project
org.apache.aries.jpa:org.apache.aries.jpa.container.itest:jar:1.0.1-SNAPSHOT:
The following artifacts could not be resolved:
org.apache.aries.jpa:org.apache.aries.jpa.api:jar:1.0.2-SNAPSHOT,
org.apache.aries.jpa:org.apache.aries.jpa.container.context:jar:1.0.3-SNAPSHOT,
org.apache.aries.jpa:org.apache.aries.jpa.blueprint.aries:jar:1.0.3-SNAPSHOT:
Could not find artifact
org.apache.aries.jpa:org.apache.aries.jpa.api:jar:1.0.2-SNAPSHOT in
codehaus.snapshots (http://snapshots.repository.codehaus.org) -> [Help 1]
However my commit doesn't fix any issue, but it introduces some test to check
that container can manage JPA 2.0 and 2.1 without problem. Using actual tests
it is possible test only JPA 2.0 integration.
> Support jpa 2.0 and 2.1 with the same code base
> -----------------------------------------------
>
> Key: ARIES-1251
> URL: https://issues.apache.org/jira/browse/ARIES-1251
> Project: Aries
> Issue Type: Improvement
> Components: JPA
> Reporter: Christian Schneider
> Assignee: Christian Schneider
>
> We currently have two separate code bases for jpa 2.0 and 2.1 support. This
> is very difficult to manage when we do source code changes.
> So I will try to create one code that supports both jpa 2.0 and 2.1 by using
> Dynamic Proxies where we implement EntityManager or EntityManagerFactory.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)