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

Support for custom identifier generators

    Details

    • Type: Improvement
    • Status: Waiting for Review
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.2.9 (Ingalls SR9)
    • Fix Version/s: None
    • 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:
              cstrobl Christoph Strobl
              Reporter:
              Mert-Z Mert Zeybekler
              Last updater:
              Christoph Strobl
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: