JavaWebStack / JavaWebStack/orm
Add feature to store UUID as binary
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 7
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Is your feature request related to a problem? Please describe.
Currently an UUID is always stored as a VARCHAR(36), but since UUIDs are just hex values with seperators, they could be stored in a BINARY(16).
Describe the solution you'd like
- An option in the Column annotation like
preferBinary - A setting in the ORMConfig like
preferBinaryUuids
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Column annotation and ORMConfig, then trace how UUID fields are currently mapped to VARCHAR(36). Determine how the requested preferBinary and preferBinaryUuids options should interact, and define completion around storing UUIDs as BINARY(16) through those configuration paths.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100