Skip to:
On our project we have entity with inheritance using join. After migration from hibernate 5 to 6 @SqlResultSetMapping doesn't work.
Exception is following:
Code of CaseStatementDiscriminatorMappingImpl.class looks suspicious:
Test example to reproduce:
Reproducible on 6.1.7.Final and 6.2.7.Final.
On our project we have entity with inheritance using join. After migration from hibernate 5 to 6 @SqlResultSetMapping doesn't work.
Exception is following:
Code of CaseStatementDiscriminatorMappingImpl.class looks suspicious:
Test example to reproduce:
Reproducible on 6.1.7.Final and 6.2.7.Final.