Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 59645 invoked from network); 23 Oct 2009 07:58:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Oct 2009 07:58:37 -0000 Received: (qmail 25016 invoked by uid 500); 23 Oct 2009 07:58:37 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 24983 invoked by uid 500); 23 Oct 2009 07:58:37 -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 24972 invoked by uid 99); 23 Oct 2009 07:58:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Oct 2009 07:58:37 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [74.125.78.24] (HELO ey-out-2122.google.com) (74.125.78.24) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Oct 2009 07:58:29 +0000 Received: by ey-out-2122.google.com with SMTP id 9so117063eyd.3 for ; Fri, 23 Oct 2009 00:58:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.93.6 with SMTP id k6mr198425wef.89.1256284688086; Fri, 23 Oct 2009 00:58:08 -0700 (PDT) Date: Fri, 23 Oct 2009 08:58:08 +0100 Message-ID: <4e4f46500910230058t29a28bc5jd291a42210be747c@mail.gmail.com> Subject: OCM From: Ben Short To: users Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi, JCROM supports weak references as show in the following classes public class Person { @JcrPath private String path; @JcrName private String name; @JcrReference(byPath = true) private List pets= new ArrayList(); } public class Pet { @JcrPath private String path; @JcrName private String name; } This will result in a property on person node which contains a list of paths to the pet nodes. Does jackrabbit-ocm support this? Regards Ben Short