Skip to content

Pluggable ID generation strategy [DATAMONGO-918] #1842

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

Open
spring-projects-issues opened this issue Apr 26, 2014 · 0 comments
Open

Pluggable ID generation strategy [DATAMONGO-918] #1842

spring-projects-issues opened this issue Apr 26, 2014 · 0 comments
Labels
in: repository Repositories abstraction theme: 5.0 type: enhancement A general enhancement

Comments

@spring-projects-issues
Copy link

Ryan Tenney opened DATAMONGO-918 and commented

I'm starting to use Twitter's Snowflake ID generation service to generate ids for entities (one of the systems with which my project is integrating requires a 64-bit long ID and we want to have only one primary id per object). To do this I'm generating the ID in the services which wrap our repositories. Is there any way to specify an object instance to use for generating an id? If not, would you consider adding one? I'd be happy to help with implementing the feature.

Many thanks,
Ryan


No further details from DATAMONGO-918

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: repository Repositories abstraction theme: 5.0 type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

3 participants