After upgrading wildfly from 9.0.2 to 10.0.0.Final, we are experiencing issue with Hibernate MetadatasourceProcessor. Its throwing the following exception when one Entity is annotated with jpa and another entity extends it with hbm mapping.
The hierarchy of entity as follows
When i turned on trace log the above exception is coming after the below debug log
Full discussion can be found here : https://developer.jboss.org/message/952546
and here http://stackoverflow.com/questions/35910271/spring-could-not-create-entitymanagerfactory-after-upgrading-to-hibernate-5-x
any kind update on this ?
Test case added
I've confirmed the test case works using 4.3 branch.
, do you have some idea about what is going wrong?
The main problem that HbmMetadataSourceProcessorImpl trying to build hierarchy in constructor (line 66) without any knowledge about annontation classes. May be it shouldn't check hierarchy at this moment