You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Christian Schneider (JIRA)" <ji...@apache.org> on 2017/02/24 16:41:44 UTC
[jira] [Resolved] (ARIES-1695) Aries JPA does not work in karaf
because of spec problem
[ https://issues.apache.org/jira/browse/ARIES-1695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christian Schneider resolved ARIES-1695.
----------------------------------------
Resolution: Fixed
> Aries JPA does not work in karaf because of spec problem
> --------------------------------------------------------
>
> Key: ARIES-1695
> URL: https://issues.apache.org/jira/browse/ARIES-1695
> Project: Aries
> Issue Type: Bug
> Components: JPA
> Affects Versions: jpa-2.5.0
> Reporter: Christian Schneider
> Assignee: Christian Schneider
> Fix For: jpa-2.6.0
>
>
> When doing
> feature:install jpa hibernate
> in karf 4.1.0 Aries JPA does not recognize the hibernate PersistenceProvider service as Aries JPA binds to the jpa spec 2.0 and hibernate binds to the jpa spec 2.1.
> The reason for this is that Aries JPA requires the org.osgi.service.jpa package which is only provided by the geronimo jpa spec bundle.
> The solution to this is to embed the JPA spec into jpa.container.
> I also tried to use the OSGi JPA spec bundle but it is not compatbile to JPA 2.1 spec.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)