Brett, As part of HHH-7527 (Enterprise OSGi support) you had changed the org.hibernate.jpa.boot.spi.Bootstrap contract to basically overload each method to additional accept a "providedClassLoader".
Every one of those methods however, also accepts a org.hibernate.jpa.boot.spi.PersistenceUnitDescriptor which exposes 2 ClassLoader already. Additionally, this ClassLoader is ultimately just used to build the ClassLoaderService which hibernate-osgi overrides anyway. Just curious if I missed something. Unless I did, it seems to me that we really do not need these overloads on Bootstrap to support Enterprise OSGi. This dove-tails with a discussion from the Karaf user list ultimately discussing OsgiClassLoaderService and "holding bundles" that are being re-installed or upgraded. Ultimately I am thinking through ways to support being able to release OSGI bundle references from the OsgiClassLoaderService... _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev