Re-work the OSGi class loading concepts

Description

https://github.com/hibernate/hibernate-orm/pull/486

The PR has some great discussions about how Enterprise OSGi JPA containers work with respect to persistence units and ClassLoaders. Use the PR as a starting point for improvement.

Followed up by https://github.com/hibernate/hibernate-orm/pull/491

Environment

None

Status

Assignee

Brett Meyer

Reporter

Brett Meyer

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Priority

Major
Configure