HHH-11033 - NativeQueryImpl::doScroll seems to be broken when used with setParameterList (affects scroll and stream)
This commit is contained in:
parent
6ec48514f7
commit
8d86770dcc
|
@ -188,10 +188,11 @@ public class NativeQueryImpl<T> extends AbstractProducedQuery<T> implements Nati
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected ScrollableResultsImplementor doScroll(ScrollMode scrollMode) {
|
protected ScrollableResultsImplementor doScroll(ScrollMode scrollMode) {
|
||||||
|
final NativeSQLQuerySpecification nativeSQLQuerySpecification = generateQuerySpecification();
|
||||||
final QueryParameters queryParameters = getQueryParameters();
|
final QueryParameters queryParameters = getQueryParameters();
|
||||||
queryParameters.setScrollMode( scrollMode );
|
queryParameters.setScrollMode( scrollMode );
|
||||||
return getProducer().scroll(
|
return getProducer().scroll(
|
||||||
generateQuerySpecification(),
|
nativeSQLQuerySpecification,
|
||||||
queryParameters
|
queryParameters
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue