code: public int getInt(int columnIndex) throws SQLException {
  
          Object o = getColumnInType(columnIndex, Type.SQL_INTEGER);
  
          return o == null ? 0
                           : ((Number) o).intValue();
      }
docs: <!-- start generic documentation -->
  Retrieves the value of the designated column in the current row
  of this <code>ResultSet</code> object as
  an <code>int</code> in the Java programming language.
  <!-- end generic documentation -->
  
  @param columnIndex the first column is 1, the second is 2, ...
  @return the column value; if the value is SQL <code>NULL</code>, the
  value returned is <code>0</code>
  @exception SQLException if a database access error occurs or this method is
  called on a closed result set