jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Klimetschek <aklim...@adobe.com>
Subject Re: copying content from one resource node to another
Date Fri, 11 Feb 2011 20:42:36 GMT
On 11.02.11 19:41, "kazim_ssuet@yahoo.com" <kazim_ssuet@yahoo.com> wrote:
>Jukka Zitting-6 wrote:
>> 
>> No, with the data store it shouldn't. It's a bug if it does.
>> 
>
>so Binary object is basically a handle to the data.

Yes, and AFAIK that's the reason why it was introduced in JCR 2.0 afaik.
In JCR 1.0 you could only get or set an InputStream for binary properties,
which - even if data hasn't been read yet - already points to some open
I/O operation. With Binary you have a more general reference to the binary
object, that can be used independently from the underlying implementation.

Regards,
Alex

-- 
Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel





Mime
View raw message