Skip to content

Pluggable ID generation strategy [DATAMONGO-918] #1842

Open
@spring-projects-issues

Description

@spring-projects-issues

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions