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 55718200C05 for ; Mon, 23 Jan 2017 14:05:43 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 54405160B58; Mon, 23 Jan 2017 13:05:43 +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 A7409160B3E for ; Mon, 23 Jan 2017 14:05:42 +0100 (CET) Received: (qmail 33264 invoked by uid 500); 23 Jan 2017 13:05:35 -0000 Mailing-List: contact issues-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list issues@ignite.apache.org Received: (qmail 33243 invoked by uid 99); 23 Jan 2017 13:05:34 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jan 2017 13:05:34 +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 6D0EDC1549 for ; Mon, 23 Jan 2017 13:05:33 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.199 X-Spam-Level: X-Spam-Status: No, score=-1.199 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id uklA9CEnkCs8 for ; Mon, 23 Jan 2017 13:05:32 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 6C9E25FC67 for ; Mon, 23 Jan 2017 13:05:30 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 9EC81E0389 for ; Mon, 23 Jan 2017 13:05:28 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 2F2872528F for ; Mon, 23 Jan 2017 13:05:27 +0000 (UTC) Date: Mon, 23 Jan 2017 13:05:27 +0000 (UTC) From: "Andrew Mashenkov (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (IGNITE-3429) org.hibernate.cache.spi.CacheKey not properly serialized by binary marshaller MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 23 Jan 2017 13:05:43 -0000 [ https://issues.apache.org/jira/browse/IGNITE-3429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15834441#comment-15834441 ] Andrew Mashenkov commented on IGNITE-3429: ------------------------------------------ [~vkulichenko], Should we add IdentityResolver implementation mentioned above by [~ntikhonov] to ignite-hibernate module or\and update documentation to resolve this ticket? > org.hibernate.cache.spi.CacheKey not properly serialized by binary marshaller > ----------------------------------------------------------------------------- > > Key: IGNITE-3429 > URL: https://issues.apache.org/jira/browse/IGNITE-3429 > Project: Ignite > Issue Type: Bug > Components: cache > Affects Versions: 1.6 > Reporter: Valentin Kulichenko > Priority: Critical > Fix For: 2.0 > > > {{org.hibernate.cache.spi.CacheKey}} is a class used as a key for all entries in the Hibernate L2 cache. This class contains {{type}} field and custom {{equals}} logic where the type is used as a helper and does not participate in comparison. Instances of the same type are producing different hash codes in different JVMs, which actually breaks comparison when binary format is used, where byte arrays are compared. > The issue is described in more detail here: http://stackoverflow.com/questions/38132263/apache-ignite-as-hibernate-l2-cache-storing-duplicate-entities -- This message was sent by Atlassian JIRA (v6.3.4#6332)