mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-17 08:35:13 +00:00
HHH-3694 ResultTransformer not used when scroll() is used on a named SQLQuery
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19349 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
bdc83cb2e6
commit
e13821624d
@ -328,7 +328,7 @@ public ScrollableResults scroll(
|
||||
}
|
||||
|
||||
static private HolderInstantiator getHolderInstantiator(ResultTransformer resultTransformer, String[] queryReturnAliases) {
|
||||
if ( resultTransformer != null ) {
|
||||
if ( resultTransformer == null ) {
|
||||
return HolderInstantiator.NOOP_INSTANTIATOR;
|
||||
}
|
||||
else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user