Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 72125 invoked from network); 17 Sep 2009 09:23:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Sep 2009 09:23:34 -0000 Received: (qmail 81024 invoked by uid 500); 17 Sep 2009 09:23:33 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 80974 invoked by uid 500); 17 Sep 2009 09:23:33 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 80962 invoked by uid 99); 17 Sep 2009 09:23:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Sep 2009 09:23:32 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tmueller@day.com designates 207.126.148.183 as permitted sender) Received: from [207.126.148.183] (HELO eu3sys201aog003.obsmtp.com) (207.126.148.183) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 17 Sep 2009 09:23:21 +0000 Received: from source ([209.85.219.223]) by eu3sys201aob003.postini.com ([207.126.154.11]) with SMTP ID DSNKSrH/9JjiQcmbFkeI6H6q0qydyI0rx4tX@postini.com; Thu, 17 Sep 2009 09:23:01 UTC Received: by ewy23 with SMTP id 23so189124ewy.2 for ; Thu, 17 Sep 2009 02:22:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.211.132.3 with SMTP id j3mr298515ebn.81.1253178960488; Thu, 17 Sep 2009 02:16:00 -0700 (PDT) In-Reply-To: References: <33A0EEB8D50198449794A1AB9DEB1E019318C7258A@copuex01.coreobjects.com> Date: Thu, 17 Sep 2009 11:16:00 +0200 Message-ID: <91f3b2650909170216l485c86b1uaaccc7b3f77e563@mail.gmail.com> Subject: Re: Can a node be shared by more than one parent. From: =?ISO-8859-1?Q?Thomas_M=FCller?= To: users@jackrabbit.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi, Jackrabbit supports this, see the JCR 2.0 specification under "3.9 Shareable Nodes Model": http://jcp.org/aboutJava/communityprocess/pfd/jsr283/index.html Regards, Thomas On Thu, Sep 17, 2009 at 11:02 AM, Guo Du wrote: > On Thu, Sep 17, 2009 at 9:52 AM, Sunil Dhage > wrote: >> Hi, >> >> We have a requirement in which we need to have a node which can be accessed through two different parent nodes. >> >> If yes, can you provide an example. >> >> Alternative solutions are appreciated. > > e.g. You have node path /a/b/c/d/1/2/3/4 > and you want to have another path to access such as /foo/bar/1/2/3/4 > > You may use reference node to point /foo/bar to /a/b/c/d, then when > you looked up path at /foo/bar, switch to node /a/b/c/d, and continue > traverse. > > Any better ideas :) > > -Guo >