You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by "Cheung, Pauline" <Pa...@windriver.com> on 2015/12/16 00:27:13 UTC

openjpa and karaf

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



Re: openjpa and karaf

Posted by Christian Schneider <ch...@die-schneider.net>.
None of the current versions of openjpa fully work with karaf 4.0.3 at
least if you want to use jta 1.2.

The reason is that the import range of openjpa is too small. It is fixed on
trunk of openjpa now. So the next release will work.

See:
https://issues.apache.org/jira/browse/OPENJPA-2607

If you need a quick solution you could change the Manifest of an openjpa
jar locally.


Christian

2015-12-16 0:27 GMT+01:00 Cheung, Pauline <Pa...@windriver.com>:

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



-- 
-- 
Christian Schneider
http://www.liquid-reality.de
<https://owa.talend.com/owa/redir.aspx?C=3aa4083e0c744ae1ba52bd062c5a7e46&URL=http%3a%2f%2fwww.liquid-reality.de>

Open Source Architect
http://www.talend.com
<https://owa.talend.com/owa/redir.aspx?C=3aa4083e0c744ae1ba52bd062c5a7e46&URL=http%3a%2f%2fwww.talend.com>

Re: openjpa and karaf

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
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é
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com