HHH-18502 Fix compiler method selection for #in(Collection<?> values)
This commit is contained in:
parent
97f9402edb
commit
b61ba10afd
|
@ -196,7 +196,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
|
||||||
|
|
|
@ -633,7 +633,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