Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 39BC9200CD8 for ; Wed, 2 Aug 2017 15:59:26 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 380C916985A; Wed, 2 Aug 2017 13:59:26 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 7B9EF169857 for ; Wed, 2 Aug 2017 15:59:25 +0200 (CEST) Received: (qmail 89091 invoked by uid 500); 2 Aug 2017 13:59:21 -0000 Mailing-List: contact user-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ignite.apache.org Delivered-To: mailing list user@ignite.apache.org Received: (qmail 88797 invoked by uid 99); 2 Aug 2017 13:59:20 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Aug 2017 13:59:20 +0000 Received: from mail-lf0-f47.google.com (mail-lf0-f47.google.com [209.85.215.47]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 743A31A02C0 for ; Wed, 2 Aug 2017 13:59:19 +0000 (UTC) Received: by mail-lf0-f47.google.com with SMTP id t128so20414321lff.2 for ; Wed, 02 Aug 2017 06:59:19 -0700 (PDT) X-Gm-Message-State: AIVw112NHUNi1X+eya3kWx9SEWbFrAh/nIYzEPXg7BhSt40QgC8IfmNI xAWNpfoFk8P5MALm05pGWHpdTwyb/lut X-Received: by 10.46.77.153 with SMTP id c25mr8085124ljd.163.1501682358043; Wed, 02 Aug 2017 06:59:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.0.199 with HTTP; Wed, 2 Aug 2017 06:59:17 -0700 (PDT) In-Reply-To: <1501681984282-15908.post@n6.nabble.com> References: <1501599335969-15862.post@n6.nabble.com> <1501654736852-15879.post@n6.nabble.com> <1501677803959-15900.post@n6.nabble.com> <1501681984282-15908.post@n6.nabble.com> From: Igor Sapego Date: Wed, 2 Aug 2017 16:59:17 +0300 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: c++ ignite: cache.ContainsKey(key object) method returns false even when key is present To: user Content-Type: multipart/alternative; boundary="94eb2c1ab7fe845c980555c5ab19" archived-at: Wed, 02 Aug 2017 13:59:26 -0000 --94eb2c1ab7fe845c980555c5ab19 Content-Type: text/plain; charset="UTF-8" Hi, Also, pay attention to your methods signature of the BinaryType specialization. You should use 1.9 [1] version of the doc for that, as signatures were changed after 2.0 [1] - https://apacheignite-cpp.readme.io/v1.9/docs/cross-platform-interoperability Best Regards, Igor On Wed, Aug 2, 2017 at 4:53 PM, kotamrajuyashasvi < kotamrajuyashasvi@gmail.com> wrote: > Hi > > Issue resolved. I forgot to put GetHashCode in c++ struct BinaryType of > PersonPK. I had to implement same hashcode method used in PersonPK pojo. > > > > -- > View this message in context: http://apache-ignite-users. > 70518.x6.nabble.com/c-ignite-cache-ContainsKey-key-object- > method-returns-false-even-when-key-is-present-tp15862p15908.html > Sent from the Apache Ignite Users mailing list archive at Nabble.com. > --94eb2c1ab7fe845c980555c5ab19 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

Also, pay attention to your methods= signature of the BinaryType
specialization. You should use 1.9 [= 1] version of the doc for that,
as signatures were changed after = 2.0


Best Regards,
Igor

On Wed, Aug 2, 2017 at 4:53 PM, kotamrajuyas= hasvi <kotamrajuyashasvi@gmail.com> wrote:
Hi

Issue resolved. I forgot to put GetHashCode in c++ struct BinaryType of
PersonPK. I had to implement same hashcode method used in PersonPK pojo.


--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/c-ignite-cache= -ContainsKey-key-object-method-returns-false-even-when-key-is-pre= sent-tp15862p15908.html
Sent from the Apache Ignite Users m= ailing list archive at Nabble.com.

--94eb2c1ab7fe845c980555c5ab19--