Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B57CF200B95 for ; Tue, 27 Sep 2016 15:36:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B43A8160AD2; Tue, 27 Sep 2016 13:36:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id EA406160AE5 for ; Tue, 27 Sep 2016 15:36:21 +0200 (CEST) Received: (qmail 21699 invoked by uid 500); 27 Sep 2016 13:36:21 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 21253 invoked by uid 99); 27 Sep 2016 13:36:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Sep 2016 13:36:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id AA5C22C2A6E for ; Tue, 27 Sep 2016 13:36:20 +0000 (UTC) Date: Tue, 27 Sep 2016 13:36:20 +0000 (UTC) From: "Christian Schneider (JIRA)" To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (KARAF-4535) OpenJPA 2.4.1 Missing dependencies: objectClass=javax.persistence.EntityManager MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 27 Sep 2016 13:36:22 -0000 [ https://issues.apache.org/jira/browse/KARAF-4535?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christian Schneider resolved KARAF-4535. ---------------------------------------- Resolution: Fixed Fix Version/s: (was: 4.0.8) 4.0.7 > OpenJPA 2.4.1 Missing dependencies: objectClass=javax.persistence.EntityManager > ------------------------------------------------------------------------------- > > Key: KARAF-4535 > URL: https://issues.apache.org/jira/browse/KARAF-4535 > Project: Karaf > Issue Type: Bug > Components: karaf-feature > Affects Versions: 4.0.5 > Environment: Karaf 4.0.5 > OpenJPA 2.4.1 > Reporter: Jirka > Assignee: Christian Schneider > Fix For: 4.1.0, 4.0.7 > > > OpenJPA 2.4.1 does not start when installed with the jpa feature. > Problem is that the jpa feature installs persistence api 2.1.0 > {code} > persistence-api > > {code} > It collides with persistence api 2.0.0 installed by the openjpa feature > {code} > persistence-api > {code} > Workaround is to use this custom jpa feature instead of the jpa feature. > {code} > >
JPA implementation provided by Apache Aries JPA 2.x. NB: this feature doesn't provide the JPA engine, you have to install one by yourself (OpenJPA for instance)
> transaction-api > mvn:org.apache.felix/org.apache.felix.coordinator/1.0.2 > mvn:org.osgi/org.osgi.service.jdbc/1.0.0 > mvn:org.osgi/org.osgi.service.jpa/1.0.0 > mvn:org.apache.aries.jpa/org.apache.aries.jpa.api/2.3.0 > mvn:org.apache.aries.jpa/org.apache.aries.jpa.container/2.3.0 > mvn:org.apache.aries.jpa/org.apache.aries.jpa.support/2.3.0 > > aries-blueprint > mvn:org.apache.aries.jpa/org.apache.aries.jpa.blueprint/2.3.0 > >
> {code} > Changes compared to the karaf jpa feature:: > Removed: > {code} > persistence-api > {code} > Added > {code} > mvn:org.osgi/org.osgi.service.jpa/1.0.0 added > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)