spring-projects / spring-projects/spring-data-relational
Add support for java.util.UUID and types handled by custom conversions in arrays.
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 827
- Forks
- 394
- PR merge metrics
- No merged PRs in 30d
Description
When using List for postgres UUID ARRAY we got Couldn't determine JDBCType for class java.util.UUID
But when using only UUID works fine.
See test here.
Our demo model.
Does spring-data List support only primitive types ?
We also tried adding UUID to String converters, but it doesn't seem to work neither.
Contributor guide
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 reviewing the linked DemoRepositoryTest.java and DemoUuidModel.java to reproduce the List PostgreSQL UUID ARRAY case. Trace how array element types and custom conversions are resolved, then add support for UUID and custom-converted types in arrays and verify both the reported case and existing scalar UUID behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, postgresql, spring
- Domain
- database
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100