Top Description Fields Constructors Methods
org.hibernate.loader.custom

pack-priv Class JdbcResultMetadata

extends Object
Class Inheritance
Imports
java.sql.ResultSet, .ResultSetMetaData, .SQLException, .Types, java.util.Set, org.hibernate.HibernateException, org.hibernate.engine.spi.SessionFactoryImplementor, org.hibernate.type.Type

Simplified access to JDBC ResultSetMetaData
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final SessionFactoryImplementor
factory

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
private final ResultSet
private final ResultSetMetaData

Constructor Summary

AccessConstructor and Description
public
JdbcResultMetadata(SessionFactoryImplementor factory, ResultSet resultSet)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.

Method Summary

Modifier and TypeMethod and Description
public int
public String
getColumnName(int position)

public Type
getHibernateType(int columnPos)

public int
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

factoryback to summary
private final SessionFactoryImplementor factory

Deprecated

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

resultSetback to summary
private final ResultSet resultSet
resultSetMetaDataback to summary
private final ResultSetMetaData resultSetMetaData

Constructor Detail

JdbcResultMetadataback to summary
public JdbcResultMetadata(SessionFactoryImplementor factory, ResultSet resultSet) throws HibernateException

Deprecated

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

Method Detail

getColumnCountback to summary
public int getColumnCount() throws HibernateException
getColumnNameback to summary
public String getColumnName(int position) throws HibernateException
getHibernateTypeback to summary
public Type getHibernateType(int columnPos) throws SQLException
resolveColumnPositionback to summary
public int resolveColumnPosition(String columnName) throws HibernateException