I'm storing a long in the properties map of a local database and syncing that with others. In the local database it is returned as a Long which is correct, but when synced to other databases it is returned as a Double. Here's the code I used to verify this, very brief:
Storing on a local database: properties.put( "test2", System.currentTimeMillis() ); Print on the local database I just stored on: 08-14 09:33:06.260 5957-5957/com.assayrt I/System.out﹕ typeeeeee: java.lang.Long Same documentId retrieved as the result of a sync and I get this for the type 08-14 09:21:25.130 3572-3631/com.assayrt I/System.out﹕ typeeeeee: java.lang.Double I'm not sure if this is the desired behavior or not. If not I can file a bug for it, and if so let me know the best strategy for handling this. I have a workaround I can use in the mean time. Thanks -james -- 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/55d59ef0-5ed6-4d73-9716-b4bf97010f00%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
