We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28c108c commit 492fabdCopy full SHA for 492fabd
hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/AbstractIdentifiableType.java
@@ -402,7 +402,7 @@ public void finishUp() {
402
private SqmPathSource<?> interpretIdDescriptor() {
403
log.tracef( "Interpreting domain-model identifier descriptor" );
404
405
- if ( getSuperType() != null ) {
+ if ( getSuperType() != null && getSuperType().getIdentifierDescriptor() != null ) {
406
return getSuperType().getIdentifierDescriptor();
407
}
408
else if ( id != null ) {
0 commit comments