You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 16, 2021. It is now read-only.
Unfortunately it does not work with jpa 2.1. The error is:
missing requirement [org.osgi.service.jpa/1.0.0.201505202024] osgi.wiring.package; filter:="(&(osgi.wiring.package=javax.persistence)(version>=1.1.0)(!(version>=2.0.0)))"]]]]]]]]
Will this be fixed in a new version soon?
This prevents the usage of the jpa spec with any modern jpa provider.
Unfortunately the spec only defines the jpa package properties up to jpa 2.0. Do the OSGi specs already define JPA 2.1 somewhere?
I just checked some of the JPA API bundles and they provide very different package versions.
org.eclipse.persistence:javax.persistence:2.1.0 has javax.persistence;jpa="2.1";version="2.1.0"
org.apache.geronimo.specs:geronimo-jpa_2.1_spec:1.0-alpha-1 has javax.persistence;jpa="2.1";version="1.2"
So the question is .. which of these is correct?
How would a client correctly express the dependency to the jpa 2.0 or 2.1 API?
I see that there is also jpa=2.1 on the package export. Can the be used to describe the import?
Original bug ID: BZ#189
From: Christian Schneider <[email protected]>
Reported version: R6
The text was updated successfully, but these errors were encountered: