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 int
Number of values in the underlying resultdefault int
The estimate for the amount of results that can be expected for pre-sizing collections.void
release()
default String
resolveColumnName
(int position) Name of a particular result value by positiondefault int
resolveColumnPosition
(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:JdbcValuesMetadata
Number of values in the underlying result- Specified by:
getColumnCount
in interfaceJdbcValuesMetadata
-
resolveColumnPosition
Description copied from interface:JdbcValuesMetadata
Position of a particular result value by name- Specified by:
resolveColumnPosition
in interfaceJdbcValuesMetadata
-
resolveColumnName
Description copied from interface:JdbcValuesMetadata
Name of a particular result value by position- Specified by:
resolveColumnName
in interfaceJdbcValuesMetadata
-
resolveType
default <J> BasicType<J> resolveType(int position, JavaType<J> explicitJavaType, TypeConfiguration typeConfiguration) Description copied from interface:JdbcValuesMetadata
Determine the mapping to use for a particular position in the result- Specified by:
resolveType
in interfaceJdbcValuesMetadata
-