Interface JdbcValuesMetadata
- All Known Subinterfaces:
ResultSetAccess
- All Known Implementing Classes:
AbstractResultSetAccess
,CachedJdbcValuesMetadata
,DeferredResultSetAccess
,DirectResultSetAccess
public interface JdbcValuesMetadata
Access to information about the underlying JDBC values
such as type, position, column name, etc
-
Method Summary
Modifier and TypeMethodDescriptionint
Number of values in the underlying resultresolveColumnName
(int position) Name of a particular result value by positionint
resolveColumnPosition
(String columnName) Position of a particular result value by namedefault <J> BasicType<J>
resolveType
(int position, JavaType<J> explicitJavaType, SessionFactoryImplementor sessionFactory) Determine the mapping to use for a particular position in the result<J> BasicType<J>
resolveType
(int position, JavaType<J> explicitJavaType, TypeConfiguration typeConfiguration) Determine the mapping to use for a particular position in the result
-
Method Details
-
getColumnCount
int getColumnCount()Number of values in the underlying result -
resolveColumnPosition
Position of a particular result value by name -
resolveColumnName
Name of a particular result value by position -
resolveType
default <J> BasicType<J> resolveType(int position, JavaType<J> explicitJavaType, SessionFactoryImplementor sessionFactory) Determine the mapping to use for a particular position in the result -
resolveType
<J> BasicType<J> resolveType(int position, JavaType<J> explicitJavaType, TypeConfiguration typeConfiguration) Determine the mapping to use for a particular position in the result
-