Class AbstractResultSetAccess
- java.lang.Object
-
- org.hibernate.sql.results.jdbc.internal.AbstractResultSetAccess
-
- All Implemented Interfaces:
ResultSetAccess
,JdbcValuesMetadata
- Direct Known Subclasses:
DeferredResultSetAccess
,DirectResultSetAccess
public abstract class AbstractResultSetAccess extends Object implements ResultSetAccess
-
-
Constructor Summary
Constructors Constructor Description AbstractResultSetAccess(SharedSessionContractImplementor persistenceContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getColumnCount()
Number of values in the underlying resultprotected ResultSetMetaData
getMetaData()
protected SharedSessionContractImplementor
getPersistenceContext()
String
resolveColumnName(int position)
Name of a particular result value by positionint
resolveColumnPosition(String columnName)
Position of a particular result value by name-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.sql.results.jdbc.spi.JdbcValuesMetadata
resolveType
-
Methods inherited from interface org.hibernate.sql.results.jdbc.internal.ResultSetAccess
getFactory, getResultSet, release, resolveType
-
-
-
-
Constructor Detail
-
AbstractResultSetAccess
public AbstractResultSetAccess(SharedSessionContractImplementor persistenceContext)
-
-
Method Detail
-
getPersistenceContext
protected SharedSessionContractImplementor getPersistenceContext()
-
getMetaData
protected ResultSetMetaData getMetaData()
-
getColumnCount
public int getColumnCount()
Description copied from interface:JdbcValuesMetadata
Number of values in the underlying result- Specified by:
getColumnCount
in interfaceJdbcValuesMetadata
- Specified by:
getColumnCount
in interfaceResultSetAccess
-
resolveColumnPosition
public int resolveColumnPosition(String columnName)
Description copied from interface:JdbcValuesMetadata
Position of a particular result value by name- Specified by:
resolveColumnPosition
in interfaceJdbcValuesMetadata
- Specified by:
resolveColumnPosition
in interfaceResultSetAccess
-
resolveColumnName
public String resolveColumnName(int position)
Description copied from interface:JdbcValuesMetadata
Name of a particular result value by position- Specified by:
resolveColumnName
in interfaceJdbcValuesMetadata
- Specified by:
resolveColumnName
in interfaceResultSetAccess
-
-