Integer cached = ( Integer ) columnNameToIndexCache.get( columnName );
if ( cached != null ) {
return cached.intValue();
}
else {
int index = rs.getTarget().findColumn( columnName );
columnNameToIndexCache.put( columnName, new Integer(index) );
return index;
}