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: JCR Drawback Thoughts
Date Wed, 08 Aug 2007 12:41:55 GMT
Hi,

On 7/30/07, Stefan Guggisberg <stefan.guggisberg@gmail.com> wrote:
> On 7/28/07, Jukka Zitting <jukka.zitting@gmail.com> wrote:
> > Are you storing the binary values in the database? In that case
> > Jackrabbit unfortunately always makes a temporary copy of the value
> > when the node containing it is accessed. You can avoid that by having
>
> sorry, but i don't agree. afaik accessing a node does not automatically
> fetch binary properties, at least not with jackrabbit's default configuration.

You're right. With the traditional database persistence (which still
is the default) the property value gets copied when the property and
not the node containing it is accessed.

However, with bundle persistence all property values are instantiated
when the containing node is loaded, and in case binaries are stored in
the database the contents of binary properties get copied. See line
329 in BundleBinding.

BR,

Jukka Zitting

Mime
View raw message