aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Giuseppe Gerla (JIRA)" <>
Subject [jira] [Commented] (ARIES-1251) Support jpa 2.0 and 2.1 with the same code base
Date Mon, 06 Oct 2014 12:18:33 GMT


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 ( -> [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:
>             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

View raw message