Class DeferredResultSetAccess
java.lang.Object
org.hibernate.sql.results.jdbc.internal.AbstractResultSetAccess
org.hibernate.sql.results.jdbc.internal.DeferredResultSetAccess
- All Implemented Interfaces:
ResultSetAccess
,JdbcValuesMetadata
-
Constructor Summary
ConstructorsConstructorDescriptionDeferredResultSetAccess
(JdbcOperationQuerySelect jdbcSelect, JdbcParameterBindings jdbcParameterBindings, ExecutionContext executionContext, JdbcSelectExecutor.StatementCreator statementCreator, int resultCountEstimate) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
bindParameters
(PreparedStatement preparedStatement) protected LockMode
determineFollowOnLockMode
(LockOptions lockOptions) getLimit()
int
The estimate for the amount of results that can be expected for pre-sizing collections.void
release()
protected void
boolean
protected ResultSet
wrapResultSet
(ResultSet resultSet) Methods inherited from class org.hibernate.sql.results.jdbc.internal.AbstractResultSetAccess
getColumnCount, getMetaData, getPersistenceContext, resolveColumnName, resolveColumnPosition
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.sql.results.jdbc.spi.JdbcValuesMetadata
resolveType
Methods inherited from interface org.hibernate.sql.results.jdbc.internal.ResultSetAccess
resolveType
-
Constructor Details
-
DeferredResultSetAccess
public DeferredResultSetAccess(JdbcOperationQuerySelect jdbcSelect, JdbcParameterBindings jdbcParameterBindings, ExecutionContext executionContext, JdbcSelectExecutor.StatementCreator statementCreator, int resultCountEstimate)
-
-
Method Details
-
getLimitHandler
-
getLimit
-
getResultSet
-
getFactory
-
getFinalSql
-
usesFollowOnLocking
public boolean usesFollowOnLocking() -
bindParameters
- Throws:
SQLException
-
skipRows
- Throws:
SQLException
-
wrapResultSet
- Throws:
SQLException
-
determineFollowOnLockMode
-
release
public void release() -
getResultCountEstimate
public int getResultCountEstimate()Description copied from interface:ResultSetAccess
The estimate for the amount of results that can be expected for pre-sizing collections. May return zero or negative values if the count can not be reasonably estimated.
-