Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 6546 invoked from network); 28 Jul 2010 13:38:48 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 28 Jul 2010 13:38:48 -0000 Received: (qmail 89641 invoked by uid 500); 28 Jul 2010 13:38:48 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 89254 invoked by uid 500); 28 Jul 2010 13:38:46 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 89247 invoked by uid 99); 28 Jul 2010 13:38:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Jul 2010 13:38:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Jul 2010 13:38:42 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o6SDcKpT016828 for ; Wed, 28 Jul 2010 13:38:20 GMT Message-ID: <5469022.44701280324300529.JavaMail.jira@thor> Date: Wed, 28 Jul 2010 09:38:20 -0400 (EDT) From: =?utf-8?Q?Michael_D=C3=BCrig_=28JIRA=29?= To: dev@jackrabbit.apache.org Subject: [jira] Commented: (JCR-2688) Provide utility for handling large number of child nodes/properties In-Reply-To: <7794860.42441280311878109.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-2688?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D128931= 77#action_12893177 ]=20 Michael D=C3=BCrig commented on JCR-2688: ------------------------------------ Maven seems to fine with jackrabbit-core as test dependency. Eclipse doesn'= t like it however since it results in a circular classpath.=20 So the questions remains: where should units tests for classes in jcr-commo= ns go which need a repository? > Provide utility for handling large number of child nodes/properties > ------------------------------------------------------------------- > > Key: JCR-2688 > URL: https://issues.apache.org/jira/browse/JCR-2688 > Project: Jackrabbit Content Repository > Issue Type: New Feature > Components: jackrabbit-jcr-commons > Affects Versions: 2.2.0 > Reporter: Michael D=C3=BCrig > Assignee: Michael D=C3=BCrig > Attachments: JCR-2688.patch > > > Jackrabbit does not cope well with 'flat' hierarchies. That is with hiera= rchies where a node has many child nodes and/or properties. The current rec= ommendation for such situations is to manually add intermediate nodes.=20 > It would be nice to have an utility which adds/removes intermediate nodes= as needed and expose a 'flat' view to users. Such an utility should: > - expose a large number of nodes/properties as sequence > - parametrize the order of how nodes/properties appear in the sequence > - provide methods to lookup/add/remove nodes/properties by key=20 > - organize the node/properties in the underlying JCR hierarchy in a way w= hich is both efficient for above operations and easily understandable to us= ers looking at the hierarchy.=20 --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.