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
|
@Override
|
||||||
public SqmPredicate in(Collection<?> values) {
|
public SqmPredicate in(Collection<?> values) {
|
||||||
return nodeBuilder().in( this, values );
|
//noinspection unchecked
|
||||||
|
return nodeBuilder().in( this, (Collection<T>) values );
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -592,7 +592,8 @@ public class SqmSubQuery<T> extends AbstractSqmSelectQuery<T> implements SqmSele
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public SqmInPredicate<?> in(Collection<?> values) {
|
public SqmInPredicate<?> in(Collection<?> values) {
|
||||||
return nodeBuilder().in( this, values );
|
//noinspection unchecked
|
||||||
|
return nodeBuilder().in( this, (Collection<T>) values );
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue