When iterating through a Resultset in the standard way
while (rs.next()){
...
}
To retrieve column data (e.g long) is it quicker to use
rs.getLong(String columnLabel)
or
rs.getLong(int columnIndex)
Presumably columnLabel is better to use in many ways for stronger code, but is there a significant operational loss by matching a column to the string every time (we're talking table sizes of ~40m rows)?