java.lang.ClassCastException: class org.hibernate.mapping.Table cannot be cast to class org.hibernate.mapping.DenormalizedTable (org.hibernate.mapping.Table and org.hibernate.mapping.DenormalizedTable are in unnamed module of loader 'app')

Description

After adding a parent entity like

to a pre-existing entity

The following exception pops up and the application fails to start:

 

The mapping works and the exception goes away if the @AuditTable and the @Table annotations removed removed from class “b”.

Environment

None

Assignee

Unassigned

Reporter

Martin Schaaf

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Affects versions

Priority

Major
Configure