public final class ColumnNameCache extends Object
| Constructor and Description |
|---|
ColumnNameCache(int columnCount)
Constructs a ColumnNameCache
|
| Modifier and Type | Method and Description |
|---|---|
Integer |
getIndexForColumnName(String columnName,
ResultSet rs)
Resolve the column name/alias to its index
|
public ColumnNameCache(int columnCount)
columnCount - The number of columns to be cached.public Integer getIndexForColumnName(String columnName, ResultSet rs) throws SQLException
columnName - The name/alias of the columnrs - The ResultSetSQLException - INdicates a problems accessing the underlying JDBC ResultSetCopyright © 2017 JBoss by Red Hat. All rights reserved.