Hi Jason,

take a look on this sample:

https://github.com/jbonofre/acna15

You can see:

        <feature>jdbc</feature>
        <feature>transaction</feature>
        <feature version="2.0.0">jpa</feature>
        <feature>jndi</feature>
        <feature version="2.2.2">openjpa</feature>

This will work with blueprint namespace, but not transaction annotation.

Regards
JB

On 12/17/2015 06:09 PM, jpratt3000 wrote:
Christian - what are the correct versions to use then? I have found this
issue very confusing and not well documented.

Do you need to include aries and jta?

Jason


Sent from my Samsung Galaxy smartphone.


-------- Original message --------
From: Jean-Baptiste Onofré <[email protected]>
Date: 12/15/2015 11:03 PM (GMT-08:00)
Date:12/15/2015 11:03 PM (GMT-08:00)
To: [email protected]
Cc:
Subject: Re: openjpa and karaf

Hi Pauline, OpenJPA versions included in Karaf 4.0.3 are 2.2.2, 2.3.0,
2.4.0. They work fine standalone, with JTA 1.x and "old style" JPA (with
the blueprint namespace). If you want annotations and new style, we have
to use wrap with openjpa bundle in order to extend JTA package import
version range. Regards JB On 12/16/2015 12:27 AM, Cheung, Pauline wrote:
 > Hi, > > What version of openJPA works with karaf 4.0.3? Do I need a
specific > version of Aries and Transaction for it to all work together?
 > > Thanks, > > Pauline > -- Jean-Baptiste Onofré [email protected]
http://blog.nanthrax.net Talend - http://www.talend.com

--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to