jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andre Scheunemann <and...@toonboom.com>
Subject Question about JCR nodes and hash code.
Date Fri, 08 Jun 2007 17:40:45 GMT

I have a situation where I'm building a cache of JCR nodes and I use 
node.hashCode() as my key.
This works fine for local repository nodes but fails with a remote 
repository accessed through RMI.
With the remote repository I get a different hash code for the same node 
for each search that I perform.
Shouldn't  the hash code be always the same for a given node even for 
remote repositories ?



View raw message