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 <[EMAIL PROTECTED]> 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.
>
>

Reply via email to