Skip to content

Added UUIDObjectTypeKeyGenerator#186

Open
tristanlins wants to merge 1 commit intommnaseri:developmentfrom
tristanlins:feature-uuid-object-type-key-generator
Open

Added UUIDObjectTypeKeyGenerator#186
tristanlins wants to merge 1 commit intommnaseri:developmentfrom
tristanlins:feature-uuid-object-type-key-generator

Conversation

@tristanlins
Copy link
Copy Markdown

I have no idea why the UUIDKeyGenerator is generating a string.
Usually you should use an UUID object as an ID.
Saving a UUID as a string is very inefficient, both in the Java heap and in the database (some databases even have their own UUID field type, postgres for example).
The UUIDObjectTypeKeyGenerator creates a UUID object instead of a string.

@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage decreased (-0.07%) to 98.871% when pulling c266cf0 on tristanlins:feature-uuid-object-type-key-generator into e854772 on mmnaseri:development.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants