spring-data-mongodb icon indicating copy to clipboard operation
spring-data-mongodb copied to clipboard

Pluggable ID generation strategy [DATAMONGO-918]

Open spring-projects-issues opened this issue 11 years ago • 0 comments

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

spring-projects-issues avatar Apr 26 '14 16:04 spring-projects-issues