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 class CustomLoader extends Loader {
|
||||||
}
|
}
|
||||||
|
|
||||||
static private HolderInstantiator getHolderInstantiator(ResultTransformer resultTransformer, String[] queryReturnAliases) {
|
static private HolderInstantiator getHolderInstantiator(ResultTransformer resultTransformer, String[] queryReturnAliases) {
|
||||||
if ( resultTransformer != null ) {
|
if ( resultTransformer == null ) {
|
||||||
return HolderInstantiator.NOOP_INSTANTIATOR;
|
return HolderInstantiator.NOOP_INSTANTIATOR;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue