Return-Path: X-Original-To: apmail-jackrabbit-oak-dev-archive@minotaur.apache.org Delivered-To: apmail-jackrabbit-oak-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6476FD734 for ; Thu, 15 Nov 2012 14:51:03 +0000 (UTC) Received: (qmail 56010 invoked by uid 500); 15 Nov 2012 14:51:03 -0000 Delivered-To: apmail-jackrabbit-oak-dev-archive@jackrabbit.apache.org Received: (qmail 55902 invoked by uid 500); 15 Nov 2012 14:51:02 -0000 Mailing-List: contact oak-dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: oak-dev@jackrabbit.apache.org Delivered-To: mailing list oak-dev@jackrabbit.apache.org Received: (qmail 55879 invoked by uid 99); 15 Nov 2012 14:51:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Nov 2012 14:51:02 +0000 X-ASF-Spam-Status: No, hits=-1.3 required=5.0 tests=FRT_ADOBE2,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of fmeschbe@adobe.com designates 64.18.1.37 as permitted sender) Received: from [64.18.1.37] (HELO exprod6og116.obsmtp.com) (64.18.1.37) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 15 Nov 2012 14:50:56 +0000 Received: from outbound-smtp-2.corp.adobe.com ([193.104.215.16]) by exprod6ob116.postini.com ([64.18.5.12]) with SMTP ID DSNKUKUBOn0rn9GLQaCmz/XdRUq7UY8RhySu@postini.com; Thu, 15 Nov 2012 06:50:35 PST Received: from inner-relay-4.eur.adobe.com (inner-relay-4b [10.128.4.237]) by outbound-smtp-2.corp.adobe.com (8.12.10/8.12.10) with ESMTP id qAFEoYHP020233 for ; Thu, 15 Nov 2012 06:50:34 -0800 (PST) Received: from nahub01.corp.adobe.com (nahub01.corp.adobe.com [10.8.189.97]) by inner-relay-4.eur.adobe.com (8.12.10/8.12.9) with ESMTP id qAFEoXXL028170 for ; Thu, 15 Nov 2012 06:50:33 -0800 (PST) Received: from eurhub01.eur.adobe.com (10.128.4.30) by nahub01.corp.adobe.com (10.8.189.97) with Microsoft SMTP Server (TLS) id 8.3.279.1; Thu, 15 Nov 2012 06:50:32 -0800 Received: from eurmbx01.eur.adobe.com ([10.128.4.32]) by eurhub01.eur.adobe.com ([10.128.4.30]) with mapi; Thu, 15 Nov 2012 14:50:30 +0000 From: Felix Meschberger To: "oak-dev@jackrabbit.apache.org" Date: Thu, 15 Nov 2012 14:50:29 +0000 Subject: Re: Support for long multivalued properties Thread-Topic: Support for long multivalued properties Thread-Index: Ac3DQI601l5xly4dSdGL1YDgxm96Xg== Message-ID: <0E30E9D2-C2AF-46E2-8799-0954A23ADACE@adobe.com> References: <8035DC13-DA1D-4A9F-961B-C3BD7A0B3614@pooteeweet.org> In-Reply-To: <8035DC13-DA1D-4A9F-961B-C3BD7A0B3614@pooteeweet.org> Accept-Language: de-DE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: de-DE, en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Hi, Am 15.11.2012 um 14:06 schrieb Lukas Kahwe Smith: >=20 > On Nov 15, 2012, at 14:02 , Thomas Mueller wrote: >=20 >> Hi, >>=20 >>> before adding this i would rather want to see support for hash maps. >>=20 >> Sounds interesting.. could you give more details please? >=20 >=20 > well right now you can only store "ordered lists". > especially in PHP its common to use associative arrays >=20 > $var =3D array( > 'foo' =3D> 'bar', > 'ding' =3D> 'dong', > ) Hm, this looks more like node "var" with properties "foo" set to "bar" and = "ding" set to "dong" to me. Regards Felix >=20 > right now when I want to store such data in JCR/Jackarabbit I need to spl= it this into 2 multi valued properties, one with the values and one with th= e keys, which then need to be reassembled on read. >=20 > that being said .. if we want to add this in OAK, we should look into add= ing it into JCR 2.1 aka JSR-333 too >=20 > regards, > Lukas Kahwe Smith > mls@pooteeweet.org >=20 >=20 >=20