HHH-18502 Fix compiler method selection for #in(Collection<?> values)
This commit is contained in:
parent
e9231c01ed
commit
b26977358a
|
@ -180,7 +180,8 @@ public class SqmFieldLiteral<T> implements SqmExpression<T>, SqmExpressible<T>,
|
|||
|
||||
@Override
|
||||
public SqmPredicate in(Collection<?> values) {
|
||||
return nodeBuilder().in( this, values );
|
||||
//noinspection unchecked
|
||||
return nodeBuilder().in( this, (Collection<T>) values );
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -592,7 +592,8 @@ public class SqmSubQuery<T> extends AbstractSqmSelectQuery<T> implements SqmSele
|
|||
|
||||
@Override
|
||||
public SqmInPredicate<?> in(Collection<?> values) {
|
||||
return nodeBuilder().in( this, values );
|
||||
//noinspection unchecked
|
||||
return nodeBuilder().in( this, (Collection<T>) values );
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue