Return-Path: X-Original-To: apmail-ignite-issues-archive@minotaur.apache.org Delivered-To: apmail-ignite-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0E58518EBF for ; Tue, 12 Jan 2016 15:00:47 +0000 (UTC) Received: (qmail 65975 invoked by uid 500); 12 Jan 2016 15:00:47 -0000 Delivered-To: apmail-ignite-issues-archive@ignite.apache.org Received: (qmail 65935 invoked by uid 500); 12 Jan 2016 15:00:47 -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 65911 invoked by uid 99); 12 Jan 2016 15:00:46 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jan 2016 15:00:46 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 5D9552C1F69 for ; Tue, 12 Jan 2016 15:00:46 +0000 (UTC) Date: Tue, 12 Jan 2016 15:00:46 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (IGNITE-2191) Binary marshaller: support user classes with the same simple name MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/IGNITE-2191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15094013#comment-15094013 ] ASF GitHub Bot commented on IGNITE-2191: ---------------------------------------- GitHub user ashutakGG opened a pull request: https://github.com/apache/ignite/pull/398 IGNITE-2191: Binary marshaller: support user classes with the same simple name https://issues.apache.org/jira/browse/IGNITE-2191 You can merge this pull request into a Git repository by running: $ git pull https://github.com/ashutakGG/incubator-ignite ignite-2191-simple-name Alternatively you can review and apply these changes as the patch at: https://github.com/apache/ignite/pull/398.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #398 ---- commit fa70b383e4ccad00482d74a796c8c1dc2041448a Author: ashutak Date: 2016-01-12T14:56:57Z ignite-2191: ---- > Binary marshaller: support user classes with the same simple name > ----------------------------------------------------------------- > > Key: IGNITE-2191 > URL: https://issues.apache.org/jira/browse/IGNITE-2191 > Project: Ignite > Issue Type: Bug > Components: cache > Affects Versions: ignite-1.4 > Reporter: Denis Magda > Assignee: Artem Shutak > Priority: Critical > Labels: important > Fix For: 1.6 > > > Presently the user won't be able to use across the cluster object that have a single simple name. > As an example if the user has 'org.comp.MyObject' and 'org.apache.comp.MyObject' then he won't be able to have them both in a cluster because marshalling mechanism supports uniqueness at simple name level only. > There are several reasons for that: > - interoperability with other platforms; > - queries that use simple name is their 'where' clause. > In general according to the API as a workaround the user can implement its own BinaryIdMapper returning a precise id for every class. However there is a bug in BinaryContext that passes simple name rather than a full name to a BinaryIdMapper implementation. BinaryIdMapper must be fixed as well. -- This message was sent by Atlassian JIRA (v6.3.4#6332)