Christian Schneider created ARIES-1695:
------------------------------------------
Summary: 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)