java.sql
Interface ConflictingRow<T>


public interface ConflictingRow<T>

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.

Since:
1.6

Method Summary
 T getRow()
          Retrieves an object representing a row within the DataSet which could not be successfully updated in the underlying data source.
 SQLException getSQLException()
          Retrieves the SQLException object that resulted during the update to the underlying data source for the given row.
 

Method Detail

getSQLException

SQLException getSQLException()
Retrieves the SQLException object that resulted during the update to the underlying data source for the given row.

Returns:
the SQLException object that occured.
Since:
1.6
See Also:
SQLException

getRow

T getRow()
Retrieves an object representing a row within the DataSet which could not be successfully updated in the underlying data source.

Returns:
a row of type T
Throws:
SQLRuntimeException - if an error occurs retrieving the row
Since:
1.6