Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-2191

Binary marshaller: support user classes with the same simple name

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • ignite-1.4
    • 1.6
    • cache

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              ashutak Artem Shutak
              dmagda Denis A. Magda
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: