Package org.hibernate.engine.jdbc
Class ColumnNameCache
- java.lang.Object
-
- org.hibernate.engine.jdbc.ColumnNameCache
-
@Deprecated public final class ColumnNameCache extends Object
Deprecated.(since 5.5) Scheduled for removal in 6.0 as ResultSet wrapping is no longer neededCache of column-name -> column-index resolutions
-
-
Constructor Summary
Constructors Constructor Description ColumnNameCache(int columnCount)
Deprecated.Constructs a ColumnNameCache
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Integer
getIndexForColumnName(String columnName, ResultSet rs)
Deprecated.Resolve the column name/alias to its index
-
-
-
Method Detail
-
getIndexForColumnName
public Integer getIndexForColumnName(String columnName, ResultSet rs) throws SQLException
Deprecated.Resolve the column name/alias to its index- Parameters:
columnName
- The name/alias of the columnrs
- The ResultSet- Returns:
- The index
- Throws:
SQLException
- INdicates a problems accessing the underlying JDBC ResultSet
-
-