Tuomas Kiviaho commented on Bug HHH-8241

Please reconsider opening this issue,

My problem is that plain BundleWiring based scanner that you're providing just doesn't cut it for me (I've a custom need for finding mapping (orm.xml:s) from bundle data area instead and some other tweaks too, I commented some of my finding HHH-7993 already). I've configured OSGi also so that hibernate can't instantiate my custom scanner because it is and will not be on the same classpath. Hence I pass an instance to hibernate myself. Hibernate calls repeatedly this scanner instance and in a certain cases it needs to scan the bundle twice and here org.hibernate.jpa.boot.scan.spi.AbstractScanner.validateReuse kicks in. Comments in this method clearly state this method is meant to be overwritten when problems occur, but currently it is impossible

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira