Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-4916 Hibernate support improvement
  3. IGNITE-3429

org.hibernate.cache.spi.CacheKey not properly serialized by binary marshaller

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 1.6
    • 2.0
    • cache, hibernate
    • None

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            vkulichenko Valentin Kulichenko
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: