Uploaded image for project: 'Spring Data KeyValue'
  1. Spring Data KeyValue
  2. DATAKV-206

Support for custom identifier generators

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 1.2.9 (Ingalls SR9)
    • Fix Version/s: 2.4 RC2 (2020.0.0)
    • Component/s: Core
    • Labels:

      Description

      KeyValueTemplate doesn't support custom implementations of IdentifierGenerator.

      Currently, KeyValueTemplate is initialized using DefaultIdentifierGenerator which generates UUID types of identifiers. However it should be possible to initialize KeyValueTemplate using a custom implementation of IdentifierGenerator in order to handle various cases such that the generated values are in a specific format or are based on a sequence or etc.

      Just for reference, the need is basically something similar to what @GenericGenerator annotation provides to hibernate.

        Attachments

          Activity

            People

            Assignee:
            mp911de Mark Paluch
            Reporter:
            Mert-Z Mert Zeybekler
            Last updater:
            Mark Paluch
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: