Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spring JDBC not correctly processing Postgresql ? operator [SPR-16511] #21054

Closed
spring-projects-issues opened this issue Feb 17, 2018 · 1 comment
Assignees
Labels
in: data status: declined type: enhancement

Comments

@spring-projects-issues
Copy link
Collaborator

@spring-projects-issues spring-projects-issues commented Feb 17, 2018

RJ opened SPR-16511 and commented

When running the following valid postgresql:

select '{"a":1, "b":2}'::jsonb ? ':1';

I get the error ```
Not allowed to mix named and traditional ? placeholders.


related to #19945 and #18159

Affects: 4.3.14

Issue Links:

  • #18159 Spring JDBC not correctly processing Postgresql ?-contained operator
  • #19945 Spring JDBC not correctly processing Postgresql ?| and ?& operator
  • #21055 NamedParameterJdbcTemplate doesn't support postgresql dollar quoting $$
@spring-projects-issues
Copy link
Collaborator Author

@spring-projects-issues spring-projects-issues commented Feb 17, 2018

RJ commented

this can be closed.

escaping the '?' w/ a '?' as described in the docs works as expected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: data status: declined type: enhancement
Projects
None yet
Development

No branches or pull requests

2 participants