Re: Replication Complete Information

2014-05-13 Thread Traun Leyden
On Thursday, May 1, 2014, Pankaj Jakhar wrote: > > I have already implemented a replication change listener interface which > lets me know about the status of replication. But the problem is that > before replication is completed 100%, I get Replication IDLE status 2-3 > while replication is goin

Re: Sync not completing from never ending loop

2014-05-13 Thread Traun Leyden
Did you ever resolve this? On Friday, May 2, 2014, Brian Hardy wrote: > I keep having this issue. I'm not sure why. > > -- > 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, s

Re: Deleting objects on NSManagedObjectContext with CBLIncrementalStore

2014-05-13 Thread Ragu Vijaykumar
Also, I was wrong about it mimic'ing CoreData in how it stored relationships. Not sure why I thought that, but just wanted to correct myself. On Tuesday, May 13, 2014 10:11:26 AM UTC-7, Ben Tally wrote: > > My project starts and ends with CouchbaseLite. I'm using a cblite file as > my sole per

Re: Deleting objects on NSManagedObjectContext with CBLIncrementalStore

2014-05-13 Thread Ragu Vijaykumar
Yeah, it is pretty cool. Hopefully the issue will be figured out. As a personal plug, if you are interested in using the Core Data model editor, but want to use CouchbaseLite only, I've written a model generator similar to the XCode Managed Object generator. Given a CoreData model file, it'll s

Re: Error while replicating documents with attachments between CouchDB and CBL phonegap plugin.

2014-05-13 Thread Traun Leyden
This is most likely a duplicate of: https://github.com/couchbase/couchbase-lite-android/issues/214 On Mon, May 12, 2014 at 9:17 AM, Jean-Baptiste Perrin < jeanbaptiste.perri...@gmail.com> wrote: > Hi all, > > I have an error, when I replicate my CouchDB (which contains documents > with attachme

Re: OR Mapper / Migrating from sqlite to cblite [android]

2014-05-13 Thread Matt Quinn
On Tue, May 13, 2014 at 06:54:09PM +0200, Sascha Lüdecke wrote: > Using something like your DocUtils his is exactly the conclusion I > have come to. I will move away from 'proper' domain / business > objects in terms of 'static typing' and move to a 'dynamically typed' > approach: using Document o

Re: Android project including both couchbase lite beta 2 and Phonegap

2014-05-13 Thread J. Chris Anderson
I tend to use the phonegap command line tools as illustrated here: http://docs.couchbase.com/couchbase-lite/cbl-phonegap/#getting-started-in-5-minutes After running these instructions you should be able to look in platforms/android for a project file. I'm not sure if it uses Studio or not. May

Re: autoSave question

2014-05-13 Thread Todd Freese
Thanks for the tip! T -- 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 mobile-couchbase+unsubscr...@googlegroups.com. To view this discussion on the web visi

Re: OR Mapper / Migrating from sqlite to cblite [android]

2014-05-13 Thread Jens Alfke
If someone's interested in creating a Java model class, take a look at the implementation of the iOS/Mac CBLModel class. Some of it is Objective-C specific, but there's also a lot of code that interacts with the Document and Database objects that should be applicable to other platforms. --Jens

Re: Deleting objects on NSManagedObjectContext with CBLIncrementalStore

2014-05-13 Thread Ben Tally
My project starts and ends with CouchbaseLite. I'm using a cblite file as my sole persistence. (no sqlite anywhere) I have nice round trip running with CouchbaseLIte Viewer and CoreData. Other than this one snag, everything works as expected across 4 test devices and a 3 node cluster. I suppos

Re: OR Mapper / Migrating from sqlite to cblite [android]

2014-05-13 Thread Sascha Lüdecke
On Tuesday 13 May 2014 09:37:28 Matt Quinn wrote: > Sure. For example, imagine an app that tracks a list of tasks, and the > user has marked a task complete. > > public boolean completeTask(String taskId) { > Document doc = mDatabase.getExistingDocument(taskId); > SavedRevisio

Re: [SF] Save the Date May 21st

2014-05-13 Thread J. Chris Anderson
Remember, the earlier you RSVP, the greater the chance that I'll do something embarrassing and memorable at the party on the 21st!!! http://www.eventbrite.com/e/couchbase-mobile-lounge-tickets-11468120457 We'll start another thread with ideas about WWDC meetups. -- You received this message be

Re: autoSave question

2014-05-13 Thread Jens Alfke
On May 13, 2014, at 8:33 AM, Todd Freese wrote: > One more autosave question, since I used KVO, I see that the save is getting > called after every key press in a UITextField. I know there is the delay > value to help combine the saves. Do I need to worry about the long term with > having so

Re: autoSave question

2014-05-13 Thread Todd Freese
OK, Fixed the issue. Had a problem in the design of my model. One more autosave question, since I used KVO, I see that the save is getting called after every key press in a UITextField. I know there is the delay value to help combine the saves. Do I need to worry about the long term with having

Re: OR Mapper / Migrating from sqlite to cblite [android]

2014-05-13 Thread Matt Quinn
On Mon, May 12, 2014 at 06:05:04PM -0400, Matt Quinn wrote: > On Mon, May 12, 2014 at 05:32:05PM +0200, Sascha Lüdecke wrote: > > I have not found any useable OR mapper for CBLite, am I missing something? > > I believe this is the most recent discussion on this topic: > https://groups.google.com/d/

Re: OR Mapper / Migrating from sqlite to cblite [android]

2014-05-13 Thread Matt Quinn
On Tue, May 13, 2014 at 10:59:52AM +0200, Sascha Lüdecke wrote: > Do have a code sample you can share for using the Document.update()? Sure. For example, imagine an app that tracks a list of tasks, and the user has marked a task complete. public boolean completeTask(String taskId) { D

Android project including both couchbase lite beta 2 and Phonegap

2014-05-13 Thread nadia echi
Hi , Please can you help me to build an android studio 5.5 project including both couchbase lite beta 2 and Phonegap ? any clearly steps ? Thanks a lot Nadia , -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe fro

Re: OR Mapper / Migrating from sqlite to cblite [android]

2014-05-13 Thread Sascha Lüdecke
On Monday 12 May 2014 18:05:04 Matt Quinn wrote: > I'm using what CBL gives you natively for saving changes, yeah. For new > docs, I do something similar to your code (but in that case there's no > map copying: just fill map->save). For updating documents, I use > Document.update() instead: it st