Java javax.sql.rowset.spi SyncResolver fields, constructors, methods, implement or subclass

Example usage for Java javax.sql.rowset.spi SyncResolver fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.sql.rowset.spi SyncResolver.

The text is from its open source code.

Field

intUPDATE_ROW_CONFLICT
Indicates that a conflict occurred while the RowSet object was attempting to update a row in the data source.
intDELETE_ROW_CONFLICT
Indicates that a conflict occurred while the RowSet object was attempting to delete a row in the data source.
intINSERT_ROW_CONFLICT
Indicates that a conflict occurred while the RowSet object was attempting to insert a row into the data source.
intNO_ROW_CONFLICT
Indicates that no conflict occurred while the RowSet object was attempting to update, delete or insert a row in the data source.

Method

ObjectgetConflictValue(int index)
Retrieves the value in the designated column in the current row of this SyncResolver object, which is the value in the data source that caused a conflict.
ObjectgetConflictValue(String columnName)
Retrieves the value in the designated column in the current row of this SyncResolver object, which is the value in the data source that caused a conflict.
intgetRow()
Retrieves the current row number.
intgetStatus()
Retrieves the conflict status of the current row of this SyncResolver, which indicates the operation the RowSet object was attempting when the conflict occurred.
booleannextConflict()
Moves the cursor down from its current position to the next row that contains a conflict value.
voidsetResolvedValue(int index, Object obj)
Sets obj as the value in column index in the current row of the RowSet object that is being synchronized.
voidsetResolvedValue(String columnName, Object obj)
Sets obj as the value in column columnName in the current row of the RowSet object that is being synchronized.