Improved JdbcSelectExecutorStandardImpl#getResultSize() method
This commit is contained in:
parent
573d146046
commit
4a0351b157
|
@ -272,7 +272,7 @@ public class JdbcSelectExecutorStandardImpl implements JdbcSelectExecutor {
|
|||
if ( result instanceof List ) {
|
||||
return ( (List) result ).size();
|
||||
}
|
||||
return ( (ScrollableResultsImplementor) result ).getRowNumber();
|
||||
return -1;
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
|
|
Loading…
Reference in New Issue