-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
in: query-parserEverything related to parsing JPQL or SQLEverything related to parsing JPQL or SQLstatus: feedback-providedFeedback has been providedFeedback has been providedtype: bugA general bugA general bug
Milestone
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
never-sleeps
Metadata
Metadata
Assignees
Labels
in: query-parserEverything related to parsing JPQL or SQLEverything related to parsing JPQL or SQLstatus: feedback-providedFeedback has been providedFeedback has been providedtype: bugA general bugA general bug