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 Type
    Method
    Description
    int
    Number of values in the underlying result
    resolveColumnName(int position)
    Name of a particular result value by position
    int
    Position of a particular result value by name
    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 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

      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

      @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 it
      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