mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-17 00:24:57 +00:00
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 @@ private void prepareQueryReturnsIfNecessary() {
|
||||
|
||||
@Override
|
||||
protected ScrollableResultsImplementor doScroll(ScrollMode scrollMode) {
|
||||
final NativeSQLQuerySpecification nativeSQLQuerySpecification = generateQuerySpecification();
|
||||
final QueryParameters queryParameters = getQueryParameters();
|
||||
queryParameters.setScrollMode( scrollMode );
|
||||
return getProducer().scroll(
|
||||
generateQuerySpecification(),
|
||||
nativeSQLQuerySpecification,
|
||||
queryParameters
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user