HHH-15742 Always return inferred mapping for is-null clauses
This commit is contained in:
parent
cdfbc58bb9
commit
e088738687
|
@ -5393,11 +5393,9 @@ public abstract class BaseSqmToSqlAstConverter<T extends Statement> extends Base
|
|||
return resolveEntityPersister( (EntityDomainType<?>) type );
|
||||
}
|
||||
}
|
||||
else if ( parameterJavaType.isEnum() ) {
|
||||
//inferredMapping is JavaObjectType and we cannot deduct the t
|
||||
if ( inferredMapping != null ) {
|
||||
return inferredMapping;
|
||||
}
|
||||
else if ( inferredMapping != null ) {
|
||||
// inferredMapping is JavaObjectType and we cannot deduct the type
|
||||
return inferredMapping;
|
||||
}
|
||||
}
|
||||
return basicTypeForJavaType;
|
||||
|
|
Loading…
Reference in New Issue