On 11.02.11 19:41, "[email protected]" <[email protected]> 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
