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

NamedParameterJdbcTemplate doesn't support postgresql dollar quoting $$ [SPR-16512] #21055

spring-projects-issues opened this issue Feb 17, 2018 · 0 comments
in: data type: enhancement


Copy link

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

RJ opened SPR-16512 and commented

When trying to use valid postgresql dollar quoting syntax, NamedParameterJDBCTemplate thinks that the dollarquote is a named param and fails b/c no value is given.

A query like:

select * from a where a.col1 = $ranS58$value$ranS58$;

throws the error:

org.springframework.dao.InvalidDataAccessApiUsageException: No value supplied for the SQL parameter 'value$ranS58$':

Affects: 4.3.14

Issue Links:

  • #20887 NamedParameterJdbcTemplate fails on PostgreSQL array
  • #21054 Spring JDBC not correctly processing Postgresql ? operator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
in: data type: enhancement
None yet

No branches or pull requests

1 participant