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

Aries JPA should register EntityManagerFactory services after use of the EntityManagerFactory Builder

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • jpa-2.6.0
    • None
    • JPA
    • None

    Description

      Support for version 1.1 of the OSGi JPA Service. Ensuring that the EMF becomes visible as a service with the relevant service properties, and that it is re-registered after rebinding configuration.

      "In the case of an incomplete Persistence Unit no Entity Manager Factory can be initially registered, however once configured using an Entity Manager Factory Builder service the JPA Service must register the created Entity Manager Factory as a service. The registered service must include any sup- plied configuration properties that match the recommended OSGi service property types as service properties. The javax.persistence.jdbc.password property must be omitted from these service properties.

      If the Entity Manager Factory Builder service is later used to change the configuration being used by the Entity Manager Factory Service then the registered Entity Manager Factory service must be unregistered and the new object registered."

      Attachments

        Activity

          People

            Unassigned Unassigned
            timothyjward Timothy James Ward
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: