Support jar scanning in OSGi

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.

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