Top Description Methods
org.hibernate.sql.results.jdbc.spi

public Interface JdbcValuesMetadata

Known Direct Subinterfaces
org.hibernate.sql.results.jdbc.internal.ResultSetAccess
Known Direct Implementers
org.hibernate.sql.exec.internal.JdbcSelectExecutorStandardImpl.CapturingJdbcValuesMetadata, org.hibernate.sql.exec.internal.JdbcSelectExecutorStandardImpl.CachedJdbcValuesMetadata
Imports
org.hibernate.engine.spi.SessionFactoryImplementor, org.hibernate.type.BasicType, org.hibernate.type.descriptor.java.JavaType, org.hibernate.type.spi.TypeConfiguration

Access to information about the underlying JDBC values such as type, position, column name, etc

Method Summary

Modifier and TypeMethod and Description
public int
getColumnCount()

Number of values in the underlying result

public String
resolveColumnName(int position)

Name of a particular result value by position

public int
resolveColumnPosition(String columnName)

Position of a particular result value by name

public default <J> BasicType<J>
resolveType(int position, JavaType<J> explicitJavaType, SessionFactoryImplementor sessionFactory)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
Determine the mapping to use for a particular position in the result
public <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

getColumnCountback to summary
public int getColumnCount()

Number of values in the underlying result

resolveColumnNameback to summary
public String resolveColumnName(int position)

Name of a particular result value by position

resolveColumnPositionback to summary
public int resolveColumnPosition(String columnName)

Position of a particular result value by name

resolveTypeback to summary
public default <J> BasicType<J> resolveType(int position, JavaType<J> explicitJavaType, SessionFactoryImplementor sessionFactory)

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

Determine the mapping to use for a particular position in the result

resolveTypeback to summary
public <J> BasicType<J> resolveType(int position, JavaType<J> explicitJavaType, TypeConfiguration typeConfiguration)

Determine the mapping to use for a particular position in the result