hibernate/hibernate-orm — pull request #495 by timothyjward (2013-03-26 19:37:44+00:00)
Title: HHH-7993 Support jar scanning in OSGi 

I'm proposing some slight modifications. There was a slight misunderstanding about the BundleWiring API. There is a separate BundleWiring for each OSGi bundle, so in order to scan for classes you need to use the wiring for the persistence bundle, otherwise you end up repeatedly scanning the hibernate-osgi bundle instead.

Otherwise it all looks good!