Long value = (Long)rs.row[numCol];
Long value = new Long(XSQLVAR.decodeLong(rs.row[numCol]));
    short getShort() throws SQLException {        if (rs.row[numCol]==null) return SHORT_NULL_VALUE;        Long value = (Long)rs.row[numCol];        // check if value is withing bounds        if (value.longValue() > MAX_SHORT_VALUE ||            value.longValue() < MIN_SHORT_VALUE)                throw (SQLException)createException(                    BYTE_CONVERSION_ERROR+" "+value).fillInStackTrace();        return value.shortValue();    }