on 2012 May 29 1:24 PM
What is the best way to stop the execution of a synchronization?
I'm using ultraliteJ version 12.0.1 last ebf.
tks
Request clarification before answering.
You can return true from a SyncObserver to cancel the sync.
See http://dcx.sybase.com/index.html#1201/en/ulj/ulj-api-syncobserver-int.html for an example SyncObserver.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Basically. If you have restartable downloads turned off (which is the default), then whatever partial download got received is rolled back. If restartable downloads are turned on, then there is a commit to store any partial download, though I don't think the incomplete download is visible in any way to your application.
UltraLite will keep the database in a consistent state even if the sync fails or is canceled.
With restartable downloads, a partial download is not committed. For UltraLite (including UltraLiteJ for Android) it is up to your application to resume the download or roll back the partial download. For details, see the documentation.
User | Count |
---|---|
75 | |
30 | |
9 | |
8 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.