borland Packages Class Hierarchy jbcl.dataset Package Index
java.lang.Object +----borland.jbcl.dataset.Resolver +----borland.sql.dataset.SQLResolver
Properties Methods
Implements Serializable
The Resolver class is a base class for Resolver objects such as SQLResolver. A Resolver should be able to update a snapshot of a database with changes from another snapshot of a database. The changes might be performed on a row by row basis, as SQLResolver does, or in a batch mode.
For an example of a custom resolver that extends this class, see the ResolverBean class in the sample project Providers.jpr. This sample is located in the samples\borland\samples\tutorial\dataset\providers directory of your JBuilder installation. The HTML file in that project contains valuable information on creating a custom resolver.
public void close(borland.jbcl.dataset.StorageDataSet dataSet)Some implementations of Resolver cache information during the resolve. This method allows an implementation to release these resources and references for better garbage collection.
public void ifBusy(borland.jbcl.dataset.StorageDataSet dataSet)Some implementations of resolveData may optionally resolve the data asynchronously. A StorageDataSet has to block action such as editing and providing until the asynchronous save is done. This method allows an implementation to give an appropriate error message by raising a DataSetException. The default action is to do nothing, i.e. no asynchronous resolving.
public abstract void resolveData(borland.jbcl.dataset.DataSet dataSet)Resolves the modified data in a DataSet back to the data source. The destination of the data, and the method of saving the data is up to the implementation of this abstract method.