Method
|
Description
|
void cancelBatch() [Extension]
|
Undoes all the modifications of the current batch.
|
void sendBatch() [Extension]
|
Sends the current batch to the AppServer.
|
void sendBatchAndReOpen() [Extension]
|
Sends the current batch to the AppServer, then reopens the ResultSet. In Stateless mode, this method is more efficient than separately calling sendBatch() and reOpenQuery(). For more information, see Visibilityof updates.
|
void startBatch() [Extension]
|
Starts a batch session. All the modifications (column updates, deletions and insertions) are maintained locally. Calling this method if you have already called it and have not called sendBatch() or cancelBatch() throws an Exception.
|
boolean inBatch() [Extension]
|
Returns true if the SDOResultSet object is in Batch mode (that is, you have called startBatch() and have not yet called sendBatch() or sendBatchandReopen()).
Note: A row that is updated or deleted in Batch mode, and has not yet been sent to the AppServer (using sendBatch()), cannot be refreshed using refreshRow(). Also, to save your changes locally in batch mode, you must still call the row update methods (for example, insertRow() or updateRow()) even though, in this mode, your changes are not sent to the AppServer.
|