Interface JdbcValuesMetadata
-
- All Known Subinterfaces:
ResultSetAccess
- All Known Implementing Classes:
AbstractResultSetAccess
,DeferredResultSetAccess
,DirectResultSetAccess
,JdbcSelectExecutorStandardImpl.CapturingJdbcValuesMetadata
public interface JdbcValuesMetadata
Access to information about the underlying JDBC values such as type, position, column name, etc
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description int
getColumnCount()
Number of values in the underlying resultString
resolveColumnName(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 Detail
-
getColumnCount
int getColumnCount()
Number of values in the underlying result
-
resolveColumnPosition
int resolveColumnPosition(String columnName)
Position of a particular result value by name
-
resolveColumnName
String resolveColumnName(int position)
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
-
-