HbmMetadataSourceProcessor issue when combining annotation and hbm.

Description

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

Environment

Wildfly.10.0.0.Final, Postgres

Assignee

Unassigned

Reporter

nick

Fix versions

None

Labels

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Blocker
Configure