Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for custom identifier generators [DATAKV-206] #185

Closed
spring-projects-issues opened this issue Jan 23, 2018 · 1 comment
Closed

Support for custom identifier generators [DATAKV-206] #185

spring-projects-issues opened this issue Jan 23, 2018 · 1 comment

Comments

@spring-projects-issues
Copy link

@spring-projects-issues spring-projects-issues commented Jan 23, 2018

Mert Zeybekler opened DATAKV-206 and commented

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.


Affects: 1.2.9 (Ingalls SR9)

Referenced from: pull request #29

@spring-projects-issues
Copy link
Author

@spring-projects-issues spring-projects-issues commented Jan 23, 2018

Mert Zeybekler commented

Just forked the repository, willing to look into it and do a PR if welcome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants