Hibernate ORM
  1. Hibernate ORM
  2. HHH-7527 OSGi hibernate-orm
  3. HHH-7995

Auto-discovery of Hibernate extension points in OSGi

    Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.0.Beta2, 4.2.2
    • Component/s: None
    • Labels:
      None
    • Last commented by a user?:
      true

      Description

      Look into auto-discovery of Hibernate extension points in Bundles: Services, Integrators, Types, UserTypes, etc. This presents numerous complications, so we're looking for help with use cases.

      One specific question involves the Services. Should these be treated just like any other class in the Bundle? Or, should we also create an OSGi ServiceListener and have users register Services with the container?

        Issue Links

          Activity

          Hide
          Brett Meyer added a comment -

          In order for envers (and possibly others) to provide Types, I cherry-picked HHH-7998 into 4.2 and master. For simplicity, I kept TypeContributor in its .metamodel package. It's wired into Configuration and Ejb3Configuration.

          Show
          Brett Meyer added a comment - In order for envers (and possibly others) to provide Types, I cherry-picked HHH-7998 into 4.2 and master. For simplicity, I kept TypeContributor in its .metamodel package. It's wired into Configuration and Ejb3Configuration.

            People

            • Assignee:
              Brett Meyer
              Reporter:
              Brett Meyer
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development