Return-Path: X-Original-To: apmail-ignite-user-archive@minotaur.apache.org Delivered-To: apmail-ignite-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 916F51760C for ; Thu, 2 Jul 2015 21:51:53 +0000 (UTC) Received: (qmail 86228 invoked by uid 500); 2 Jul 2015 21:51:53 -0000 Delivered-To: apmail-ignite-user-archive@ignite.apache.org Received: (qmail 86187 invoked by uid 500); 2 Jul 2015 21:51:53 -0000 Mailing-List: contact user-help@ignite.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ignite.incubator.apache.org Delivered-To: mailing list user@ignite.incubator.apache.org Received: (qmail 86177 invoked by uid 99); 2 Jul 2015 21:51:53 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jul 2015 21:51:53 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id DC5A4D1BF6 for ; Thu, 2 Jul 2015 21:51:52 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.174 X-Spam-Level: ** X-Spam-Status: No, score=2.174 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, NML_ADSP_CUSTOM_MED=1.2, SPF_SOFTFAIL=0.972, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id aeVpo5ASvhO5 for ; Thu, 2 Jul 2015 21:51:45 +0000 (UTC) Received: from mbob.nabble.com (mbob.nabble.com [162.253.133.15]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTP id DB58422F0E for ; Thu, 2 Jul 2015 21:51:44 +0000 (UTC) Received: from malf.nabble.com (unknown [162.253.133.59]) by mbob.nabble.com (Postfix) with ESMTP id 7D71A1056576 for ; Thu, 2 Jul 2015 14:52:39 -0700 (PDT) Date: Thu, 2 Jul 2015 14:47:29 -0700 (PDT) From: vkulichenko To: user@ignite.incubator.apache.org Message-ID: <1435873649870-606.post@n6.nabble.com> In-Reply-To: References: Subject: Re: Automatic Persistence cache: Key exists in cache, but not value MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Dave, It looks like you use byte array as an inner object of the key. Equals on a byte array will return true only if it's compared with the same instance, so your UuidTestKey.equals() implementation is wrong right now. Please try using Arrays.equals(..) method for array comparison. Was this code generated by schema utility? What is the database type for UuidTestKey.myid field? -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Automatic-Persistence-cache-Key-exists-in-cache-but-not-value-tp605p606.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.