Uploaded image for project: 'Aries'
  1. Aries
  2. ARIES-1695

Aries JPA does not work in karaf because of spec problem

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • jpa-2.5.0
    • jpa-2.6.0
    • JPA
    • None

    Description

      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.

      Attachments

        Activity

          People

            cschneider Christian Schneider
            cschneider Christian Schneider
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: