Hi, On Mon, Jan 10, 2011 at 10:42 AM, yun <[email protected]> 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 database. BR, Jukka Zitting
