mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-28 14:59:12 +00:00
HHH-15742 Always return inferred mapping for is-null clauses
This commit is contained in:
parent
cdfbc58bb9
commit
e088738687
@ -5393,11 +5393,9 @@ else if ( paramSqmType instanceof SingularAttribute ) {
|
||||
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…
x
Reference in New Issue
Block a user