Example usage for Java javax.sql.rowset.spi SyncResolver fields, constructors, methods, implement or subclass
The text is from its open source code.
int | UPDATE_ROW_CONFLICT Indicates that a conflict occurred while the RowSet object was attempting to update a row in the data source. |
int | DELETE_ROW_CONFLICT Indicates that a conflict occurred while the RowSet object was attempting to delete a row in the data source. |
int | INSERT_ROW_CONFLICT Indicates that a conflict occurred while the RowSet object was attempting to insert a row into the data source. |
int | NO_ROW_CONFLICT Indicates that no conflict occurred while the RowSet object was attempting to update, delete or insert a row in the data source. |
Object | getConflictValue(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. |
Object | getConflictValue(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. |
int | getRow() Retrieves the current row number. |
int | getStatus() Retrieves the conflict status of the current row of this SyncResolver , which indicates the operation the RowSet object was attempting when the conflict occurred. |
boolean | nextConflict() Moves the cursor down from its current position to the next row that contains a conflict value. |
void | setResolvedValue(int index, Object obj) Sets obj as the value in column index in the current row of the RowSet object that is being synchronized. |
void | setResolvedValue(String columnName, Object obj) Sets obj as the value in column columnName in the current row of the RowSet object that is being synchronized. |