|
Description:
|
In all other environments, Hibernate uses Jar scanning to find entities, mapping files, resources, etc. This currently does not work in an OSGi environment. At least within Karaf, the persistence unit's root URL uses the "bundle:/" protocol. Although a stream handler is provided in order to locate classes or resources, we need a way to get a handle on the actual jar for scanning. This needs investigated further.
|