jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting" <jukka.zitt...@gmail.com>
Subject Re: saving a user defined object
Date Sat, 13 Dec 2008 08:14:16 GMT

On Sat, Dec 13, 2008 at 7:30 AM, far4ever <fathimafarhath@gmail.com> wrote:
> i want to know is there any mechanism in jackrabbit where i can save a user
> defined object as a property of a node.

You can't do that directly as Jackrabbit is not an object database.
Your options are either to explicitly map the data in your object to
equivalent content structure, or to use an object-content mapping
feature like the OCM component in Jackrabbit (see

> and i want to know a bit on
>       nodeName.setProperty(String arg0, Value arg1) is what sort of the
> object does this 'Value' represent.

See the javax.jcr.Value javadocs at


Jukka Zitting

View raw message