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) Deprecated, for removal: This API element is subject to removal in a future version.The existence of this method encourages people to pass around references to the SessionFactoryImplementor when they don't need it<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
@Deprecated(since="7.0", forRemoval=true) default <J> BasicType<J> resolveType(int position, JavaType<J> explicitJavaType, SessionFactoryImplementor sessionFactory) Deprecated, for removal: This API element is subject to removal in a future version.The existence of this method encourages people to pass around references to the SessionFactoryImplementor when they don't need itDetermine 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
-