Closed
Description
When working with jsonb type in postgres, we can use ? operator.
SELECT * FROM table WHERE (json_col->'jsonKey')::jsonb ? :param
In JDBC driver you can use escape sequence ??
In Hibernate you can use escape sequence \\?\\?
But what should I use in Spring Data JPA? I'm getting error during startup java.lang.IllegalArgumentException: Mixing of ? parameters and other forms like ?1 is not supported!
I'm using Spring Boot 2.4.5