Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 71537 invoked from network); 8 Jun 2007 17:36:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Jun 2007 17:36:14 -0000 Received: (qmail 73575 invoked by uid 500); 8 Jun 2007 17:36:16 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 73564 invoked by uid 500); 8 Jun 2007 17:36:16 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 73555 invoked by uid 99); 8 Jun 2007 17:36:16 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jun 2007 10:36:16 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [206.83.35.108] (HELO mail.toonboom.com) (206.83.35.108) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jun 2007 10:36:12 -0700 Received: from [192.168.1.44] (mass.toonboom.com [192.168.1.44]) (authenticated bits=0) by mail.toonboom.com (8.13.1/8.13.1) with ESMTP id l58HZwtb006592 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 8 Jun 2007 13:35:58 -0400 Message-ID: <4669949D.7090101@toonboom.com> Date: Fri, 08 Jun 2007 13:40:45 -0400 From: Andre Scheunemann User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: users@jackrabbit.apache.org Subject: Question about JCR nodes and hash code. Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (mail.toonboom.com [192.168.1.8]); Fri, 08 Jun 2007 13:35:58 -0400 (EDT) X-Virus-Checked: Checked by ClamAV on apache.org Hello, 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 ? Regards, Andre