[jboss-jira] [JBoss JIRA] (DROOLS-1380) Add JPA 2.1 support for kie-aries-blueprint

Grzegorz Grzybek (JIRA) issues at jboss.org
Mon Sep 17 08:33:00 EDT 2018


    [ https://issues.jboss.org/browse/DROOLS-1380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13634273#comment-13634273 ] 

Grzegorz Grzybek commented on DROOLS-1380:
------------------------------------------

Aries-JPA uses JPA 2.1: https://github.com/apache/aries-jpa/blob/master/jpa-features/src/main/feature/feature.xml#L27 (it's moved to separate github repo).

In Fuse 7 we use aries-jpa 2.6.1 which uses (originally):
{code:xml}
<bundle dependency="true">mvn:org.eclipse.persistence/javax.persistence/2.1.0</bundle>
{code}

But we override it (in {{etc/org.apache.karaf.features.xml}}) to different API (but still 2.1):
{code:xml}
<bundle originalUri="mvn:org.eclipse.persistence/javax.persistence/[2,3)"
    replacement="mvn:org.hibernate.javax.persistence/hibernate-jpa-2.1-api/1.0.0.Final-redhat-2" mode="maven"/>
{code}


> Add JPA 2.1 support for kie-aries-blueprint
> -------------------------------------------
>
>                 Key: DROOLS-1380
>                 URL: https://issues.jboss.org/browse/DROOLS-1380
>             Project: Drools
>          Issue Type: Bug
>            Reporter: Petr Široký
>            Priority: Critical
>
> {{kie-aries-blueprint}} does not support JPA 2.1. It seems that even upstream Aries project does not yet support this as it still depending on 2.0 spec jars: https://github.com/apache/aries/blob/trunk/jpa/jpa-api/pom.xml#L41
> The corresponding test {{KieBlueprintjBPMPersistenceKarafIntegrationTest}} was @Ignored for now.
> We need to either drop support for persistence using Aries Blueprint or fix the integration.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)



More information about the jboss-jira mailing list