You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/02/24 16:40:44 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15883051#comment-15883051 ]
ASF subversion and git services commented on ARIES-1695:
--------------------------------------------------------
Commit 1784296 from [~chris@die-schneider.net] in branch 'aries/trunk'
[ https://svn.apache.org/r1784296 ]
[ARIES-1695] Embed OSGi jpa spec
> 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)