TopBlend: Here is the first difference. There are 11 differences. is old. is new.


java.sql
Interface DataSetResolver<T>

All Superinterfaces:
Iterable < ConflictingRow <T>> <T>

public interface DataSetResolver<T>
extends Iterable< ConflictingRow<T>> <T>

Defines a mechanism that allows applications to manually decide what should be done when a synchronization conflict occurs during the invocation of the sync method on a disconnected DataSet

Since:
1.6

Method Summary
 void resolveConflicts sync ()
          Propagates modifications made to the conflicting rows contained in a DataSetResolver object to the underlying data store.
 void sync ( Connection
          Propagates modifications made to the conflicting rows contained in a DataSetResolver object to the underlying data store using the specified Connection object.
 void syncRow ()
          Propagates modifications made to a conflicted row to the underlying data store.
 void syncRow ( Connection
          Propagates modifications made to a conflicted row to the underlying data store using the specified Connection object.
 
Methods inherited from interface java.lang. Iterable
iterator
 

Method Detail

resolveConflicts syncRow


void resolveConflicts syncRow ()
Propagates modifications made to the conflicting rows contained in a DataSetResolver object conflicted row to the underlying data store.

Note: The syncRow() method can only be used by a DataSetResolver object whose Query Object instance was created by calling DataSource.createQueryObject.

Throws:
SQLRuntimeException - if an error occurs writing the changes row back to the data source source; or the DataSet which the DataSetResolver was derived from, was not created from a DataSource
Since:
1.6
See Also:
DataSet.sync()

syncRow


 
void syncRow ( Connection con) 
Propagates modifications made to a conflicted row to the underlying data store using the specified Connection object.

Parameters:
con - The connection object to use to synchronize the changes back to the underlying data store.
Throws:
SQLRuntimeException - if an error occurs writing the changes back to the data source
Since:
1.6
See Also:
DataSet.sync()

sync


 
void sync () 
Propagates modifications made to the conflicting rows contained in a DataSetResolver object to the underlying data store.

Note: The sync() method can only be used by a DataSetResolver object whose Query Object instance was created by calling DataSource.createQueryObject.

Throws:
SQLRuntimeException - if an error occurs writing the changes back to the data source; or the DataSet which the DataSetResolver was derived from, was not created from a DataSource
Since:
1.6
See Also:
DataSet.sync()

sync


 
void sync ( Connection con) 
Propagates modifications made to the conflicting rows contained in a DataSetResolver object to the underlying data store using the specified Connection object.

Throws:
SQLRuntimeException - if an error occurs writing the changes back to the data source
Since:
1.6
See Also:
DataSet.sync()