You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Denis Magda (JIRA)" <ji...@apache.org> on 2015/12/17 12:22:46 UTC
[jira] [Created] (IGNITE-2191) Binary marshaller: support user
classes with the same simple name
Denis Magda created IGNITE-2191:
-----------------------------------
Summary: 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
Priority: Critical
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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)