Result Set Column Index. Columns are numbered from 1. The ResultSet interface provides getter methods getBoolean getLong and so on for retrieving column values from the current row.
For the getXX methods Finance and Operations attempts to convert the underlying data to the specified type and returns a suitable value. If no output Stream needs to be read or there are no input Stream columns in the result set this method returns 0. The term result set refers to the row and column data contained in a ResultSet object.
Values can be retrieved using either the index number of the column or the name of the column.
Why only the ResultSetgetxxxx1 has to start from column index from 1 onwards. I suppose this is a because it does so just accept it answer. Columns are numbered from 1. Why only the ResultSetgetxxxx1 has to start from column index from 1 onwards.