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

EntityManager service factory

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • jpa-2.0.0
    • JPA
    • None

    Description

      It is fairly simple to utilize GlobalPersistenceManager via ServiceFactory interface to register contexts when asked for. Couple of things would make this more robust.

      1) Introduction/Implementation of PersistenceContextProvider.unregisterContext() which would require counting of registration calls so that unregistration would not be premature.
      2) Returning of EntityManagerFactory from PersistenceContextProvider.registerContext call which omit the roundtrip via bundle context

      I guess that container context project could provide this kind of implementation out of the box to support other than blueprint environments

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: