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: rmi.value.binaryvalue and JackrabbitValue
Date Mon, 10 Jan 2011 09:39:47 GMT

On Mon, Jan 10, 2011 at 10:42 AM, yun <zhiyun@ecquaria.com> wrote:
> In case when the repository is down, I would be able to find the file by
> looking at the database.

Note that the fact that the content hash returned by
JackrabbitValue.getContentIdentity() maps directly to the underlying
file name is an implementation detail that might well change in a
future Jackrabbit release. You should not rely on it in client code.

If you need your binaries to be available even when the repository is
down, a better solution would be to store them separately in the file
system, and just store the file path in both the repository and your


Jukka Zitting

View raw message