spring-data-relational
spring-data-relational copied to clipboard
Add support for java.util.UUID and types handled by custom conversions in arrays.
When using List<UUID> 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.
Currently only a few types are supported for arrays, which we can map straight to database types.
We need to extend this to
a) consider Dialect specific conversions which will probably get introduced with the fix for #935
b) make the type determination used for the construction of arrays more robust.