public interface java.sql
ConflictingRow<T>


Show All Login
Java SE 6
  
Details
A ConflictingRow object is obtained by iterating over a DataSetResolver object. Each ConflictingRow object represents a row whose update could not be propagated to the underlying data store by an invocation of the method DataSet.sync.

since1.6


Properties
public List getConflictedColumnNames() Details
Retrieves the list of column names for the current row of this ConflictingRow object that caused a conflict on a call to DataSet.sync
returnthe value of the designated column in the current row of this ConflictingRow object
since1.6
public Object getConflictedValue(String columnName) Details
Retrieves the value in the designated column in the current row of this ConflictingRow object that caused a conflict on a call to DataSet.sync
columnNamethe column name containing the value to be resolved
returnthe value of the designated column in the current row of this ConflictingRow object
ThrowsSQLRuntimeException: if an invalid column name is specified or database access error occurs
since1.6
public DataSetSyncStatus getDataSetSyncStatus() Details
Returns the conflict status of the current row of this ConflictingRow, which indicates the operation the DataSet.sync was attempting when the conflict occured.
returnThe status indicting the reason for the conflict for the current row.
ThrowsSQLRuntimeException: if an error occurs retrieving the row
since1.6
public void setResolvedValue(String columnName, Object newValue) Details
Specifies the new value for the column columnName in the current row of the ConflictingRow object that caused the conflict during a call to DataSet.sync
columnNamethe column name to be resolved
newValuethe value that is to be used to resolve the conflict for the specified column
ThrowsSQLRuntimeException: if a database access error occurs, an invalid column name is specified or a problem occurs setting the resolved value.
since1.6
public Object getRow() Details
Retrieves an object representing a row within the DataSet which could not be successfully updated in the underlying data source.
returna row of type T
ThrowsSQLRuntimeException: if an error occurs retrieving the row
since1.6