Class UpdatableResultSet

  • All Implemented Interfaces:
    java.lang.AutoCloseable, java.sql.ResultSet, java.sql.Wrapper

    public class UpdatableResultSet
    extends SelectResultSet
    • Field Detail

      • database

        private java.lang.String database
      • table

        private java.lang.String table
      • notInsertRowPointer

        private int notInsertRowPointer
      • updateException

        private java.sql.SQLException updateException
      • insertException

        private java.sql.SQLException insertException
      • state

        private int state
      • refreshPreparedStatement

        private java.sql.PreparedStatement refreshPreparedStatement
    • Constructor Detail

      • UpdatableResultSet

        public UpdatableResultSet​(ColumnDefinition[] columnsInformation,
                                  Results results,
                                  Protocol protocol,
                                  PacketInputStream reader,
                                  boolean callableResult,
                                  boolean eofDeprecated)
                           throws java.io.IOException,
                                  java.sql.SQLException
        Constructor.
        Parameters:
        columnsInformation - column information
        results - results
        protocol - current protocol
        reader - stream fetcher
        callableResult - is it from a callableStatement ?
        eofDeprecated - is EOF deprecated
        Throws:
        java.io.IOException - if any connection error occur
        java.sql.SQLException - if any connection error occur
    • Method Detail

      • getConcurrency

        public int getConcurrency()
        Specified by:
        getConcurrency in interface java.sql.ResultSet
        Overrides:
        getConcurrency in class SelectResultSet
      • checkIfUpdatable

        private void checkIfUpdatable​(Results results)
                               throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • cannotUpdateInsertRow

        private void cannotUpdateInsertRow​(java.lang.String reason,
                                           boolean exceptionUpdateNotSupported)
      • cannotInsertRow

        private void cannotInsertRow​(java.lang.String reason)
      • checkUpdatable

        private void checkUpdatable​(int position)
                             throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • updateNull

        public void updateNull​(int columnIndex)
                        throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateNull in interface java.sql.ResultSet
        Overrides:
        updateNull in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateNull

        public void updateNull​(java.lang.String columnLabel)
                        throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateNull in interface java.sql.ResultSet
        Overrides:
        updateNull in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateBoolean

        public void updateBoolean​(int columnIndex,
                                  boolean bool)
                           throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateBoolean in interface java.sql.ResultSet
        Overrides:
        updateBoolean in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateBoolean

        public void updateBoolean​(java.lang.String columnLabel,
                                  boolean value)
                           throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateBoolean in interface java.sql.ResultSet
        Overrides:
        updateBoolean in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateByte

        public void updateByte​(int columnIndex,
                               byte value)
                        throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateByte in interface java.sql.ResultSet
        Overrides:
        updateByte in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateByte

        public void updateByte​(java.lang.String columnLabel,
                               byte value)
                        throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateByte in interface java.sql.ResultSet
        Overrides:
        updateByte in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateShort

        public void updateShort​(int columnIndex,
                                short value)
                         throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateShort in interface java.sql.ResultSet
        Overrides:
        updateShort in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateShort

        public void updateShort​(java.lang.String columnLabel,
                                short value)
                         throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateShort in interface java.sql.ResultSet
        Overrides:
        updateShort in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateInt

        public void updateInt​(int columnIndex,
                              int value)
                       throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateInt in interface java.sql.ResultSet
        Overrides:
        updateInt in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateInt

        public void updateInt​(java.lang.String columnLabel,
                              int value)
                       throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateInt in interface java.sql.ResultSet
        Overrides:
        updateInt in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateFloat

        public void updateFloat​(int columnIndex,
                                float value)
                         throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateFloat in interface java.sql.ResultSet
        Overrides:
        updateFloat in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateFloat

        public void updateFloat​(java.lang.String columnLabel,
                                float value)
                         throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateFloat in interface java.sql.ResultSet
        Overrides:
        updateFloat in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateDouble

        public void updateDouble​(int columnIndex,
                                 double value)
                          throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateDouble in interface java.sql.ResultSet
        Overrides:
        updateDouble in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateDouble

        public void updateDouble​(java.lang.String columnLabel,
                                 double value)
                          throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateDouble in interface java.sql.ResultSet
        Overrides:
        updateDouble in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateBigDecimal

        public void updateBigDecimal​(int columnIndex,
                                     java.math.BigDecimal value)
                              throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateBigDecimal in interface java.sql.ResultSet
        Overrides:
        updateBigDecimal in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateBigDecimal

        public void updateBigDecimal​(java.lang.String columnLabel,
                                     java.math.BigDecimal value)
                              throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateBigDecimal in interface java.sql.ResultSet
        Overrides:
        updateBigDecimal in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateString

        public void updateString​(int columnIndex,
                                 java.lang.String value)
                          throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateString in interface java.sql.ResultSet
        Overrides:
        updateString in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateString

        public void updateString​(java.lang.String columnLabel,
                                 java.lang.String value)
                          throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateString in interface java.sql.ResultSet
        Overrides:
        updateString in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateBytes

        public void updateBytes​(int columnIndex,
                                byte[] value)
                         throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateBytes in interface java.sql.ResultSet
        Overrides:
        updateBytes in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateBytes

        public void updateBytes​(java.lang.String columnLabel,
                                byte[] value)
                         throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateBytes in interface java.sql.ResultSet
        Overrides:
        updateBytes in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateDate

        public void updateDate​(int columnIndex,
                               java.sql.Date date)
                        throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateDate in interface java.sql.ResultSet
        Overrides:
        updateDate in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateDate

        public void updateDate​(java.lang.String columnLabel,
                               java.sql.Date value)
                        throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateDate in interface java.sql.ResultSet
        Overrides:
        updateDate in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateTime

        public void updateTime​(int columnIndex,
                               java.sql.Time time)
                        throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateTime in interface java.sql.ResultSet
        Overrides:
        updateTime in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateTime

        public void updateTime​(java.lang.String columnLabel,
                               java.sql.Time value)
                        throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateTime in interface java.sql.ResultSet
        Overrides:
        updateTime in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateTimestamp

        public void updateTimestamp​(int columnIndex,
                                    java.sql.Timestamp timeStamp)
                             throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateTimestamp in interface java.sql.ResultSet
        Overrides:
        updateTimestamp in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateTimestamp

        public void updateTimestamp​(java.lang.String columnLabel,
                                    java.sql.Timestamp value)
                             throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateTimestamp in interface java.sql.ResultSet
        Overrides:
        updateTimestamp in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateAsciiStream

        public void updateAsciiStream​(int columnIndex,
                                      java.io.InputStream inputStream)
                               throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateAsciiStream in interface java.sql.ResultSet
        Overrides:
        updateAsciiStream in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateAsciiStream

        public void updateAsciiStream​(java.lang.String columnLabel,
                                      java.io.InputStream inputStream)
                               throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateAsciiStream in interface java.sql.ResultSet
        Overrides:
        updateAsciiStream in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateAsciiStream

        public void updateAsciiStream​(int columnIndex,
                                      java.io.InputStream inputStream,
                                      int length)
                               throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateAsciiStream in interface java.sql.ResultSet
        Overrides:
        updateAsciiStream in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateAsciiStream

        public void updateAsciiStream​(java.lang.String columnLabel,
                                      java.io.InputStream inputStream,
                                      int length)
                               throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateAsciiStream in interface java.sql.ResultSet
        Overrides:
        updateAsciiStream in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateAsciiStream

        public void updateAsciiStream​(int columnIndex,
                                      java.io.InputStream inputStream,
                                      long length)
                               throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateAsciiStream in interface java.sql.ResultSet
        Overrides:
        updateAsciiStream in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateAsciiStream

        public void updateAsciiStream​(java.lang.String columnLabel,
                                      java.io.InputStream inputStream,
                                      long length)
                               throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateAsciiStream in interface java.sql.ResultSet
        Overrides:
        updateAsciiStream in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateBinaryStream

        public void updateBinaryStream​(int columnIndex,
                                       java.io.InputStream inputStream,
                                       int length)
                                throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateBinaryStream in interface java.sql.ResultSet
        Overrides:
        updateBinaryStream in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateBinaryStream

        public void updateBinaryStream​(int columnIndex,
                                       java.io.InputStream inputStream,
                                       long length)
                                throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateBinaryStream in interface java.sql.ResultSet
        Overrides:
        updateBinaryStream in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateBinaryStream

        public void updateBinaryStream​(java.lang.String columnLabel,
                                       java.io.InputStream inputStream,
                                       int length)
                                throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateBinaryStream in interface java.sql.ResultSet
        Overrides:
        updateBinaryStream in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateBinaryStream

        public void updateBinaryStream​(java.lang.String columnLabel,
                                       java.io.InputStream inputStream,
                                       long length)
                                throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateBinaryStream in interface java.sql.ResultSet
        Overrides:
        updateBinaryStream in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateBinaryStream

        public void updateBinaryStream​(int columnIndex,
                                       java.io.InputStream inputStream)
                                throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateBinaryStream in interface java.sql.ResultSet
        Overrides:
        updateBinaryStream in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateBinaryStream

        public void updateBinaryStream​(java.lang.String columnLabel,
                                       java.io.InputStream inputStream)
                                throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateBinaryStream in interface java.sql.ResultSet
        Overrides:
        updateBinaryStream in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateCharacterStream

        public void updateCharacterStream​(int columnIndex,
                                          java.io.Reader reader,
                                          int length)
                                   throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateCharacterStream in interface java.sql.ResultSet
        Overrides:
        updateCharacterStream in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateCharacterStream

        public void updateCharacterStream​(int columnIndex,
                                          java.io.Reader value)
                                   throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateCharacterStream in interface java.sql.ResultSet
        Overrides:
        updateCharacterStream in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateCharacterStream

        public void updateCharacterStream​(java.lang.String columnLabel,
                                          java.io.Reader reader,
                                          int length)
                                   throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateCharacterStream in interface java.sql.ResultSet
        Overrides:
        updateCharacterStream in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateCharacterStream

        public void updateCharacterStream​(int columnIndex,
                                          java.io.Reader value,
                                          long length)
                                   throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateCharacterStream in interface java.sql.ResultSet
        Overrides:
        updateCharacterStream in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateCharacterStream

        public void updateCharacterStream​(java.lang.String columnLabel,
                                          java.io.Reader reader,
                                          long length)
                                   throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateCharacterStream in interface java.sql.ResultSet
        Overrides:
        updateCharacterStream in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateCharacterStream

        public void updateCharacterStream​(java.lang.String columnLabel,
                                          java.io.Reader reader)
                                   throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateCharacterStream in interface java.sql.ResultSet
        Overrides:
        updateCharacterStream in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateInternalObject

        private void updateInternalObject​(int parameterIndex,
                                          java.lang.Object obj,
                                          int targetSqlType,
                                          long scaleOrLength)
                                   throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • updateObject

        public void updateObject​(int columnIndex,
                                 java.lang.Object value,
                                 int scaleOrLength)
                          throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateObject in interface java.sql.ResultSet
        Overrides:
        updateObject in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateObject

        public void updateObject​(int columnIndex,
                                 java.lang.Object value)
                          throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateObject in interface java.sql.ResultSet
        Overrides:
        updateObject in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateObject

        public void updateObject​(java.lang.String columnLabel,
                                 java.lang.Object value,
                                 int scaleOrLength)
                          throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateObject in interface java.sql.ResultSet
        Overrides:
        updateObject in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateObject

        public void updateObject​(java.lang.String columnLabel,
                                 java.lang.Object value)
                          throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateObject in interface java.sql.ResultSet
        Overrides:
        updateObject in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateLong

        public void updateLong​(int columnIndex,
                               long value)
                        throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateLong in interface java.sql.ResultSet
        Overrides:
        updateLong in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateLong

        public void updateLong​(java.lang.String columnLabel,
                               long value)
                        throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateLong in interface java.sql.ResultSet
        Overrides:
        updateLong in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateRef

        public void updateRef​(int columnIndex,
                              java.sql.Ref ref)
                       throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateRef in interface java.sql.ResultSet
        Overrides:
        updateRef in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateRef

        public void updateRef​(java.lang.String columnLabel,
                              java.sql.Ref ref)
                       throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateRef in interface java.sql.ResultSet
        Overrides:
        updateRef in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateBlob

        public void updateBlob​(int columnIndex,
                               java.sql.Blob blob)
                        throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateBlob in interface java.sql.ResultSet
        Overrides:
        updateBlob in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateBlob

        public void updateBlob​(java.lang.String columnLabel,
                               java.sql.Blob blob)
                        throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateBlob in interface java.sql.ResultSet
        Overrides:
        updateBlob in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateBlob

        public void updateBlob​(int columnIndex,
                               java.io.InputStream inputStream)
                        throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateBlob in interface java.sql.ResultSet
        Overrides:
        updateBlob in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateBlob

        public void updateBlob​(java.lang.String columnLabel,
                               java.io.InputStream inputStream)
                        throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateBlob in interface java.sql.ResultSet
        Overrides:
        updateBlob in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateBlob

        public void updateBlob​(int columnIndex,
                               java.io.InputStream inputStream,
                               long length)
                        throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateBlob in interface java.sql.ResultSet
        Overrides:
        updateBlob in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateBlob

        public void updateBlob​(java.lang.String columnLabel,
                               java.io.InputStream inputStream,
                               long length)
                        throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateBlob in interface java.sql.ResultSet
        Overrides:
        updateBlob in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateClob

        public void updateClob​(int columnIndex,
                               java.sql.Clob clob)
                        throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateClob in interface java.sql.ResultSet
        Overrides:
        updateClob in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateClob

        public void updateClob​(java.lang.String columnLabel,
                               java.sql.Clob clob)
                        throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateClob in interface java.sql.ResultSet
        Overrides:
        updateClob in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateClob

        public void updateClob​(int columnIndex,
                               java.io.Reader reader,
                               long length)
                        throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateClob in interface java.sql.ResultSet
        Overrides:
        updateClob in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateClob

        public void updateClob​(java.lang.String columnLabel,
                               java.io.Reader reader,
                               long length)
                        throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateClob in interface java.sql.ResultSet
        Overrides:
        updateClob in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateClob

        public void updateClob​(int columnIndex,
                               java.io.Reader reader)
                        throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateClob in interface java.sql.ResultSet
        Overrides:
        updateClob in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateClob

        public void updateClob​(java.lang.String columnLabel,
                               java.io.Reader reader)
                        throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateClob in interface java.sql.ResultSet
        Overrides:
        updateClob in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateArray

        public void updateArray​(int columnIndex,
                                java.sql.Array array)
                         throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateArray in interface java.sql.ResultSet
        Overrides:
        updateArray in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateArray

        public void updateArray​(java.lang.String columnLabel,
                                java.sql.Array array)
                         throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateArray in interface java.sql.ResultSet
        Overrides:
        updateArray in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateRowId

        public void updateRowId​(int columnIndex,
                                java.sql.RowId rowId)
                         throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateRowId in interface java.sql.ResultSet
        Overrides:
        updateRowId in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateRowId

        public void updateRowId​(java.lang.String columnLabel,
                                java.sql.RowId rowId)
                         throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateRowId in interface java.sql.ResultSet
        Overrides:
        updateRowId in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateNString

        public void updateNString​(int columnIndex,
                                  java.lang.String value)
                           throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateNString in interface java.sql.ResultSet
        Overrides:
        updateNString in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateNString

        public void updateNString​(java.lang.String columnLabel,
                                  java.lang.String value)
                           throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateNString in interface java.sql.ResultSet
        Overrides:
        updateNString in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateNClob

        public void updateNClob​(int columnIndex,
                                java.sql.NClob nclob)
                         throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateNClob in interface java.sql.ResultSet
        Overrides:
        updateNClob in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateNClob

        public void updateNClob​(java.lang.String columnLabel,
                                java.sql.NClob nclob)
                         throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateNClob in interface java.sql.ResultSet
        Overrides:
        updateNClob in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateNClob

        public void updateNClob​(int columnIndex,
                                java.io.Reader reader)
                         throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateNClob in interface java.sql.ResultSet
        Overrides:
        updateNClob in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateNClob

        public void updateNClob​(java.lang.String columnLabel,
                                java.io.Reader reader)
                         throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateNClob in interface java.sql.ResultSet
        Overrides:
        updateNClob in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateNClob

        public void updateNClob​(int columnIndex,
                                java.io.Reader reader,
                                long length)
                         throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateNClob in interface java.sql.ResultSet
        Overrides:
        updateNClob in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateNClob

        public void updateNClob​(java.lang.String columnLabel,
                                java.io.Reader reader,
                                long length)
                         throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateNClob in interface java.sql.ResultSet
        Overrides:
        updateNClob in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateSQLXML

        public void updateSQLXML​(int columnIndex,
                                 java.sql.SQLXML xmlObject)
                          throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateSQLXML in interface java.sql.ResultSet
        Overrides:
        updateSQLXML in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateSQLXML

        public void updateSQLXML​(java.lang.String columnLabel,
                                 java.sql.SQLXML xmlObject)
                          throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateSQLXML in interface java.sql.ResultSet
        Overrides:
        updateSQLXML in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateNCharacterStream

        public void updateNCharacterStream​(int columnIndex,
                                           java.io.Reader value,
                                           long length)
                                    throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateNCharacterStream in interface java.sql.ResultSet
        Overrides:
        updateNCharacterStream in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateNCharacterStream

        public void updateNCharacterStream​(java.lang.String columnLabel,
                                           java.io.Reader reader,
                                           long length)
                                    throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateNCharacterStream in interface java.sql.ResultSet
        Overrides:
        updateNCharacterStream in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateNCharacterStream

        public void updateNCharacterStream​(int columnIndex,
                                           java.io.Reader reader)
                                    throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateNCharacterStream in interface java.sql.ResultSet
        Overrides:
        updateNCharacterStream in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateNCharacterStream

        public void updateNCharacterStream​(java.lang.String columnLabel,
                                           java.io.Reader reader)
                                    throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateNCharacterStream in interface java.sql.ResultSet
        Overrides:
        updateNCharacterStream in class SelectResultSet
        Throws:
        java.sql.SQLException
      • insertRow

        public void insertRow()
                       throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        insertRow in interface java.sql.ResultSet
        Overrides:
        insertRow in class SelectResultSet
        Throws:
        java.sql.SQLException
      • updateRow

        public void updateRow()
                       throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        updateRow in interface java.sql.ResultSet
        Overrides:
        updateRow in class SelectResultSet
        Throws:
        java.sql.SQLException
      • deleteRow

        public void deleteRow()
                       throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        deleteRow in interface java.sql.ResultSet
        Overrides:
        deleteRow in class SelectResultSet
        Throws:
        java.sql.SQLException
      • prepareRefreshStmt

        private void prepareRefreshStmt()
                                 throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • refreshRawData

        private byte[] refreshRawData()
                               throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • refreshRow

        public void refreshRow()
                        throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        refreshRow in interface java.sql.ResultSet
        Overrides:
        refreshRow in class SelectResultSet
        Throws:
        java.sql.SQLException
      • cancelRowUpdates

        public void cancelRowUpdates()
        {inheritDoc}.
        Specified by:
        cancelRowUpdates in interface java.sql.ResultSet
        Overrides:
        cancelRowUpdates in class SelectResultSet
      • moveToInsertRow

        public void moveToInsertRow()
                             throws java.sql.SQLException
        {inheritDoc}.
        Specified by:
        moveToInsertRow in interface java.sql.ResultSet
        Overrides:
        moveToInsertRow in class SelectResultSet
        Throws:
        java.sql.SQLException
      • moveToCurrentRow

        public void moveToCurrentRow()
        {inheritDoc}.
        Specified by:
        moveToCurrentRow in interface java.sql.ResultSet
        Overrides:
        moveToCurrentRow in class SelectResultSet
      • beforeFirst

        public void beforeFirst()
                         throws java.sql.SQLException
        Specified by:
        beforeFirst in interface java.sql.ResultSet
        Overrides:
        beforeFirst in class SelectResultSet
        Throws:
        java.sql.SQLException
      • first

        public boolean first()
                      throws java.sql.SQLException
        Specified by:
        first in interface java.sql.ResultSet
        Overrides:
        first in class SelectResultSet
        Throws:
        java.sql.SQLException
      • last

        public boolean last()
                     throws java.sql.SQLException
        Specified by:
        last in interface java.sql.ResultSet
        Overrides:
        last in class SelectResultSet
        Throws:
        java.sql.SQLException
      • afterLast

        public void afterLast()
                       throws java.sql.SQLException
        Specified by:
        afterLast in interface java.sql.ResultSet
        Overrides:
        afterLast in class SelectResultSet
        Throws:
        java.sql.SQLException
      • absolute

        public boolean absolute​(int row)
                         throws java.sql.SQLException
        Specified by:
        absolute in interface java.sql.ResultSet
        Overrides:
        absolute in class SelectResultSet
        Throws:
        java.sql.SQLException
      • relative

        public boolean relative​(int rows)
                         throws java.sql.SQLException
        Specified by:
        relative in interface java.sql.ResultSet
        Overrides:
        relative in class SelectResultSet
        Throws:
        java.sql.SQLException
      • next

        public boolean next()
                     throws java.sql.SQLException
        Specified by:
        next in interface java.sql.ResultSet
        Overrides:
        next in class SelectResultSet
        Throws:
        java.sql.SQLException
      • previous

        public boolean previous()
                         throws java.sql.SQLException
        Specified by:
        previous in interface java.sql.ResultSet
        Overrides:
        previous in class SelectResultSet
        Throws:
        java.sql.SQLException
      • close

        public void close()
                   throws java.sql.SQLException
        Description copied from class: SelectResultSet
        Close resultSet.
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.sql.ResultSet
        Overrides:
        close in class SelectResultSet
        Throws:
        java.sql.SQLException