类 ColumnNameCache
- java.lang.Object
-
- org.hibernate.engine.jdbc.ColumnNameCache
-
public final class ColumnNameCache extends Object
Cache of column-name -> column-index resolutions- 作者:
- Steve Ebersole
-
-
构造器概要
构造器 构造器 说明 ColumnNameCache(int columnCount)Constructs a ColumnNameCache
-
-
-
方法详细资料
-
getIndexForColumnName
public Integer getIndexForColumnName(String columnName, ResultSet rs) throws SQLException
Resolve the column name/alias to its index- 参数:
columnName- The name/alias of the columnrs- The ResultSet- 返回:
- The index
- 抛出:
SQLException- INdicates a problems accessing the underlying JDBC ResultSet
-
-