Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 75774 invoked from network); 11 Apr 2008 07:39:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Apr 2008 07:39:07 -0000 Received: (qmail 13654 invoked by uid 500); 11 Apr 2008 07:39:06 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 13631 invoked by uid 500); 11 Apr 2008 07:39:06 -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 13622 invoked by uid 99); 11 Apr 2008 07:39:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Apr 2008 00:39:06 -0700 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of christophe.lombart@gmail.com designates 209.85.200.169 as permitted sender) Received: from [209.85.200.169] (HELO wf-out-1314.google.com) (209.85.200.169) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Apr 2008 07:38:22 +0000 Received: by wf-out-1314.google.com with SMTP id 23so432534wfg.13 for ; Fri, 11 Apr 2008 00:38:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=cLTxsXkP9UnGxbkhtIeJW6Kq8YDcbCUieE9yp4yi3HA=; b=ddQhuHUWt3o2iw+ue6j2eBm4HJBZHYvIVgBbpf2/b4Jgmj6JdI3A1Gj0mHY7EtVDPOGUMBflzXQS5C/wG46OsexBpbsYiGeRJyqs6jYXip+XLgNuH/Gs8QD9KASnbO5evUJ6zXkXtZpyeZNmjFMcai5yN9OvLGo4a6U80/pOUwE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=PbxT6lHaw/feOtLhbIXNmcjsezZK2Hi+1v2yWNKlFF0eCoXTFffkEoqFDXxLF0dDohMsuzb4Pf47SqI/S8skGYQ/G4IYkarL5SAqm3WlCy6+BbX1Hc4F6ZE71XJpwY9Vy/ciUAVs5iSEU23iPq8A+cypa7vqI1UEJGchnQEZ72o= Received: by 10.142.89.9 with SMTP id m9mr741159wfb.116.1207899509161; Fri, 11 Apr 2008 00:38:29 -0700 (PDT) Received: by 10.142.12.16 with HTTP; Fri, 11 Apr 2008 00:38:29 -0700 (PDT) Message-ID: <3b728ee90804110038h12187171obaba7569e4ceea07@mail.gmail.com> Date: Fri, 11 Apr 2008 09:38:29 +0200 From: "Christophe Lombart" To: users@jackrabbit.apache.org Subject: Re: Persisting custom beans using ocm-annotations in jackrabbit In-Reply-To: <16621002.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <16621002.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi, I'm not sure that is the ideal use case for Jackrabbit OCM. Is it not better to import the xml doc with the JCR API ? If it is only to make some queries, OCM will not be a great help. The JCR query API should be sufficient. OCM becomes interesting if you need to use POJOs in your business components for managing your content. Christophe On Fri, Apr 11, 2008 at 12:51 AM, rokham wrote: > > Hi all, > > Looking at http://jackrabbit.apache.org/object-content-mapping.html there > are some OBSOLETE documents regarding custom bean persistence in jackrabbit. > I am trying to use ocm's annotation facility to persist an .xml file (so > that I can run XPath queries on the file later on) and I was wondering if > there are any documents which will help me in this regard. > > This .xml file is an attribute of a custom object which I'm persisting in > jackrabbit. > > Any help is very much appreciated. > > Rokham > -- > View this message in context: http://www.nabble.com/Persisting-custom-beans-using-ocm-annotations-in-jackrabbit-tp16621002p16621002.html > Sent from the Jackrabbit - Users mailing list archive at Nabble.com. > >