Open anija-anil opened 2 months ago
There is some discussion on how to convert to a UUID in postgres here: https://stackoverflow.com/questions/12771737/conversion-string-to-uuid-in-postgres-and-java/34652560#34652560
There is a recreate here: https://github.com/mswatosh/persistence-recreates/blob/1a2658d4e90ce56807bf7ecbc65455d1b8600f17/src/main/java/com/example/application/PersistenceService.java#L119
When creating a query with a UUID, the parameter is set as a VARCHAR instead of a UUID, and is rejected by Postgres.
Here is an example of the failing query: