Interface ResultSetAccess
- All Superinterfaces:
JdbcValuesMetadata
- All Known Implementing Classes:
AbstractResultSetAccess,DeferredResultSetAccess,DirectResultSetAccess
Access to a JDBC
ResultSet and information about it.-
Method Summary
Modifier and TypeMethodDescriptiondefault intNumber of values in the underlying resultdefault intThe estimate for the amount of results that can be expected for pre-sizing collections.voidrelease()default StringresolveColumnName(int position) Name of a particular result value by positiondefault intresolveColumnPosition(String columnName) Position of a particular result value by namedefault <J> BasicType<J>resolveType(int position, JavaType<J> explicitJavaType, TypeConfiguration typeConfiguration) Determine the mapping to use for a particular position in the resultMethods inherited from interface org.hibernate.sql.results.jdbc.spi.JdbcValuesMetadata
resolveType
-
Method Details
-
getResultSet
ResultSet getResultSet() -
getFactory
SessionFactoryImplementor getFactory() -
release
void release() -
getResultCountEstimate
default int getResultCountEstimate()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.- Since:
- 6.6
-
getColumnCount
default int getColumnCount()Description copied from interface:JdbcValuesMetadataNumber of values in the underlying result- Specified by:
getColumnCountin interfaceJdbcValuesMetadata
-
resolveColumnPosition
Description copied from interface:JdbcValuesMetadataPosition of a particular result value by name- Specified by:
resolveColumnPositionin interfaceJdbcValuesMetadata
-
resolveColumnName
Description copied from interface:JdbcValuesMetadataName of a particular result value by position- Specified by:
resolveColumnNamein interfaceJdbcValuesMetadata
-
resolveType
default <J> BasicType<J> resolveType(int position, JavaType<J> explicitJavaType, TypeConfiguration typeConfiguration) Description copied from interface:JdbcValuesMetadataDetermine the mapping to use for a particular position in the result- Specified by:
resolveTypein interfaceJdbcValuesMetadata
-