com.ibm.as400.access

Class AS400JDBCArrayResultSet

  • java.lang.Object
    • com.ibm.as400.access.AS400JDBCArrayResultSet
  • All Implemented Interfaces:
    java.sql.ResultSet, java.sql.Wrapper


    public class AS400JDBCArrayResultSet
    extends java.lang.Object
    implements java.sql.ResultSet
    AS400JDBCArrayResultSet is a JDBC ResultSet that contains Array data. This is a client-side only object. This is used to navigating through returned data from IBM i DB2 using Toolbox JDBC. No updates will be functional nor will they be sent back to the host server. Note that this ResultSet is limited in its functionality since it is not tied back to a cursor in the database. Its primary purpose is for retrieving data back from the database.
    • Field Summary

      • Fields inherited from interface java.sql.ResultSet

        CLOSE_CURSORS_AT_COMMIT, CONCUR_READ_ONLY, CONCUR_UPDATABLE, FETCH_FORWARD, FETCH_REVERSE, FETCH_UNKNOWN, HOLD_CURSORS_OVER_COMMIT, TYPE_FORWARD_ONLY, TYPE_SCROLL_INSENSITIVE, TYPE_SCROLL_SENSITIVE
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      boolean absolute(int row)
      Positions the cursor to an absolute row number.
      void afterLast()
      Positions the cursor after the last row.
      void beforeFirst()
      Sets cursor position before the first row.
      void cancelRowUpdates()
      Cancels all pending updates that have been made since the last call to updateRow().
      void clearWarnings()
      Clears all warnings that have been reported for the result set.
      void close()
      Closes this ResultSet
      void deleteRow()
      Deletes the current row from the result set and the database.
      int findColumn(java.lang.String columnName)
      Returns the column index for the specified column name.
      boolean first()
      Positions the cursor to the first row.
      java.sql.Array getArray(int column)
      Returns the value of a column as an Array object.
      java.sql.Array getArray(java.lang.String columnName)
      Returns the value of a column as an Array object.
      java.io.InputStream getAsciiStream(int column)
      Returns the value of a column as a stream of ASCII characters.
      java.io.InputStream getAsciiStream(java.lang.String columnName)
      Returns the value of a column as a stream of ASCII characters.
      java.math.BigDecimal getBigDecimal(int column)
      Returns the value of a column as a BigDecimal object.
      java.math.BigDecimal getBigDecimal(int column, int scale)
      Deprecated. 
      Use getBigDecimal(int) instead.
      java.math.BigDecimal getBigDecimal(java.lang.String columnName)
      Returns the value of a column as a BigDecimal object.
      java.math.BigDecimal getBigDecimal(java.lang.String columnName, int scale)
      Deprecated. 
      Use getBigDecimal(int) instead.
      java.io.InputStream getBinaryStream(int column)
      Returns the value of a column as a stream of uninterpreted bytes.
      java.io.InputStream getBinaryStream(java.lang.String columnName)
      Returns the value of a column as a stream of uninterpreted bytes.
      java.sql.Blob getBlob(int column)
      Returns the value of a column as a Blob object.
      java.sql.Blob getBlob(java.lang.String columnName)
      Returns the value of a column as a Blob object.
      boolean getBoolean(int column)
      Returns the value of a column as a Java boolean value.
      boolean getBoolean(java.lang.String columnName)
      Returns the value of a column as a Java boolean value.
      byte getByte(int column)
      Returns the value of a column as a Java byte value.
      byte getByte(java.lang.String columnName)
      Returns the value of a column as a Java byte value.
      byte[] getBytes(int column)
      Returns the value of a column as a Java byte array.
      byte[] getBytes(java.lang.String columnName)
      Returns the value of a column as a Java byte array.
      java.io.Reader getCharacterStream(int column)
      Returns the value of a column as a character stream.
      java.io.Reader getCharacterStream(java.lang.String columnName)
      Returns the value of a column as a character stream.
      java.sql.Clob getClob(int column)
      Returns the value of a column as a Clob object.
      java.sql.Clob getClob(java.lang.String columnName)
      Returns the value of a column as a Clob object.
      int getConcurrency()
      Returns the result set concurrency.
      java.lang.String getCursorName()
      Returns the name of the SQL cursor in use by the result set.
      java.sql.Date getDate(int column)
      Returns the value of a column as a java.sql.Date object using the default calendar.
      java.sql.Date getDate(int column, java.util.Calendar calendar)
      Returns the value of a column as a java.sql.Date object using a calendar other than the default.
      java.sql.Date getDate(java.lang.String columnName)
      Returns the value of a column as a java.sql.Date object using the default calendar.
      java.sql.Date getDate(java.lang.String columnName, java.util.Calendar calendar)
      Returns the value of a column as a java.sql.Date object using a calendar other than the default.
      double getDouble(int column)
      Returns the value of a column as a Java double value.
      double getDouble(java.lang.String columnName)
      Returns the value of a column as a Java double value.
      int getFetchDirection()
      Returns the fetch direction.
      int getFetchSize()
      Returns the fetch size.
      float getFloat(int column)
      Returns the value of a column as a Java float value.
      float getFloat(java.lang.String columnName)
      Returns the value of a column as a Java float value.
      int getHoldability()
      Retrieves the holdability.
      int getInt(int column)
      Returns the value of a column as a Java int value.
      int getInt(java.lang.String columnName)
      Returns the value of a column as a Java int value.
      long getLong(int column)
      Returns the value of a column as a Java long value.
      long getLong(java.lang.String columnName)
      Returns the value of a column as a Java long value.
      java.sql.ResultSetMetaData getMetaData()
      Returns the ResultSetMetaData object that describes the result set's columns.
      java.io.Reader getNCharacterStream(int column)
      Retrieves the value of the designated column in the current row of this ResultSet object as a java.io.Reader object.
      java.io.Reader getNCharacterStream(java.lang.String columnName)
      Retrieves the value of the designated column in the current row of this ResultSet object as a java.io.Reader object.
      java.lang.String getNString(int column)
      Retrieves the value of the designated column in the current row of this ResultSet object as a String in the Java programming language.
      java.lang.String getNString(java.lang.String columnName)
      Retrieves the value of the designated column in the current row of this ResultSet object as a String in the Java programming language.
      java.lang.Object getObject(int column)
      Returns the value of a column as a Java Object.
      java.lang.Object getObject(int columnIndex, java.lang.Class type) 
      java.lang.Object getObject(int column, java.util.Map map)
      Returns the value of a column as a Java Object.
      java.lang.Object getObject(java.lang.String columnName)
      Returns the value of a column as a Java Object.
      java.lang.Object getObject(java.lang.String columnLabel, java.lang.Class type) 
      java.lang.Object getObject(java.lang.String columnName, java.util.Map map)
      Returns the value of a column as a Java Object.
      java.sql.Ref getRef(int column)
      Returns the value of a column as a Ref object.
      java.sql.Ref getRef(java.lang.String columnName)
      Returns the value of a column as a Ref object.
      int getRow()
      Retrieves the current row number.
      short getShort(int column)
      Returns the value of a column as a Java short value.
      short getShort(java.lang.String columnName)
      Returns the value of a column as a Java short value.
      java.sql.Statement getStatement()
      Returns the statement for this result set.
      java.lang.String getString(int column)
      Returns the value of a column as a String object.
      java.lang.String getString(java.lang.String columnName)
      Returns the value of a column as a String object.
      java.sql.Time getTime(int column)
      Returns the value of a column as a java.sql.Time object using the default calendar.
      java.sql.Time getTime(int column, java.util.Calendar calendar)
      Returns the value of a column as a java.sql.Time object using the default calendar.
      java.sql.Time getTime(java.lang.String columnName)
      Returns the value of a column as a java.sql.Time object using the default calendar.
      java.sql.Time getTime(java.lang.String columnName, java.util.Calendar calendar)
      Returns the value of a column as a java.sql.Time object using the default calendar.
      java.sql.Timestamp getTimestamp(int column)
      Returns the value of a column as a java.sql.Timestamp object using the default calendar.
      java.sql.Timestamp getTimestamp(int column, java.util.Calendar calendar)
      Returns the value of a column as a java.sql.Timestamp object using a calendar other than the default.
      java.sql.Timestamp getTimestamp(java.lang.String columnName)
      Returns the value of a column as a java.sql.Timestamp object using the default calendar.
      java.sql.Timestamp getTimestamp(java.lang.String columnName, java.util.Calendar calendar)
      Returns the value of a column as a java.sql.Timestamp object using a calendar other than the default.
      int getType()
      Returns the result set type.
      java.io.InputStream getUnicodeStream(int column)
      Deprecated. 
      Use getCharacterStream(int) instead.
      java.io.InputStream getUnicodeStream(java.lang.String columnName)
      Deprecated. 
      Use getCharacterStream(String) instead.
      java.net.URL getURL(int column)
      Returns the value of an SQL DATALINK output parameter as a java.net.URL object.
      java.net.URL getURL(java.lang.String columnName)
      Returns the value of an SQL DATALINK output parameter as a java.net.URL object.
      protected java.lang.String[] getValidWrappedList() 
      java.sql.SQLWarning getWarnings()
      Returns the first warning reported for the result set.
      void insertRow()
      Inserts the contents of the insert row into the result set and the database.
      boolean isAfterLast()
      Indicates if the cursor is positioned after the last row.
      boolean isBeforeFirst()
      Indicates if the cursor is positioned before the first row.
      boolean isClosed()
      Indicates if the result set is closed.
      boolean isFirst()
      Indicates if the cursor is positioned on the first row.
      boolean isLast()
      Indicates if the cursor is positioned on the last row.
      boolean last()
      Positions the cursor to the last row.
      void moveToCurrentRow()
      Positions the cursor to the current row.
      void moveToInsertRow()
      Positions the cursor to the insert row.
      boolean next()
      Positions the cursor to the next row.
      boolean previous()
      Positions the cursor to the previous row.
      void refreshRow()
      Refreshes the current row from the database.
      boolean relative(int rows)
      Positions the cursor to a relative row number.
      boolean rowDeleted()
      Indicates if the current row has been deleted.
      boolean rowInserted()
      Indicates if the current row has been inserted.
      boolean rowUpdated()
      Indicates if the current row has been updated.
      void setFetchDirection(int direction)
      Sets the direction in which the rows in a result set are processed.
      void setFetchSize(int rows)
      Sets the number of rows to be fetched from the database when more rows are needed.
      void updateArray(int column, java.sql.Array x)
      Updates the value of a column as an Array object.
      void updateArray(java.lang.String columnName, java.sql.Array x)
      Updates the value of a column as an Array object.
      void updateAsciiStream(int column, java.io.InputStream x)
      Updates the designated column with an ascii stream value, which will have the specified number of bytes.
      void updateAsciiStream(int column, java.io.InputStream x, int length)
      Updates the designated column with an ascii stream value, which will have the specified number of bytes.
      void updateAsciiStream(int column, java.io.InputStream x, long length)
      Updates the designated column with an ascii stream value, which will have the specified number of bytes.
      void updateAsciiStream(java.lang.String columnName, java.io.InputStream x)
      Updates the designated column with an ascii stream value, which will have the specified number of bytes.
      void updateAsciiStream(java.lang.String columnName, java.io.InputStream x, int length)
      Updates the designated column with an ascii stream value, which will have the specified number of bytes.
      void updateAsciiStream(java.lang.String columnName, java.io.InputStream x, long length)
      Updates the designated column with an ascii stream value, which will have the specified number of bytes.
      void updateBigDecimal(int column, java.math.BigDecimal x)
      Updates a column in the current row using a BigDecimal value.
      void updateBigDecimal(java.lang.String columnName, java.math.BigDecimal x)
      Updates a column in the current row using a BigDecimal value.
      void updateBinaryStream(int column, java.io.InputStream x)
      Updates the designated column with a binary stream value.
      void updateBinaryStream(int column, java.io.InputStream x, int length)
      Updates the designated column with a binary stream value, which will have the specified number of bytes.
      void updateBinaryStream(int column, java.io.InputStream x, long length)
      Updates the designated column with a binary stream value.
      void updateBinaryStream(java.lang.String columnName, java.io.InputStream x)
      Updates the designated column with a binary stream value.
      void updateBinaryStream(java.lang.String columnName, java.io.InputStream x, int length)
      Updates the designated column with a binary stream value, which will have the specified number of bytes.
      void updateBinaryStream(java.lang.String columnName, java.io.InputStream x, long length)
      Updates the designated column with a binary stream value.
      void updateBlob(int column, java.sql.Blob x)
      Updates a column in the current row using a Java Blob value.
      void updateBlob(int column, java.io.InputStream x)
      Updates the designated column using the given input stream.
      void updateBlob(int column, java.io.InputStream x, long length)
      Updates the designated column using the given input stream.
      void updateBlob(java.lang.String columnName, java.sql.Blob x)
      Updates a column in the current row using a Java Blob value.
      void updateBlob(java.lang.String columnName, java.io.InputStream x)
      Updates the designated column using the given input stream.
      void updateBlob(java.lang.String columnName, java.io.InputStream x, long length)
      Updates the designated column using the given input stream.
      void updateBoolean(int column, boolean x)
      Updates a column in the current row using a Java boolean value.
      void updateBoolean(java.lang.String columnName, boolean x)
      Updates a column in the current row using a Java boolean value.
      void updateByte(int column, byte x)
      Updates a column in the current row using a Java byte value.
      void updateByte(java.lang.String columnName, byte x)
      Updates a column in the current row using a Java byte value.
      void updateBytes(int column, byte[] x)
      Updates a column in the current row using a Java byte array value.
      void updateBytes(java.lang.String columnName, byte[] x)
      Updates a column in the current row using a Java byte array value.
      void updateCharacterStream(int column, java.io.Reader x)
      Updates the designated column with a character stream value.
      void updateCharacterStream(int column, java.io.Reader x, int length)
      Updates a column in the current row using a Reader value.
      void updateCharacterStream(int column, java.io.Reader x, long length)
      Updates the designated column with a character stream value.
      void updateCharacterStream(java.lang.String columnName, java.io.Reader x)
      Updates the designated column with a character stream value.
      void updateCharacterStream(java.lang.String columnName, java.io.Reader x, int length)
      Updates a column in the current row using a Reader value.
      void updateCharacterStream(java.lang.String columnName, java.io.Reader x, long length)
      Updates the designated column with a character stream value.
      void updateClob(int column, java.sql.Clob x)
      Updates a column in the current row using a Java Clob value.
      void updateClob(int column, java.io.Reader x)
      Updates the designated column using the given Reader object.
      void updateClob(int column, java.io.Reader x, long length)
      Updates the designated column using the given Reader object.
      void updateClob(java.lang.String columnName, java.sql.Clob x)
      Updates a column in the current row using a Java Clob value.
      void updateClob(java.lang.String columnName, java.io.Reader x)
      Updates the designated column using the given Reader object.
      void updateClob(java.lang.String columnName, java.io.Reader x, long length)
      Updates the designated column using the given Reader object.
      void updateDate(int column, java.sql.Date x)
      Updates a column in the current row using a java.sql.Date value.
      void updateDate(java.lang.String columnName, java.sql.Date x)
      Updates a column in the current row using a java.sql.Date value.
      void updateDouble(int column, double x)
      Updates a column in the current row using a Java double value.
      void updateDouble(java.lang.String columnName, double x)
      Updates a column in the current row using a Java double value.
      void updateFloat(int column, float x)
      Updates a column in the current row using a Java float value.
      void updateFloat(java.lang.String columnName, float x)
      Updates a column in the current row using a Java float value.
      void updateInt(int column, int x)
      Updates a column in the current row using a Java int value.
      void updateInt(java.lang.String columnName, int x)
      Updates a column in the current row using a Java int value.
      void updateLong(int column, long x)
      Updates a column in the current row using a Java long value.
      void updateLong(java.lang.String columnName, long x)
      Updates a column in the current row using a Java long value.
      void updateNCharacterStream(int column, java.io.Reader x)
      Updates the designated column with a character stream value.
      void updateNCharacterStream(int column, java.io.Reader x, long length)
      Updates the designated column with a character stream value.
      void updateNCharacterStream(java.lang.String columnName, java.io.Reader x)
      Updates the designated column with a character stream value.
      void updateNCharacterStream(java.lang.String columnName, java.io.Reader x, long length)
      Updates the designated column with a character stream value.
      void updateNClob(int column, java.io.Reader x)
      Updates the designated column using the given Reader
      void updateNClob(int column, java.io.Reader x, long length)
      Updates the designated column using the given Reader
      void updateNClob(java.lang.String columnName, java.io.Reader x)
      Updates the designated column using the given Reader
      void updateNClob(java.lang.String columnName, java.io.Reader x, long length)
      Updates the designated column using the given Reader
      void updateNString(int column, java.lang.String x)
      Updates the designated column with a String value.
      void updateNString(java.lang.String columnName, java.lang.String x)
      Updates the designated column with a String value.
      void updateNull(int column)
      Updates a column in the current row using SQL NULL.
      void updateNull(java.lang.String columnName)
      Updates a column in the current row using SQL NULL.
      void updateObject(int column, java.lang.Object x)
      Updates a column in the current row using an Object value.
      void updateObject(int column, java.lang.Object x, int scale)
      Updates a column in the current row using an Object value.
      void updateObject(java.lang.String columnName, java.lang.Object x)
      Updates a column in the current row using an Object value.
      void updateObject(java.lang.String columnName, java.lang.Object x, int scale)
      Updates a column in the current row using an Object value.
      void updateRef(int column, java.sql.Ref x)
      Updates the value of an SQL REF output parameter as a Ref value.
      void updateRef(java.lang.String columnName, java.sql.Ref x)
      Updates the value of an SQL REF output parameter as a Ref value.
      void updateRow()
      Cancels all pending updates that have been made since the last call to updateRow().
      void updateShort(int column, short x)
      Updates a column in the current row using a Java short value.
      void updateShort(java.lang.String columnName, short x)
      Updates a column in the current row using a Java short value.
      void updateString(int column, java.lang.String x)
      Updates a column in the current row using a String value.
      void updateString(java.lang.String columnName, java.lang.String x)
      Updates a column in the current row using a String value.
      void updateTime(int column, java.sql.Time x)
      Updates a column in the current row using a java.sql.Time value.
      void updateTime(java.lang.String columnName, java.sql.Time x)
      Updates a column in the current row using a java.sql.Time value.
      void updateTimestamp(int column, java.sql.Timestamp x)
      Updates a column in the current row using a java.sql.Timestamp value.
      void updateTimestamp(java.lang.String columnName, java.sql.Timestamp x)
      Updates a column in the current row using a java.sql.Timestamp value.
      boolean wasNull()
      Indicates if the last column read has the value of SQL NULL.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.sql.ResultSet

        getNClob, getNClob, getRowId, getRowId, getSQLXML, getSQLXML, updateNClob, updateNClob, updateRowId, updateRowId, updateSQLXML, updateSQLXML
      • Methods inherited from interface java.sql.Wrapper

        isWrapperFor, unwrap
    • Method Detail

      • close

        public void close()
                   throws java.sql.SQLException
        Closes this ResultSet
        Specified by:
        close in interface java.sql.ResultSet
        Throws:
        java.sql.SQLException - If an error occurs.
      • isBeforeFirst

        public boolean isBeforeFirst()
                              throws java.sql.SQLException
        Indicates if the cursor is positioned before the first row.
        Specified by:
        isBeforeFirst in interface java.sql.ResultSet
        Returns:
        true if the cursor is positioned before the first row; false if the cursor is not positioned before the first row or if the result set contains no rows.
        Throws:
        java.sql.SQLException - If the result set is not open.
      • isAfterLast

        public boolean isAfterLast()
                            throws java.sql.SQLException
        Indicates if the cursor is positioned after the last row.
        Specified by:
        isAfterLast in interface java.sql.ResultSet
        Returns:
        true if the cursor is positioned after the last row; false if the cursor is not positioned after the last row or if the result set contains no rows.
        Throws:
        java.sql.SQLException - If the result set is not open.
      • isFirst

        public boolean isFirst()
                        throws java.sql.SQLException
        Indicates if the cursor is positioned on the first row.
        Specified by:
        isFirst in interface java.sql.ResultSet
        Returns:
        true if the cursor is positioned on the first row; false if the cursor is not positioned on the first row or the row number can not be determined.
        Throws:
        java.sql.SQLException - If the result set is not open.
      • isLast

        public boolean isLast()
                       throws java.sql.SQLException
        Indicates if the cursor is positioned on the last row.
        Specified by:
        isLast in interface java.sql.ResultSet
        Returns:
        true if the cursor is positioned on the last row; false if the cursor is not positioned on the last row or the row number can not be determined.
        Throws:
        java.sql.SQLException - If the result set is not open.
      • beforeFirst

        public void beforeFirst()
                         throws java.sql.SQLException
        Sets cursor position before the first row.
        Specified by:
        beforeFirst in interface java.sql.ResultSet
        Throws:
        java.sql.SQLException - If the result set is not open.
      • afterLast

        public void afterLast()
                       throws java.sql.SQLException
        Positions the cursor after the last row.
        Specified by:
        afterLast in interface java.sql.ResultSet
        Throws:
        java.sql.SQLException - If the result set is not open, the result set is not scrollable, or an error occurs.
      • first

        public boolean first()
                      throws java.sql.SQLException
        Positions the cursor to the first row.
        Specified by:
        first in interface java.sql.ResultSet
        Returns:
        true if the requested cursor position is valid; false otherwise.
        Throws:
        java.sql.SQLException - If the result set is not open, the result set is not scrollable, or an error occurs.
      • last

        public boolean last()
                     throws java.sql.SQLException
        Positions the cursor to the last row.
        Specified by:
        last in interface java.sql.ResultSet
        Returns:
        true if the requested cursor position is valid; false otherwise.
        Throws:
        java.sql.SQLException - If the result set is not open, the result set is not scrollable, or an error occurs.
      • previous

        public boolean previous()
                         throws java.sql.SQLException
        Positions the cursor to the previous row.
        Specified by:
        previous in interface java.sql.ResultSet
        Returns:
        true if the requested cursor position is valid; false otherwise.
        Throws:
        java.sql.SQLException - If the result set is not open, the result set is not scrollable, or an error occurs.
      • next

        public boolean next()
                     throws java.sql.SQLException
        Positions the cursor to the next row.
        Specified by:
        next in interface java.sql.ResultSet
        Returns:
        true if the requested cursor position is valid; false if there are no more rows.
        Throws:
        java.sql.SQLException - If the result set is not open, or an error occurs.
      • absolute

        public boolean absolute(int row)
                         throws java.sql.SQLException
        Positions the cursor to an absolute row number.
        Specified by:
        absolute in interface java.sql.ResultSet
        Parameters:
        row - The absolute row number. If the absolute row number is positive, this positions the cursor with respect to the beginning of the result set. If the absolute row number is negative, this positions the cursor with respect to the end of result set.
        Returns:
        true if the requested cursor position is valid; false otherwise.
        Throws:
        java.sql.SQLException - If the result set is not open, the result set is not scrollable, the row number is 0, or an error occurs.
      • relative

        public boolean relative(int rows)
                         throws java.sql.SQLException
        Positions the cursor to a relative row number.

        Attempting to move beyond the first row positions the cursor before the first row. Attempting to move beyond the last row positions the cursor after the last row.

        Specified by:
        relative in interface java.sql.ResultSet
        Parameters:
        rows - The relative row number. If the relative row number is positive, this positions the cursor after the current position. If the relative row number is negative, this positions the cursor before the current position. If the relative row number is 0, then the cursor position does not change.
        Returns:
        true if the requested cursor position is valid, false otherwise.
        Throws:
        java.sql.SQLException - If the result set is not open, the result set is not scrollable, the cursor is not positioned on a valid row, or an error occurs.
      • getConcurrency

        public int getConcurrency()
                           throws java.sql.SQLException
        Returns the result set concurrency.
        Specified by:
        getConcurrency in interface java.sql.ResultSet
        Returns:
        The result set concurrency. Valid values are:
        • CONCUR_READ_ONLY
        • CONCUR_UPDATABLE
        Throws:
        java.sql.SQLException - If the result set is not open.
      • getType

        public int getType()
                    throws java.sql.SQLException
        Returns the result set type.
        Specified by:
        getType in interface java.sql.ResultSet
        Returns:
        The result set type. Valid values are:
        • TYPE_FORWARD_ONLY
        • TYPE_SCROLL_INSENSITIVE
        • TYPE_SCROLL_SENSITIVE
        Throws:
        java.sql.SQLException - If the result set is not open.
      • getFetchDirection

        public int getFetchDirection()
                              throws java.sql.SQLException
        Returns the fetch direction.
        Specified by:
        getFetchDirection in interface java.sql.ResultSet
        Returns:
        The fetch direction. Valid values are:
        • FETCH_FORWARD
        • FETCH_REVERSE
        • FETCH_UNKNOWN
        Throws:
        java.sql.SQLException - If the result is not open.
      • setFetchDirection

        public void setFetchDirection(int direction)
                               throws java.sql.SQLException
        Sets the direction in which the rows in a result set are processed.
        Specified by:
        setFetchDirection in interface java.sql.ResultSet
        Parameters:
        direction - The fetch direction for processing rows. Valid values are:
        • FETCH_FORWARD
        • FETCH_REVERSE
        • FETCH_UNKNOWN
        The default is the statement's fetch direction.
        Throws:
        java.sql.SQLException - If the result set is not open, the result set is scrollable and the input value is not ResultSet.FETCH_FORWARD, or the input value is not valid.
      • getFetchSize

        public int getFetchSize()
                         throws java.sql.SQLException
        Returns the fetch size.
        Specified by:
        getFetchSize in interface java.sql.ResultSet
        Returns:
        The fetch size.
        Throws:
        java.sql.SQLException - If the result is not open.
      • setFetchSize

        public void setFetchSize(int rows)
                          throws java.sql.SQLException
        Sets the number of rows to be fetched from the database when more rows are needed. This may be changed at any time. If the value specified is zero, then the driver will choose an appropriate fetch size.
        Specified by:
        setFetchSize in interface java.sql.ResultSet
        Parameters:
        rows - The number of rows. This must be greater than or equal to 0 and less than or equal to the maximum rows limit. The default is the statement's fetch size.
        Throws:
        java.sql.SQLException - If the result set is not open or the input value is not valid.
      • getCursorName

        public java.lang.String getCursorName()
                                       throws java.sql.SQLException
        Returns the name of the SQL cursor in use by the result set.
        Specified by:
        getCursorName in interface java.sql.ResultSet
        Returns:
        The cursor name.
        Throws:
        java.sql.SQLException - If the result is not open.
      • getMetaData

        public java.sql.ResultSetMetaData getMetaData()
                                               throws java.sql.SQLException
        Returns the ResultSetMetaData object that describes the result set's columns. ResultSetMetadata on Array columns is not supported and the getMetaData method will return null.
        Specified by:
        getMetaData in interface java.sql.ResultSet
        Returns:
        The metadata object.
        Throws:
        java.sql.SQLException - If an error occurs.
      • getStatement

        public java.sql.Statement getStatement()
                                        throws java.sql.SQLException
        Returns the statement for this result set.
        Specified by:
        getStatement in interface java.sql.ResultSet
        Returns:
        The statement for this result set, or null if the result set was returned by a DatabaseMetaData catalog method.
        Throws:
        java.sql.SQLException - If an error occurs.
      • getWarnings

        public java.sql.SQLWarning getWarnings()
                                        throws java.sql.SQLException
        Returns the first warning reported for the result set. Subsequent warnings may be chained to this warning.
        Specified by:
        getWarnings in interface java.sql.ResultSet
        Returns:
        The first warning or null if no warnings have been reported.
        Throws:
        java.sql.SQLException - If an error occurs.
      • clearWarnings

        public void clearWarnings()
                           throws java.sql.SQLException
        Clears all warnings that have been reported for the result set. After this call, getWarnings() returns null until a new warning is reported for the result set.
        Specified by:
        clearWarnings in interface java.sql.ResultSet
        Throws:
        java.sql.SQLException - If an error occurs.
      • findColumn

        public int findColumn(java.lang.String columnName)
                       throws java.sql.SQLException
        Returns the column index for the specified column name.
        Specified by:
        findColumn in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        Returns:
        The column index (1-based).
        Throws:
        java.sql.SQLException - If the result set is not open or the column name is not found.
      • getRow

        public int getRow()
                   throws java.sql.SQLException
        Retrieves the current row number. The first row is number 1, the second number 2, and so on.
        Specified by:
        getRow in interface java.sql.ResultSet
        Returns:
        The current row number (1-based), or 0 if the current row is not valid.
        Throws:
        java.sql.SQLException - If the result set is not open.
      • wasNull

        public boolean wasNull()
                        throws java.sql.SQLException
        Indicates if the last column read has the value of SQL NULL.
        Specified by:
        wasNull in interface java.sql.ResultSet
        Returns:
        true if the value is SQL NULL; false otherwise.
        Throws:
        java.sql.SQLException - If the result set is not open.
      • getBoolean

        public boolean getBoolean(int column)
                           throws java.sql.SQLException
        Returns the value of a column as a Java boolean value.
        Specified by:
        getBoolean in interface java.sql.ResultSet
        Parameters:
        column - The column name.
        Returns:
        The column value or false if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • getBoolean

        public boolean getBoolean(java.lang.String columnName)
                           throws java.sql.SQLException
        Returns the value of a column as a Java boolean value.
        Specified by:
        getBoolean in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        Returns:
        The column value or false if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • getByte

        public byte getByte(int column)
                     throws java.sql.SQLException
        Returns the value of a column as a Java byte value.
        Specified by:
        getByte in interface java.sql.ResultSet
        Parameters:
        column - The column name.
        Returns:
        The column value or 0 if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • getByte

        public byte getByte(java.lang.String columnName)
                     throws java.sql.SQLException
        Returns the value of a column as a Java byte value.
        Specified by:
        getByte in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        Returns:
        The column value or 0 if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • getShort

        public short getShort(int column)
                       throws java.sql.SQLException
        Returns the value of a column as a Java short value.
        Specified by:
        getShort in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        Returns:
        The column value or 0 if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • getShort

        public short getShort(java.lang.String columnName)
                       throws java.sql.SQLException
        Returns the value of a column as a Java short value.
        Specified by:
        getShort in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        Returns:
        The column value or 0 if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • getInt

        public int getInt(int column)
                   throws java.sql.SQLException
        Returns the value of a column as a Java int value.
        Specified by:
        getInt in interface java.sql.ResultSet
        Parameters:
        column - The column name.
        Returns:
        The column value or 0 if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the cursor is not positioned on a row, the column name is not found, or the requested conversion is not valid.
      • getInt

        public int getInt(java.lang.String columnName)
                   throws java.sql.SQLException
        Returns the value of a column as a Java int value.
        Specified by:
        getInt in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        Returns:
        The column value or 0 if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the cursor is not positioned on a row, the column name is not found, or the requested conversion is not valid.
      • getLong

        public long getLong(int column)
                     throws java.sql.SQLException
        Returns the value of a column as a Java long value.
        Specified by:
        getLong in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        Returns:
        The column value or 0 if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • getLong

        public long getLong(java.lang.String columnName)
                     throws java.sql.SQLException
        Returns the value of a column as a Java long value.
        Specified by:
        getLong in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        Returns:
        The column value or 0 if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • getFloat

        public float getFloat(int column)
                       throws java.sql.SQLException
        Returns the value of a column as a Java float value.
        Specified by:
        getFloat in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        Returns:
        The column value or 0 if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • getFloat

        public float getFloat(java.lang.String columnName)
                       throws java.sql.SQLException
        Returns the value of a column as a Java float value.
        Specified by:
        getFloat in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        Returns:
        The column value or 0 if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • getDouble

        public double getDouble(int column)
                         throws java.sql.SQLException
        Returns the value of a column as a Java double value.
        Specified by:
        getDouble in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        Returns:
        The column value or 0 if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the cursor is not positioned on a row, the column name is not found, or the requested conversion is not valid.
      • getDouble

        public double getDouble(java.lang.String columnName)
                         throws java.sql.SQLException
        Returns the value of a column as a Java double value.
        Specified by:
        getDouble in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        Returns:
        The column value or 0 if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the cursor is not positioned on a row, the column name is not found, or the requested conversion is not valid.
      • getBigDecimal

        public java.math.BigDecimal getBigDecimal(int column)
                                           throws java.sql.SQLException
        Returns the value of a column as a BigDecimal object.
        Specified by:
        getBigDecimal in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        Returns:
        The column value or null if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • getBigDecimal

        public java.math.BigDecimal getBigDecimal(java.lang.String columnName)
                                           throws java.sql.SQLException
        Returns the value of a column as a BigDecimal object.
        Specified by:
        getBigDecimal in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        Returns:
        The column value or null if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • getBigDecimal

        public java.math.BigDecimal getBigDecimal(int column,
                                         int scale)
                                           throws java.sql.SQLException
        Deprecated. Use getBigDecimal(int) instead.
        Returns the value of a column as a BigDecimal object.
        Specified by:
        getBigDecimal in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        scale - The number of digits after the decimal.
        Returns:
        The column value or null if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the cursor is not positioned on a row, the column index is not valid, the scale is not valid, or the requested conversion is not valid.
        See Also:
        getBigDecimal(int)
      • getBigDecimal

        public java.math.BigDecimal getBigDecimal(java.lang.String columnName,
                                         int scale)
                                           throws java.sql.SQLException
        Deprecated. Use getBigDecimal(int) instead.
        Returns the value of a column as a BigDecimal object.
        Specified by:
        getBigDecimal in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        scale - The number of digits after the decimal.
        Returns:
        The column value or null if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the cursor is not positioned on a row, the column index is not valid, the scale is not valid, or the requested conversion is not valid.
        See Also:
        getBigDecimal(int)
      • getDate

        public java.sql.Date getDate(int column)
                              throws java.sql.SQLException
        Returns the value of a column as a java.sql.Date object using the default calendar.
        Specified by:
        getDate in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        Returns:
        The column value or null if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • getDate

        public java.sql.Date getDate(java.lang.String columnName)
                              throws java.sql.SQLException
        Returns the value of a column as a java.sql.Date object using the default calendar.
        Specified by:
        getDate in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        Returns:
        The column value or null if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • getTime

        public java.sql.Time getTime(int column)
                              throws java.sql.SQLException
        Returns the value of a column as a java.sql.Time object using the default calendar.
        Specified by:
        getTime in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        Returns:
        The column value or null if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • getTime

        public java.sql.Time getTime(java.lang.String columnName)
                              throws java.sql.SQLException
        Returns the value of a column as a java.sql.Time object using the default calendar.
        Specified by:
        getTime in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        Returns:
        The column value or null if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • getTimestamp

        public java.sql.Timestamp getTimestamp(int column)
                                        throws java.sql.SQLException
        Returns the value of a column as a java.sql.Timestamp object using the default calendar.
        Specified by:
        getTimestamp in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        Returns:
        The column value or null if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • getTimestamp

        public java.sql.Timestamp getTimestamp(java.lang.String columnName)
                                        throws java.sql.SQLException
        Returns the value of a column as a java.sql.Timestamp object using the default calendar.
        Specified by:
        getTimestamp in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        Returns:
        The column value or null if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • getDate

        public java.sql.Date getDate(int column,
                            java.util.Calendar calendar)
                              throws java.sql.SQLException
        Returns the value of a column as a java.sql.Date object using a calendar other than the default.
        Specified by:
        getDate in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        calendar - The calendar.
        Returns:
        The column value or null if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the cursor is not positioned on a row, the column index is not valid, the calendar is null, or the requested conversion is not valid.
      • getDate

        public java.sql.Date getDate(java.lang.String columnName,
                            java.util.Calendar calendar)
                              throws java.sql.SQLException
        Returns the value of a column as a java.sql.Date object using a calendar other than the default.
        Specified by:
        getDate in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        calendar - The calendar.
        Returns:
        The column value or null if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the cursor is not positioned on a row, the column index is not valid, the calendar is null, or the requested conversion is not valid.
      • getTime

        public java.sql.Time getTime(int column,
                            java.util.Calendar calendar)
                              throws java.sql.SQLException
        Returns the value of a column as a java.sql.Time object using the default calendar.
        Specified by:
        getTime in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        calendar - The calendar.
        Returns:
        The column value or null if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • getTime

        public java.sql.Time getTime(java.lang.String columnName,
                            java.util.Calendar calendar)
                              throws java.sql.SQLException
        Returns the value of a column as a java.sql.Time object using the default calendar.
        Specified by:
        getTime in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        calendar - The calendar.
        Returns:
        The column value or null if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • getTimestamp

        public java.sql.Timestamp getTimestamp(int column,
                                      java.util.Calendar calendar)
                                        throws java.sql.SQLException
        Returns the value of a column as a java.sql.Timestamp object using a calendar other than the default.
        Specified by:
        getTimestamp in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        calendar - The calendar.
        Returns:
        The column value or null if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the cursor is not positioned on a row, the column index is not valid, the calendar is null, or the requested conversion is not valid.
      • getTimestamp

        public java.sql.Timestamp getTimestamp(java.lang.String columnName,
                                      java.util.Calendar calendar)
                                        throws java.sql.SQLException
        Returns the value of a column as a java.sql.Timestamp object using a calendar other than the default.
        Specified by:
        getTimestamp in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        calendar - The calendar.
        Returns:
        The column value or null if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the cursor is not positioned on a row, the column index is not valid, the calendar is null, or the requested conversion is not valid.
      • getBytes

        public byte[] getBytes(int column)
                        throws java.sql.SQLException
        Returns the value of a column as a Java byte array.

        This can also be used to get values from columns with other types. The values are returned in their native IBM i format. This is not supported for result sets returned by a DatabaseMetaData object.

        Specified by:
        getBytes in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        Returns:
        The column value or null if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • getBytes

        public byte[] getBytes(java.lang.String columnName)
                        throws java.sql.SQLException
        Returns the value of a column as a Java byte array.

        This can also be used to get values from columns with other types. The values are returned in their native IBM i format. This is not supported for result sets returned by a DatabaseMetaData object.

        Specified by:
        getBytes in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        Returns:
        The column value or null if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • getString

        public java.lang.String getString(int column)
                                   throws java.sql.SQLException
        Returns the value of a column as a String object.
        Specified by:
        getString in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        Returns:
        The column value or null if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • getString

        public java.lang.String getString(java.lang.String columnName)
                                   throws java.sql.SQLException
        Returns the value of a column as a String object.
        Specified by:
        getString in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        Returns:
        The column value or null if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • getBinaryStream

        public java.io.InputStream getBinaryStream(int column)
                                            throws java.sql.SQLException
        Returns the value of a column as a stream of uninterpreted bytes.
        Specified by:
        getBinaryStream in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        Returns:
        The column value or null if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • getBinaryStream

        public java.io.InputStream getBinaryStream(java.lang.String columnName)
                                            throws java.sql.SQLException
        Returns the value of a column as a stream of uninterpreted bytes.
        Specified by:
        getBinaryStream in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        Returns:
        The column value or null if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • getAsciiStream

        public java.io.InputStream getAsciiStream(int column)
                                           throws java.sql.SQLException
        Returns the value of a column as a stream of ASCII characters.
        Specified by:
        getAsciiStream in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        Returns:
        The column value or null if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • getAsciiStream

        public java.io.InputStream getAsciiStream(java.lang.String columnName)
                                           throws java.sql.SQLException
        Returns the value of a column as a stream of ASCII characters.
        Specified by:
        getAsciiStream in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        Returns:
        The column value or null if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • getUnicodeStream

        public java.io.InputStream getUnicodeStream(int column)
                                             throws java.sql.SQLException
        Deprecated. Use getCharacterStream(int) instead.
        Returns the value of a column as a stream of Unicode characters.
        Specified by:
        getUnicodeStream in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        Returns:
        The column value or null if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
        See Also:
        getCharacterStream(int)
      • getUnicodeStream

        public java.io.InputStream getUnicodeStream(java.lang.String columnName)
                                             throws java.sql.SQLException
        Deprecated. Use getCharacterStream(String) instead.
        Returns the value of a column as a stream of Unicode characters.
        Specified by:
        getUnicodeStream in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        Returns:
        The column value or null if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
        See Also:
        getCharacterStream(String)
      • getCharacterStream

        public java.io.Reader getCharacterStream(int column)
                                          throws java.sql.SQLException
        Returns the value of a column as a character stream.
        Specified by:
        getCharacterStream in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        Returns:
        The column value or null if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • getCharacterStream

        public java.io.Reader getCharacterStream(java.lang.String columnName)
                                          throws java.sql.SQLException
        Returns the value of a column as a character stream.
        Specified by:
        getCharacterStream in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        Returns:
        The column value or null if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • getBlob

        public java.sql.Blob getBlob(int column)
                              throws java.sql.SQLException
        Returns the value of a column as a Blob object.
        Specified by:
        getBlob in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        Returns:
        The column value or null if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • getBlob

        public java.sql.Blob getBlob(java.lang.String columnName)
                              throws java.sql.SQLException
        Returns the value of a column as a Blob object.
        Specified by:
        getBlob in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        Returns:
        The column value or null if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • getClob

        public java.sql.Clob getClob(int column)
                              throws java.sql.SQLException
        Returns the value of a column as a Clob object.
        Specified by:
        getClob in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        Returns:
        The column value or null if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • getClob

        public java.sql.Clob getClob(java.lang.String columnName)
                              throws java.sql.SQLException
        Returns the value of a column as a Clob object.
        Specified by:
        getClob in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        Returns:
        The column value or null if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • getArray

        public java.sql.Array getArray(int column)
                                throws java.sql.SQLException
        Returns the value of a column as an Array object.
        Specified by:
        getArray in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        Returns:
        The column value or null if the value is SQL NULL.
        Throws:
        java.sql.SQLException - This function is not supported.
      • getArray

        public java.sql.Array getArray(java.lang.String columnName)
                                throws java.sql.SQLException
        Returns the value of a column as an Array object.
        Specified by:
        getArray in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        Returns:
        The column value or null if the value is SQL NULL.
        Throws:
        java.sql.SQLException - Always thrown because DB2 for IBMi does not support arrays in result sets.
      • getRef

        public java.sql.Ref getRef(int column)
                            throws java.sql.SQLException
        Returns the value of a column as a Ref object. DB2 for IBM i does not support structured types.
        Specified by:
        getRef in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        Returns:
        The column value or null if the value is SQL NULL.
        Throws:
        java.sql.SQLException - Always thrown because DB2 for IBM i does not support structured types.
      • getRef

        public java.sql.Ref getRef(java.lang.String columnName)
                            throws java.sql.SQLException
        Returns the value of a column as a Ref object. DB2 for IBM i does not support structured types.
        Specified by:
        getRef in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        Returns:
        The column value or null if the value is SQL NULL.
        Throws:
        java.sql.SQLException - Always thrown because DB2 for IBM i does not support structured types.
      • getURL

        public java.net.URL getURL(int column)
                            throws java.sql.SQLException
        Returns the value of an SQL DATALINK output parameter as a java.net.URL object.
        Specified by:
        getURL in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        Returns:
        The parameter value or null if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If the statement is not open, the index is not valid, the parameter name is not registered as an output parameter, the statement was not executed or the requested conversion is not valid.
      • getURL

        public java.net.URL getURL(java.lang.String columnName)
                            throws java.sql.SQLException
        Returns the value of an SQL DATALINK output parameter as a java.net.URL object.
        Specified by:
        getURL in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        Returns:
        The parameter value or null if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If the statement is not open, the index is not valid, the parameter name is not registered as an output parameter, the statement was not executed or the requested conversion is not valid.
      • getObject

        public java.lang.Object getObject(int column)
                                   throws java.sql.SQLException
        Returns the value of a column as a Java Object. This can be used to get values from columns with all SQL types.
        Specified by:
        getObject in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        Returns:
        The column value or null if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • getObject

        public java.lang.Object getObject(java.lang.String columnName)
                                   throws java.sql.SQLException
        Returns the value of a column as a Java Object. This can be used to get values from columns with all SQL types.
        Specified by:
        getObject in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        Returns:
        The column value or null if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • getObject

        public java.lang.Object getObject(int column,
                                 java.util.Map map)
                                   throws java.sql.SQLException
        Returns the value of a column as a Java Object.
        Specified by:
        getObject in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        map - The type map. This is not used.
        Returns:
        The column value or null if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the cursor is not positioned on a row, the column index is not valid, the type map is null, or the requested conversion is not valid.
      • getObject

        public java.lang.Object getObject(java.lang.String columnName,
                                 java.util.Map map)
                                   throws java.sql.SQLException
        Returns the value of a column as a Java Object.
        Specified by:
        getObject in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        map - The type map. This is not used.
        Returns:
        The column value or null if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the cursor is not positioned on a row, the column index is not valid, the type map is null, or the requested conversion is not valid.
      • updateNull

        public void updateNull(int column)
                        throws java.sql.SQLException
        Updates a column in the current row using SQL NULL.
        Specified by:
        updateNull in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        Throws:
        java.sql.SQLException - If the result set is not open, the result set is not updatable, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • updateNull

        public void updateNull(java.lang.String columnName)
                        throws java.sql.SQLException
        Updates a column in the current row using SQL NULL.
        Specified by:
        updateNull in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        Throws:
        java.sql.SQLException - If the result set is not open, the result set is not updatable, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • updateByte

        public void updateByte(int column,
                      byte x)
                        throws java.sql.SQLException
        Updates a column in the current row using a Java byte value. The driver converts this to an SQL SMALLINT value.
        Specified by:
        updateByte in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        x - The column value.
        Throws:
        java.sql.SQLException - If the result set is not open, the result set is not updatable, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • updateByte

        public void updateByte(java.lang.String columnName,
                      byte x)
                        throws java.sql.SQLException
        Updates a column in the current row using a Java byte value. The driver converts this to an SQL SMALLINT value.
        Specified by:
        updateByte in interface java.sql.ResultSet
        Parameters:
        columnName - The column index (1-based).
        x - The column value.
        Throws:
        java.sql.SQLException - If the result set is not open, the result set is not updatable, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • updateBoolean

        public void updateBoolean(int column,
                         boolean x)
                           throws java.sql.SQLException
        Updates a column in the current row using a Java boolean value.
        Specified by:
        updateBoolean in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        x - The column value.
        Throws:
        java.sql.SQLException - If the result set is not open, the result set is not updatable, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • updateBoolean

        public void updateBoolean(java.lang.String columnName,
                         boolean x)
                           throws java.sql.SQLException
        Updates a column in the current row using a Java boolean value.
        Specified by:
        updateBoolean in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        x - The column value.
        Throws:
        java.sql.SQLException - If the result set is not open, the result set is not updatable, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • updateShort

        public void updateShort(int column,
                       short x)
                         throws java.sql.SQLException
        Updates a column in the current row using a Java short value.
        Specified by:
        updateShort in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        x - The column value.
        Throws:
        java.sql.SQLException - If the result set is not open, the result set is not updatable, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • updateShort

        public void updateShort(java.lang.String columnName,
                       short x)
                         throws java.sql.SQLException
        Updates a column in the current row using a Java short value.
        Specified by:
        updateShort in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        x - The column value.
        Throws:
        java.sql.SQLException - If the result set is not open, the result set is not updatable, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • updateInt

        public void updateInt(int column,
                     int x)
                       throws java.sql.SQLException
        Updates a column in the current row using a Java int value. The driver converts this to an SQL INTEGER value.
        Specified by:
        updateInt in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        x - The column value.
        Throws:
        java.sql.SQLException - If the result set is not open, the result set is not updatable, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • updateInt

        public void updateInt(java.lang.String columnName,
                     int x)
                       throws java.sql.SQLException
        Updates a column in the current row using a Java int value. The driver converts this to an SQL INTEGER value.
        Specified by:
        updateInt in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        x - The column value.
        Throws:
        java.sql.SQLException - If the result set is not open, the result set is not updatable, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • updateLong

        public void updateLong(int column,
                      long x)
                        throws java.sql.SQLException
        Updates a column in the current row using a Java long value.
        Specified by:
        updateLong in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        x - The column value.
        Throws:
        java.sql.SQLException - If the result set is not open, the result set is not updatable, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • updateLong

        public void updateLong(java.lang.String columnName,
                      long x)
                        throws java.sql.SQLException
        Updates a column in the current row using a Java long value.
        Specified by:
        updateLong in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        x - The column value.
        Throws:
        java.sql.SQLException - If the result set is not open, the result set is not updatable, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • updateFloat

        public void updateFloat(int column,
                       float x)
                         throws java.sql.SQLException
        Updates a column in the current row using a Java float value. The driver converts this to an SQL REAL value.
        Specified by:
        updateFloat in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        x - The column value.
        Throws:
        java.sql.SQLException - If the result set is not open, the result set is not updatable, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • updateFloat

        public void updateFloat(java.lang.String columnName,
                       float x)
                         throws java.sql.SQLException
        Updates a column in the current row using a Java float value. The driver converts this to an SQL REAL value.
        Specified by:
        updateFloat in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        x - The column value.
        Throws:
        java.sql.SQLException - If the result set is not open, the result set is not updatable, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • updateDouble

        public void updateDouble(int column,
                        double x)
                          throws java.sql.SQLException
        Updates a column in the current row using a Java double value. The driver converts this to an SQL DOUBLE value.
        Specified by:
        updateDouble in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        x - The column value.
        Throws:
        java.sql.SQLException - If the result set is not open, the result set is not updatable, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • updateDouble

        public void updateDouble(java.lang.String columnName,
                        double x)
                          throws java.sql.SQLException
        Updates a column in the current row using a Java double value. The driver converts this to an SQL DOUBLE value.
        Specified by:
        updateDouble in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        x - The column value.
        Throws:
        java.sql.SQLException - If the result set is not open, the result set is not updatable, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • updateBigDecimal

        public void updateBigDecimal(int column,
                            java.math.BigDecimal x)
                              throws java.sql.SQLException
        Updates a column in the current row using a BigDecimal value. The driver converts this to an SQL NUMERIC value.
        Specified by:
        updateBigDecimal in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        x - The column value or null to update the value to SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the result set is not updatable, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • updateBigDecimal

        public void updateBigDecimal(java.lang.String columnName,
                            java.math.BigDecimal x)
                              throws java.sql.SQLException
        Updates a column in the current row using a BigDecimal value. The driver converts this to an SQL NUMERIC value.
        Specified by:
        updateBigDecimal in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        x - The column value or null to update the value to SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the result set is not updatable, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • updateDate

        public void updateDate(int column,
                      java.sql.Date x)
                        throws java.sql.SQLException
        Updates a column in the current row using a java.sql.Date value. The driver converts this to an SQL DATE value.
        Specified by:
        updateDate in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        x - The column value or null to update the value to SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the result set is not updatable, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • updateDate

        public void updateDate(java.lang.String columnName,
                      java.sql.Date x)
                        throws java.sql.SQLException
        Updates a column in the current row using a java.sql.Date value. The driver converts this to an SQL DATE value.
        Specified by:
        updateDate in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        x - The column value or null to update the value to SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the result set is not updatable, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • updateTime

        public void updateTime(int column,
                      java.sql.Time x)
                        throws java.sql.SQLException
        Updates a column in the current row using a java.sql.Time value. The driver converts this to an SQL TIME value.
        Specified by:
        updateTime in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        x - The column value or null to update the value to SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the result set is not updatable, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • updateTime

        public void updateTime(java.lang.String columnName,
                      java.sql.Time x)
                        throws java.sql.SQLException
        Updates a column in the current row using a java.sql.Time value. The driver converts this to an SQL TIME value.
        Specified by:
        updateTime in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        x - The column value or null to update the value to SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the result set is not updatable, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • updateTimestamp

        public void updateTimestamp(int column,
                           java.sql.Timestamp x)
                             throws java.sql.SQLException
        Updates a column in the current row using a java.sql.Timestamp value. The driver converts this to an SQL TIMESTAMP value.
        Specified by:
        updateTimestamp in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        x - The column value or null to update the value to SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the result set is not updatable, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • updateTimestamp

        public void updateTimestamp(java.lang.String columnName,
                           java.sql.Timestamp x)
                             throws java.sql.SQLException
        Updates a column in the current row using a java.sql.Timestamp value. The driver converts this to an SQL TIMESTAMP value.
        Specified by:
        updateTimestamp in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        x - The column value or null to update the value to SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the result set is not updatable, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • updateBytes

        public void updateBytes(int column,
                       byte[] x)
                         throws java.sql.SQLException
        Updates a column in the current row using a Java byte array value.
        Specified by:
        updateBytes in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        x - The column value or null to update the value to SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the result set is not updatable, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • updateBytes

        public void updateBytes(java.lang.String columnName,
                       byte[] x)
                         throws java.sql.SQLException
        Updates a column in the current row using a Java byte array value.
        Specified by:
        updateBytes in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        x - The column value or null to update the value to SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the result set is not updatable, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • updateString

        public void updateString(int column,
                        java.lang.String x)
                          throws java.sql.SQLException
        Updates a column in the current row using a String value. The driver converts this to an SQL VARCHAR value.
        Specified by:
        updateString in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        x - The column value or null to update the value to SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the result set is not updatable, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • updateString

        public void updateString(java.lang.String columnName,
                        java.lang.String x)
                          throws java.sql.SQLException
        Updates a column in the current row using a String value. The driver converts this to an SQL VARCHAR value.
        Specified by:
        updateString in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        x - The column value or null to update the value to SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the result set is not updatable, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • updateBinaryStream

        public void updateBinaryStream(int column,
                              java.io.InputStream x,
                              int length)
                                throws java.sql.SQLException
        Updates the designated column with a binary stream value, which will have the specified number of bytes.
        Specified by:
        updateBinaryStream in interface java.sql.ResultSet
        Parameters:
        column - column index
        x - the new column value
        length - the length of the stream
        Throws:
        java.sql.SQLException - if a database access error occurs, the result set concurrency is CONCUR_READ_ONLY or this method is called on a closed result set
      • updateBinaryStream

        public void updateBinaryStream(java.lang.String columnName,
                              java.io.InputStream x,
                              int length)
                                throws java.sql.SQLException
        Updates the designated column with a binary stream value, which will have the specified number of bytes.
        Specified by:
        updateBinaryStream in interface java.sql.ResultSet
        Parameters:
        columnName - column index
        x - the new column value
        length - the length of the stream
        Throws:
        java.sql.SQLException - if a database access error occurs, the result set concurrency is CONCUR_READ_ONLY or this method is called on a closed result set
      • updateAsciiStream

        public void updateAsciiStream(int column,
                             java.io.InputStream x,
                             int length)
                               throws java.sql.SQLException
        Updates the designated column with an ascii stream value, which will have the specified number of bytes.
        Specified by:
        updateAsciiStream in interface java.sql.ResultSet
        Parameters:
        column - column to set
        x - the new column value
        length - the length of the stream
        Throws:
        java.sql.SQLException - if a database access error occurs, the result set concurrency is CONCUR_READ_ONLY or this method is called on a closed result set
      • updateAsciiStream

        public void updateAsciiStream(java.lang.String columnName,
                             java.io.InputStream x,
                             int length)
                               throws java.sql.SQLException
        Updates the designated column with an ascii stream value, which will have the specified number of bytes.
        Specified by:
        updateAsciiStream in interface java.sql.ResultSet
        Parameters:
        columnName - column name
        x - the new column value
        length - the length of the stream
        Throws:
        java.sql.SQLException - if a database access error occurs, the result set concurrency is CONCUR_READ_ONLY or this method is called on a closed result set
      • updateCharacterStream

        public void updateCharacterStream(int column,
                                 java.io.Reader x,
                                 int length)
                                   throws java.sql.SQLException
        Updates a column in the current row using a Reader value. The driver reads the data from the Reader as needed until no more characters are available. The driver converts this to an SQL VARCHAR value.
        Specified by:
        updateCharacterStream in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        x - The column value or null to update the value to SQL NULL.
        length - The length.
        Throws:
        java.sql.SQLException - If the result set is not open, the result set is not updatable, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid, the length is not valid, or an error happens while reading the input stream.
      • updateCharacterStream

        public void updateCharacterStream(java.lang.String columnName,
                                 java.io.Reader x,
                                 int length)
                                   throws java.sql.SQLException
        Updates a column in the current row using a Reader value. The driver reads the data from the Reader as needed until no more characters are available. The driver converts this to an SQL VARCHAR value.
        Specified by:
        updateCharacterStream in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        x - The column value or null to update the value to SQL NULL.
        length - The length.
        Throws:
        java.sql.SQLException - If the result set is not open, the result set is not updatable, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid, the length is not valid, or an error happens while reading the input stream.
      • updateBlob

        public void updateBlob(int column,
                      java.sql.Blob x)
                        throws java.sql.SQLException
        Updates a column in the current row using a Java Blob value. The driver converts this to an SQL BLOB value.
        Specified by:
        updateBlob in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        x - The column value.
        Throws:
        java.sql.SQLException - If the result set is not open, the result set is not updatable, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • updateBlob

        public void updateBlob(java.lang.String columnName,
                      java.sql.Blob x)
                        throws java.sql.SQLException
        Updates a column in the current row using a Java Blob value. The driver converts this to an SQL BLOB value.
        Specified by:
        updateBlob in interface java.sql.ResultSet
        Parameters:
        columnName - The column index (1-based).
        x - The column value.
        Throws:
        java.sql.SQLException - If the result set is not open, the result set is not updatable, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • updateClob

        public void updateClob(int column,
                      java.sql.Clob x)
                        throws java.sql.SQLException
        Updates a column in the current row using a Java Clob value. The driver converts this to an SQL CLOB value.
        Specified by:
        updateClob in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        x - The column value.
        Throws:
        java.sql.SQLException - If the result set is not open, the result set is not updatable, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • updateClob

        public void updateClob(java.lang.String columnName,
                      java.sql.Clob x)
                        throws java.sql.SQLException
        Updates a column in the current row using a Java Clob value. The driver converts this to an SQL CLOB value.
        Specified by:
        updateClob in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        x - The column value.
        Throws:
        java.sql.SQLException - If the result set is not open, the result set is not updatable, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • updateArray

        public void updateArray(int column,
                       java.sql.Array x)
                         throws java.sql.SQLException
        Updates the value of a column as an Array object.
        Specified by:
        updateArray in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        x - The column value or null if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If a database error occurs.
      • updateArray

        public void updateArray(java.lang.String columnName,
                       java.sql.Array x)
                         throws java.sql.SQLException
        Updates the value of a column as an Array object.
        Specified by:
        updateArray in interface java.sql.ResultSet
        Parameters:
        columnName - The column index (1-based).
        x - The column value or null if the value is SQL NULL.
        Throws:
        java.sql.SQLException - If a database error occurs.
      • updateRef

        public void updateRef(int column,
                     java.sql.Ref x)
                       throws java.sql.SQLException
        Updates the value of an SQL REF output parameter as a Ref value.
        Specified by:
        updateRef in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        x - The column value or null to update the value to SQL NULL.
        Throws:
        java.sql.SQLException - If a database error occurs.
      • updateRef

        public void updateRef(java.lang.String columnName,
                     java.sql.Ref x)
                       throws java.sql.SQLException
        Updates the value of an SQL REF output parameter as a Ref value.
        Specified by:
        updateRef in interface java.sql.ResultSet
        Parameters:
        columnName - The column index (1-based).
        x - The column value or null to update the value to SQL NULL.
        Throws:
        java.sql.SQLException - If a database error occurs.
      • updateObject

        public void updateObject(int column,
                        java.lang.Object x)
                          throws java.sql.SQLException
        Updates a column in the current row using an Object value. The driver converts this to a value of an SQL type, depending on the type of the specified value. The JDBC specification defines a standard mapping from Java types to SQL types.
        Specified by:
        updateObject in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        x - The column value or null to update the value to SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the result set is not updatable, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • updateObject

        public void updateObject(java.lang.String columnName,
                        java.lang.Object x)
                          throws java.sql.SQLException
        Updates a column in the current row using an Object value. The driver converts this to a value of an SQL type, depending on the type of the specified value. The JDBC specification defines a standard mapping from Java types to SQL types.
        Specified by:
        updateObject in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        x - The column value or null to update the value to SQL NULL.
        Throws:
        java.sql.SQLException - If the result set is not open, the result set is not updatable, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • updateObject

        public void updateObject(int column,
                        java.lang.Object x,
                        int scale)
                          throws java.sql.SQLException
        Updates a column in the current row using an Object value. The driver converts this to a value of an SQL type, depending on the type of the specified value. The JDBC specification defines a standard mapping from Java types to SQL types.
        Specified by:
        updateObject in interface java.sql.ResultSet
        Parameters:
        column - The column index.
        x - The column value or null to update the value to SQL NULL.
        scale - The scale.
        Throws:
        java.sql.SQLException - If the result set is not open, the result set is not updatable, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • updateObject

        public void updateObject(java.lang.String columnName,
                        java.lang.Object x,
                        int scale)
                          throws java.sql.SQLException
        Updates a column in the current row using an Object value. The driver converts this to a value of an SQL type, depending on the type of the specified value. The JDBC specification defines a standard mapping from Java types to SQL types.
        Specified by:
        updateObject in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        x - The column value or null to update the value to SQL NULL.
        scale - The scale.
        Throws:
        java.sql.SQLException - If the result set is not open, the result set is not updatable, the cursor is not positioned on a row, the column index is not valid, or the requested conversion is not valid.
      • rowUpdated

        public boolean rowUpdated()
                           throws java.sql.SQLException
        Indicates if the current row has been updated. This driver does not support this method.
        Specified by:
        rowUpdated in interface java.sql.ResultSet
        Returns:
        Always false.
        Throws:
        java.sql.SQLException - If an error occurs.
      • rowInserted

        public boolean rowInserted()
                            throws java.sql.SQLException
        Indicates if the current row has been inserted. This driver does not support this method.
        Specified by:
        rowInserted in interface java.sql.ResultSet
        Returns:
        Always false.
        Throws:
        java.sql.SQLException - If an error occurs.
      • rowDeleted

        public boolean rowDeleted()
                           throws java.sql.SQLException
        Indicates if the current row has been deleted. A result set of type TYPE_SCROLL_INSENSITIVE may contain rows that have been deleted.
        Specified by:
        rowDeleted in interface java.sql.ResultSet
        Returns:
        true if current row has been deleted; false otherwise.
        Throws:
        java.sql.SQLException - If an error occurs.
      • insertRow

        public void insertRow()
                       throws java.sql.SQLException
        Inserts the contents of the insert row into the result set and the database.
        Specified by:
        insertRow in interface java.sql.ResultSet
        Throws:
        java.sql.SQLException - If the result set is not open, the result set is not updatable, the cursor is not positioned on the insert row, a column that is not nullable was not specified, or an error occurs.
      • updateRow

        public void updateRow()
                       throws java.sql.SQLException
        Cancels all pending updates that have been made since the last call to updateRow().
        Specified by:
        updateRow in interface java.sql.ResultSet
        Throws:
        java.sql.SQLException - If the result set is not open or the result set is not updatable.
      • deleteRow

        public void deleteRow()
                       throws java.sql.SQLException
        Deletes the current row from the result set and the database. After deleting a row, the cursor position is no longer valid, so it must be explicitly repositioned.
        Specified by:
        deleteRow in interface java.sql.ResultSet
        Throws:
        java.sql.SQLException - If the result set is not open, the result set is not updatable, the cursor is not positioned on a row, the cursor is positioned on the insert row, or an error occurs.
      • refreshRow

        public void refreshRow()
                        throws java.sql.SQLException
        Refreshes the current row from the database.
        Specified by:
        refreshRow in interface java.sql.ResultSet
        Throws:
        java.sql.SQLException - If the result set is not open, the result set is not scrollable, the cursor is not positioned on a row, the cursor is positioned on the insert row or an error occurs.
      • cancelRowUpdates

        public void cancelRowUpdates()
                              throws java.sql.SQLException
        Cancels all pending updates that have been made since the last call to updateRow().
        Specified by:
        cancelRowUpdates in interface java.sql.ResultSet
        Throws:
        java.sql.SQLException - If the result set is not open or the result set is not updatable.
      • moveToInsertRow

        public void moveToInsertRow()
                             throws java.sql.SQLException
        Positions the cursor to the insert row.
        Specified by:
        moveToInsertRow in interface java.sql.ResultSet
        Throws:
        java.sql.SQLException - If the result set is not open, the result set is not scrollable, the result set is not updatable, or an error occurs.
      • moveToCurrentRow

        public void moveToCurrentRow()
                              throws java.sql.SQLException
        Positions the cursor to the current row.
        Specified by:
        moveToCurrentRow in interface java.sql.ResultSet
        Throws:
        java.sql.SQLException - If the result set is not open, the result set is not scrollable, or an error occurs.
      • isClosed

        public boolean isClosed()
                         throws java.sql.SQLException
        Indicates if the result set is closed.
        Specified by:
        isClosed in interface java.sql.ResultSet
        Returns:
        true if this result set is closed; false otherwise.
        Throws:
        java.sql.SQLException - If a database error occurs.
      • getHoldability

        public int getHoldability()
                           throws java.sql.SQLException
        Retrieves the holdability.
        Specified by:
        getHoldability in interface java.sql.ResultSet
        Returns:
        holdability
        Throws:
        java.sql.SQLException - if a database error occurs
      • getNCharacterStream

        public java.io.Reader getNCharacterStream(int column)
                                           throws java.sql.SQLException
        Retrieves the value of the designated column in the current row of this ResultSet object as a java.io.Reader object.
        Specified by:
        getNCharacterStream in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        Returns:
        a java.io.Reader object that contains the column value; if the value is SQL NULL, the value returned is null in the Java programming language.
        Throws:
        java.sql.SQLException - if a database access error occurs
      • getNCharacterStream

        public java.io.Reader getNCharacterStream(java.lang.String columnName)
                                           throws java.sql.SQLException
        Retrieves the value of the designated column in the current row of this ResultSet object as a java.io.Reader object.
        Specified by:
        getNCharacterStream in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        Returns:
        a java.io.Reader object that contains the column value; if the value is SQL NULL, the value returned is null in the Java programming language.
        Throws:
        java.sql.SQLException - if a database access error occurs
      • getNString

        public java.lang.String getNString(int column)
                                    throws java.sql.SQLException
        Retrieves the value of the designated column in the current row of this ResultSet object as a String in the Java programming language. It is intended for use when accessing NCHAR,NVARCHAR and LONGNVARCHAR columns.
        Specified by:
        getNString in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        Returns:
        the column value; if the value is SQL NULL, the value returned is null
        Throws:
        java.sql.SQLException - if a database access error occurs
      • getNString

        public java.lang.String getNString(java.lang.String columnName)
                                    throws java.sql.SQLException
        Retrieves the value of the designated column in the current row of this ResultSet object as a String in the Java programming language. It is intended for use when accessing NCHAR,NVARCHAR and LONGNVARCHAR columns.
        Specified by:
        getNString in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        Returns:
        the column value; if the value is SQL NULL, the value returned is null
        Throws:
        java.sql.SQLException - if a database access error occurs
      • updateAsciiStream

        public void updateAsciiStream(int column,
                             java.io.InputStream x)
                               throws java.sql.SQLException
        Updates the designated column with an ascii stream value, which will have the specified number of bytes.
        Specified by:
        updateAsciiStream in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        x - the new column value
        Throws:
        java.sql.SQLException - if a database access error occurs, the result set concurrency is CONCUR_READ_ONLY or this method is called on a closed result set
      • updateAsciiStream

        public void updateAsciiStream(java.lang.String columnName,
                             java.io.InputStream x)
                               throws java.sql.SQLException
        Updates the designated column with an ascii stream value, which will have the specified number of bytes.
        Specified by:
        updateAsciiStream in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        x - the new column value
        Throws:
        java.sql.SQLException - if a database access error occurs, the result set concurrency is CONCUR_READ_ONLY or this method is called on a closed result set
      • updateAsciiStream

        public void updateAsciiStream(int column,
                             java.io.InputStream x,
                             long length)
                               throws java.sql.SQLException
        Updates the designated column with an ascii stream value, which will have the specified number of bytes.
        Specified by:
        updateAsciiStream in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        x - the new column value
        length - Length of the value.
        Throws:
        java.sql.SQLException - if a database access error occurs, the result set concurrency is CONCUR_READ_ONLY or this method is called on a closed result set
      • updateAsciiStream

        public void updateAsciiStream(java.lang.String columnName,
                             java.io.InputStream x,
                             long length)
                               throws java.sql.SQLException
        Updates the designated column with an ascii stream value, which will have the specified number of bytes.
        Specified by:
        updateAsciiStream in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        x - the new column value
        length - Length of the value.
        Throws:
        java.sql.SQLException - if a database access error occurs, the result set concurrency is CONCUR_READ_ONLY or this method is called on a closed result set
      • updateBinaryStream

        public void updateBinaryStream(int column,
                              java.io.InputStream x)
                                throws java.sql.SQLException
        Updates the designated column with a binary stream value.
        Specified by:
        updateBinaryStream in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        x - the new column value
        Throws:
        java.sql.SQLException - if the columnIndex is not valid; if a database access error occurs; the result set concurrency is CONCUR_READ_ONLY or this method is called on a closed result set
      • updateBinaryStream

        public void updateBinaryStream(java.lang.String columnName,
                              java.io.InputStream x)
                                throws java.sql.SQLException
        Updates the designated column with a binary stream value.
        Specified by:
        updateBinaryStream in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        x - the new column value
        Throws:
        java.sql.SQLException - if the columnIndex is not valid; if a database access error occurs; the result set concurrency is CONCUR_READ_ONLY or this method is called on a closed result set
      • updateBinaryStream

        public void updateBinaryStream(int column,
                              java.io.InputStream x,
                              long length)
                                throws java.sql.SQLException
        Updates the designated column with a binary stream value.
        Specified by:
        updateBinaryStream in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        x - the new column value
        length - Length of the value.
        Throws:
        java.sql.SQLException - if the columnIndex is not valid; if a database access error occurs; the result set concurrency is CONCUR_READ_ONLY or this method is called on a closed result set
      • updateBinaryStream

        public void updateBinaryStream(java.lang.String columnName,
                              java.io.InputStream x,
                              long length)
                                throws java.sql.SQLException
        Updates the designated column with a binary stream value.
        Specified by:
        updateBinaryStream in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        x - the new column value
        length - Length of the value.
        Throws:
        java.sql.SQLException - if the columnIndex is not valid; if a database access error occurs; the result set concurrency is CONCUR_READ_ONLY or this method is called on a closed result set
      • updateBlob

        public void updateBlob(int column,
                      java.io.InputStream x)
                        throws java.sql.SQLException
        Updates the designated column using the given input stream. The data will be read from the stream as needed until end-of-stream is reached.
        Specified by:
        updateBlob in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        x - An object that contains the data to set the parameter value to.
        Throws:
        java.sql.SQLException - if the columnIndex is not valid; if a database access error occurs; the result set concurrency is CONCUR_READ_ONLY or this method is called on a closed result set
      • updateBlob

        public void updateBlob(java.lang.String columnName,
                      java.io.InputStream x)
                        throws java.sql.SQLException
        Updates the designated column using the given input stream. The data will be read from the stream as needed until end-of-stream is reached.
        Specified by:
        updateBlob in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        x - An object that contains the data to set the parameter value to.
        Throws:
        java.sql.SQLException - if the columnIndex is not valid; if a database access error occurs; the result set concurrency is CONCUR_READ_ONLY or this method is called on a closed result set
      • updateBlob

        public void updateBlob(int column,
                      java.io.InputStream x,
                      long length)
                        throws java.sql.SQLException
        Updates the designated column using the given input stream. The data will be read from the stream as needed until end-of-stream is reached.
        Specified by:
        updateBlob in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        x - An object that contains the data to set the parameter value to.
        length - Length of the value.
        Throws:
        java.sql.SQLException - if the columnIndex is not valid; if a database access error occurs; the result set concurrency is CONCUR_READ_ONLY or this method is called on a closed result set
      • updateBlob

        public void updateBlob(java.lang.String columnName,
                      java.io.InputStream x,
                      long length)
                        throws java.sql.SQLException
        Updates the designated column using the given input stream. The data will be read from the stream as needed until end-of-stream is reached.
        Specified by:
        updateBlob in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        x - An object that contains the data to set the parameter value to.
        length - Length of the value.
        Throws:
        java.sql.SQLException - if the columnIndex is not valid; if a database access error occurs; the result set concurrency is CONCUR_READ_ONLY or this method is called on a closed result set
      • updateCharacterStream

        public void updateCharacterStream(int column,
                                 java.io.Reader x)
                                   throws java.sql.SQLException
        Updates the designated column with a character stream value.
        Specified by:
        updateCharacterStream in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        x - the new column value
        Throws:
        java.sql.SQLException - if the columnIndex is not valid; if a database access error occurs; the result set concurrency is CONCUR_READ_ONLY or this method is called on a closed result set
      • updateCharacterStream

        public void updateCharacterStream(java.lang.String columnName,
                                 java.io.Reader x)
                                   throws java.sql.SQLException
        Updates the designated column with a character stream value.
        Specified by:
        updateCharacterStream in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        x - the new column value
        Throws:
        java.sql.SQLException - if the columnIndex is not valid; if a database access error occurs; the result set concurrency is CONCUR_READ_ONLY or this method is called on a closed result set
      • updateCharacterStream

        public void updateCharacterStream(int column,
                                 java.io.Reader x,
                                 long length)
                                   throws java.sql.SQLException
        Updates the designated column with a character stream value.
        Specified by:
        updateCharacterStream in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        x - the new column value
        length - Length of the value.
        Throws:
        java.sql.SQLException - if the columnIndex is not valid; if a database access error occurs; the result set concurrency is CONCUR_READ_ONLY or this method is called on a closed result set
      • updateCharacterStream

        public void updateCharacterStream(java.lang.String columnName,
                                 java.io.Reader x,
                                 long length)
                                   throws java.sql.SQLException
        Updates the designated column with a character stream value.
        Specified by:
        updateCharacterStream in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        x - the new column value
        length - Length of the value.
        Throws:
        java.sql.SQLException - if the columnIndex is not valid; if a database access error occurs; the result set concurrency is CONCUR_READ_ONLY or this method is called on a closed result set
      • updateClob

        public void updateClob(int column,
                      java.io.Reader x)
                        throws java.sql.SQLException
        Updates the designated column using the given Reader object.
        Specified by:
        updateClob in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        x - An object that contains the data to set the parameter value to.
        Throws:
        java.sql.SQLException - if the columnIndex is not valid; if a database access error occurs; the result set concurrency is CONCUR_READ_ONLY or this method is called on a closed result set
      • updateClob

        public void updateClob(java.lang.String columnName,
                      java.io.Reader x)
                        throws java.sql.SQLException
        Updates the designated column using the given Reader object.
        Specified by:
        updateClob in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        x - An object that contains the data to set the parameter value to.
        Throws:
        java.sql.SQLException - if the columnIndex is not valid; if a database access error occurs; the result set concurrency is CONCUR_READ_ONLY or this method is called on a closed result set
      • updateClob

        public void updateClob(int column,
                      java.io.Reader x,
                      long length)
                        throws java.sql.SQLException
        Updates the designated column using the given Reader object.
        Specified by:
        updateClob in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        x - An object that contains the data to set the parameter value to.
        length - Length of the value.
        Throws:
        java.sql.SQLException - if the columnIndex is not valid; if a database access error occurs; the result set concurrency is CONCUR_READ_ONLY or this method is called on a closed result set
      • updateClob

        public void updateClob(java.lang.String columnName,
                      java.io.Reader x,
                      long length)
                        throws java.sql.SQLException
        Updates the designated column using the given Reader object.
        Specified by:
        updateClob in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        x - An object that contains the data to set the parameter value to.
        length - Length of the value.
        Throws:
        java.sql.SQLException - if the columnIndex is not valid; if a database access error occurs; the result set concurrency is CONCUR_READ_ONLY or this method is called on a closed result set
      • updateNCharacterStream

        public void updateNCharacterStream(int column,
                                  java.io.Reader x)
                                    throws java.sql.SQLException
        Updates the designated column with a character stream value.
        Specified by:
        updateNCharacterStream in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        x - the new column value
        Throws:
        java.sql.SQLException - if the columnIndex is not valid; if a database access error occurs; the result set concurrency is CONCUR_READ_ONLY or this method is called on a closed result set
      • updateNCharacterStream

        public void updateNCharacterStream(java.lang.String columnName,
                                  java.io.Reader x)
                                    throws java.sql.SQLException
        Updates the designated column with a character stream value.
        Specified by:
        updateNCharacterStream in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        x - the new column value
        Throws:
        java.sql.SQLException - if the columnIndex is not valid; if a database access error occurs; the result set concurrency is CONCUR_READ_ONLY or this method is called on a closed result set
      • updateNCharacterStream

        public void updateNCharacterStream(int column,
                                  java.io.Reader x,
                                  long length)
                                    throws java.sql.SQLException
        Updates the designated column with a character stream value.
        Specified by:
        updateNCharacterStream in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        x - the new column value
        length - Length of the value.
        Throws:
        java.sql.SQLException - if the columnIndex is not valid; if a database access error occurs; the result set concurrency is CONCUR_READ_ONLY or this method is called on a closed result set
      • updateNCharacterStream

        public void updateNCharacterStream(java.lang.String columnName,
                                  java.io.Reader x,
                                  long length)
                                    throws java.sql.SQLException
        Updates the designated column with a character stream value.
        Specified by:
        updateNCharacterStream in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        x - the new column value
        length - Length of the value.
        Throws:
        java.sql.SQLException - if the columnIndex is not valid; if a database access error occurs; the result set concurrency is CONCUR_READ_ONLY or this method is called on a closed result set
      • updateNClob

        public void updateNClob(int column,
                       java.io.Reader x)
                         throws java.sql.SQLException
        Updates the designated column using the given Reader
        Specified by:
        updateNClob in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        x - An object that contains the data to set the parameter value to.
        Throws:
        java.sql.SQLException - if the columnIndex is not valid; if the driver does not support national character sets; if the driver can detect that a data conversion error could occur; this method is called on a closed result set, if a database access error occurs or the result set concurrency is CONCUR_READ_ONLY
      • updateNClob

        public void updateNClob(java.lang.String columnName,
                       java.io.Reader x)
                         throws java.sql.SQLException
        Updates the designated column using the given Reader
        Specified by:
        updateNClob in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        x - An object that contains the data to set the parameter value to.
        Throws:
        java.sql.SQLException - if the columnIndex is not valid; if the driver does not support national character sets; if the driver can detect that a data conversion error could occur; this method is called on a closed result set, if a database access error occurs or the result set concurrency is CONCUR_READ_ONLY
      • updateNClob

        public void updateNClob(int column,
                       java.io.Reader x,
                       long length)
                         throws java.sql.SQLException
        Updates the designated column using the given Reader
        Specified by:
        updateNClob in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        x - An object that contains the data to set the parameter value to.
        length - Length of the value.
        Throws:
        java.sql.SQLException - if the columnIndex is not valid; if the driver does not support national character sets; if the driver can detect that a data conversion error could occur; this method is called on a closed result set, if a database access error occurs or the result set concurrency is CONCUR_READ_ONLY
      • updateNClob

        public void updateNClob(java.lang.String columnName,
                       java.io.Reader x,
                       long length)
                         throws java.sql.SQLException
        Updates the designated column using the given Reader
        Specified by:
        updateNClob in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        x - An object that contains the data to set the parameter value to.
        length - Length of the value.
        Throws:
        java.sql.SQLException - if the columnIndex is not valid; if the driver does not support national character sets; if the driver can detect that a data conversion error could occur; this method is called on a closed result set, if a database access error occurs or the result set concurrency is CONCUR_READ_ONLY
      • updateNString

        public void updateNString(int column,
                         java.lang.String x)
                           throws java.sql.SQLException
        Updates the designated column with a String value. It is intended for use when updating NCHAR,NVARCHAR and LONGNVARCHAR columns.
        Specified by:
        updateNString in interface java.sql.ResultSet
        Parameters:
        column - The column index (1-based).
        x - The value for the column to be updated
        Throws:
        java.sql.SQLException - if the driver does not support national character sets; if the driver can detect that a data conversion error could occur; or if a database access error occurs
      • updateNString

        public void updateNString(java.lang.String columnName,
                         java.lang.String x)
                           throws java.sql.SQLException
        Updates the designated column with a String value. It is intended for use when updating NCHAR,NVARCHAR and LONGNVARCHAR columns.
        Specified by:
        updateNString in interface java.sql.ResultSet
        Parameters:
        columnName - The column name.
        x - The value for the column to be updated
        Throws:
        java.sql.SQLException - if the driver does not support national character sets; if the driver can detect that a data conversion error could occur; or if a database access error occurs
      • getObject

        public java.lang.Object getObject(int columnIndex,
                                 java.lang.Class type)
                                   throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • getObject

        public java.lang.Object getObject(java.lang.String columnLabel,
                                 java.lang.Class type)
                                   throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • getValidWrappedList

        protected java.lang.String[] getValidWrappedList()