> On Aug 19, 2014, at 10:35 AM, Sebastien ARBOGAST 
> <[email protected]> wrote:
> 
> And it that OK to use those revisions in a business feature like that. I 
> though I read somewhere that document revisions were designed for sync 
> gateway to handle conflicts and they should not be used for functional 
> purposes like that?

No, they're also used for purposes like letting apps resolve conflicts. 
Revisions do get deleted during compaction, but it's safe to get the previous 
revision shortly after a change is made.

> Also, where can I find documentation on how to track document changes on Sync 
> Gateway using Java, and possibly hide those REST requests behind library 
> methods?

Look for a CouchDB client library for Java. Ektorp is the one that I know of.

—Jens

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/13F7D3E5-A25A-44A9-A9F5-BFBE3CD6AAC6%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to