Using the following code works well:
int i = resultSet.findColumn("MY_COLUMN")
However, what do I use if my SQL call contains a:
"SELECT SUM(MY_COLUMN) FROM ....."?
The first statement no longer locates the column index for MY_COLUMN when I use SUM. How do I find the column for this?