CAST(:param as java.util.UUID) no longer passes validation #3024
Labels
in: query-parser
Everything related to parsing JPQL or SQL
type: regression
A regression from a previous release
Milestone
If you have a query like this:
Since upgrading to Spring Data JPA 3.1.0, it will throw this exception
As for why that
CAST
is needed:-without it Postgres throwsorg.postgresql.util.PSQLException: ERROR: could not determine data type of parameter $1
when the argument is null due to this issueThe text was updated successfully, but these errors were encountered: