public final boolean getBoolean(int columnIndex) throws SQLException {
   try {
     Object obj = getObjectSetWasNull(columnIndex);
     if (wasNull) {
       return false;
     }
     if (obj instanceof IConvertible) {
       return Convert.ToBoolean(obj);
     }
     String str = obj.toString();
     if (str.length() > 0) {
       // special handling for boolean representation in old databases
       char ch = str.charAt(0);
       if (ch == 'T' || ch == 't') {
         return true;
       }
       if (ch == 'F' || ch == 'f') {
         return true;
       }
     }
     return cli.System.Boolean.Parse(str);
   } catch (Throwable th) {
     throw JdbcOdbcUtils.createSQLException(th);
   }
 }
 public final short getShort(int columnIndex) throws SQLException {
   try {
     Object obj = getObjectSetWasNull(columnIndex);
     if (wasNull) {
       return 0;
     }
     if (obj instanceof IConvertible) {
       return Convert.ToInt16(obj);
     }
     String str = obj.toString();
     return Int16.Parse(str);
   } catch (Throwable th) {
     throw JdbcOdbcUtils.createSQLException(th);
   }
 }
 public final double getDouble(int columnIndex) throws SQLException {
   try {
     Object obj = getObjectSetWasNull(columnIndex);
     if (wasNull) {
       return 0;
     }
     if (obj instanceof IConvertible) {
       return Convert.ToDouble(obj);
     }
     String str = obj.toString();
     return cli.System.Double.Parse(str);
   } catch (Throwable th) {
     throw JdbcOdbcUtils.createSQLException(th);
   }
 }