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 voidbindParameters(PreparedStatement preparedStatement) protected LockModedetermineFollowOnLockMode(LockOptions lockOptions) protected SessionFactoryImplementorgetLimit()intAn estimate for the number of results that can be expected for pre-sizing collections.The JDBCResultSetprotected voidregisterAfterLoadAction(ExecutionContext executionContext, LockOptions lockOptionsToUse) For Hibernate Reactivevoidrelease()Release the JDBCResultSetprotected voidbooleanprotected ResultSetwrapResultSet(ResultSet resultSet) Methods inherited from class org.hibernate.sql.results.jdbc.internal.AbstractResultSetAccess
getColumnCount, getPersistenceContext, resolveColumnName, resolveColumnPosition, resolveTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.sql.results.jdbc.spi.JdbcValuesMetadata
resolveType
-
Constructor Details
-
DeferredResultSetAccess
public DeferredResultSetAccess(JdbcOperationQuerySelect jdbcSelect, JdbcParameterBindings jdbcParameterBindings, ExecutionContext executionContext, JdbcSelectExecutor.StatementCreator statementCreator, int resultCountEstimate)
-
-
Method Details
-
registerAfterLoadAction
protected void registerAfterLoadAction(ExecutionContext executionContext, LockOptions lockOptionsToUse) For Hibernate Reactive -
getLimitHandler
-
getLimit
-
getResultSet
Description copied from interface:ResultSetAccessThe JDBCResultSet -
getFactory
- Specified by:
getFactoryin classAbstractResultSetAccess
-
getFinalSql
-
usesFollowOnLocking
public boolean usesFollowOnLocking() -
bindParameters
- Throws:
SQLException
-
skipRows
- Throws:
SQLException
-
wrapResultSet
- Throws:
SQLException
-
determineFollowOnLockMode
-
release
public void release()Description copied from interface:ResultSetAccessRelease the JDBCResultSet -
getResultCountEstimate
public int getResultCountEstimate()Description copied from interface:ResultSetAccessAn estimate for the number of results that can be expected for pre-sizing collections. May return zero or negative values if the count cannot be reasonably estimated.- Specified by:
getResultCountEstimatein interfaceResultSetAccess- Overrides:
getResultCountEstimatein classAbstractResultSetAccess
-