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) protected SessionFactoryImplementor
getLimit()
int
An estimate for the number of results that can be expected for pre-sizing collections.The JDBCResultSet
protected void
registerAfterLoadAction
(ExecutionContext executionContext, LockOptions lockOptionsToUse) For Hibernate Reactivevoid
release()
Release the JDBCResultSet
protected void
boolean
protected ResultSet
wrapResultSet
(ResultSet resultSet) Methods inherited from class org.hibernate.sql.results.jdbc.internal.AbstractResultSetAccess
getColumnCount, getPersistenceContext, resolveColumnName, resolveColumnPosition, resolveType
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
-
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:ResultSetAccess
The JDBCResultSet
-
getFactory
- Specified by:
getFactory
in classAbstractResultSetAccess
-
getFinalSql
-
usesFollowOnLocking
public boolean usesFollowOnLocking() -
bindParameters
- Throws:
SQLException
-
skipRows
- Throws:
SQLException
-
wrapResultSet
- Throws:
SQLException
-
determineFollowOnLockMode
-
release
public void release()Description copied from interface:ResultSetAccess
Release the JDBCResultSet
-
getResultCountEstimate
public int getResultCountEstimate()Description copied from interface:ResultSetAccess
An 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:
getResultCountEstimate
in interfaceResultSetAccess
- Overrides:
getResultCountEstimate
in classAbstractResultSetAccess
-