Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-10014

Deprecate Key2StringMapper

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • None
    • 9.4.8.Final, 10.0.0.Beta2
    • None

    Description

      ISPN-3471 is still valid: Key2StringMapper is too low-level, as it has to deal with user objects or WrappedByteArray depending on the memory configuration.

      For the vast majority of cases, a key mapper implementation that uses the same marshalling for the keys as for the values should be good enough. It may also use base64 encoding for databases that don't have a `VARBINARY` equivalent, but I'm not sure there are any.

      The only use case I see for a custom Key2StringMapper and a VARCHAR key column is for external tools to look at the database directly, but we never supported that.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dberinde@redhat.com Dan Berindei (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: