You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by "Pratt, Jason" <Ja...@windriver.com> on 2016/01/26 22:45:49 UTC

openjpa 2.4.1

Any idea when this will be released with the version fix so we can use it in karaf?


Re: openjpa 2.4.1

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Jason,

let me ping Romain (from OpenJPA) today to see if he plans a release soon.

I keep you posted.

Regards
JB

On 01/26/2016 10:45 PM, Pratt, Jason wrote:
> Any idea when this will be released with the version fix so we can use
> it in karaf?
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: openjpa 2.4.1

Posted by ellirael <el...@mail.ru>.
Has anybody got a working example with OpenJPA 2.4.1?

My model EntityManager is not registered as a service.
My api cannot start:
Error executing command: Error executing command on bundles:
        Error starting bundle 223: Uses constraint violation. Unable to
resolve resource biz.lorien.niichi.api [biz.lorien.niichi.api [223]
(R 223.1)] because it is exposed to package 'javax.persistence' from
resources org.apache.geronimo.specs.geronimo-jpa_2.0_spec [org.apache.
geronimo.specs.geronimo-jpa_2.0_spec [115](R 115.0)] and javax.persistence
[javax.persistence [58](R 58.0)] via two dependency chains.

Chain 1:
  biz.lorien.niichi.api [biz.lorien.niichi.api [223](R 223.1)]
    import:
(&(osgi.wiring.package=javax.persistence)(version>=1.1.0)(!(version>=2.0.0)))
     |
    export: osgi.wiring.package: javax.persistence
  org.apache.geronimo.specs.geronimo-jpa_2.0_spec
[org.apache.geronimo.specs.geronimo-jpa_2.0_spec [115](R 115.0)]

Chain 2:
  biz.lorien.niichi.api [biz.lorien.niichi.api [223](R 223.1)]
    import:
(&(osgi.wiring.package=org.apache.aries.jpa.supplier)(version>=1.0.0)(!(version>=2.0.0)))
     |
    export: osgi.wiring.package=org.apache.aries.jpa.supplier;
uses:=javax.persistence
  org.apache.aries.jpa.api [org.apache.aries.jpa.api [81](R 81.0)]
    import:
(&(osgi.wiring.package=javax.persistence)(version>=1.1.0)(!(version>=3.0.0)))
     |
    export: osgi.wiring.package: javax.persistence
  javax.persistence [javax.persistence [58](R 58.0)] Unresolved
requirements: [[biz.lorien.niichi.api [223](R 223.1)] osgi.wiring.package;
(&(osgi.wiring.package=org.apache.aries.jpa.supplier)(version>=1.0.0)(!(version>=2.0.0)))]

All is ok with JPA Eclipselink implemetation.



--
View this message in context: http://karaf.922171.n3.nabble.com/openjpa-2-4-1-tp4045020p4046862.html
Sent from the Karaf - User mailing list archive at Nabble.com.