Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 59137EFE3 for ; Wed, 5 Dec 2012 11:52:27 +0000 (UTC) Received: (qmail 61078 invoked by uid 500); 5 Dec 2012 11:52:26 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 60584 invoked by uid 500); 5 Dec 2012 11:52:20 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 60544 invoked by uid 99); 5 Dec 2012 11:52:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Dec 2012 11:52:18 +0000 X-ASF-Spam-Status: No, hits=-0.6 required=5.0 tests=FROM_12LTRDOM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [91.195.24.3] (HELO mail.open.bg) (91.195.24.3) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Dec 2012 11:52:09 +0000 Received: from [78.83.28.88] (port=35617 helo=eee-az) by mail.open.bg with esmtpsa (Cipher SSL3.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.77) id 1TgDVx-0001LO-RH by authid with login for ; Wed, 05 Dec 2012 13:51:45 +0200 Date: Wed, 5 Dec 2012 13:56:27 +0200 From: svilen To: user@couchdb.apache.org Subject: touchdb+ektorp woes Message-ID: <20121205135627.334c1471@eee-az> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.10; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org g'day not sure if this is the proper place to ask.. i'm trying to use Touchdb on Android. It is using Ektorp, and there's some defect in the POJO object Mapping. i've debugged it (very hard).. Ektorp's QueryResultParser is expecting the properties of the result row (which is json object) to be ordered id,key,value; while Touchdb is putting them in another order (namely, value is before key). Hence the queryView( query, some.class.to.map.to) never succeeds. i'm not sure if the Ektorp's expectations are right (are attributes of a js object ordered), or what. anyone to suggest something? the original iOS touchdb is my next step, i hope it is better there. ciao svilen