public byte[] getBytes(int columnIndex) throws  SQLException { Object obj = getObject(columnIndex); if (obj == null) { return null; } if (obj instanceof byte[]) { return (byte[]) obj; } else { throw new SQLException("Illegal type conversion"); }
public byte[] getBytes(int columnIndex) throws SQLException { return getField(columnIndex).getBytes();
    public byte[] getBytes(int columnIndex) throws  SQLException {        Object obj = getObject(columnIndex);        if (obj == null) {            return null;        } if (obj instanceof byte[]) {            return (byte[]) obj;        } else {            throw new SQLException("Illegal type conversion");        }    }