# hibernate-osgi needs to support alternative locations for hibernate.cfg.xml

## Description

OsgiSessionFactoryService simply calls Configuration#configure(), making the assumption that hibernate.cfg.xml is in the root of the requestingBundle. Instead, try searching for it using BundleWiring#listResources (see OsgiArchiveDescriptor for example). If not found, default back to #configure().

None

Brett Meyer

Brett Meyer

None

None

None

None

None

None

Major
Configure