Closed spring-projects-issues closed 20 years ago
Thomas Risberg commented
I have fixed this - it now counts all placeholders that are not inside a character literal, without worrying about any separators between the placeholders.
Dmitriy Kopylenko commented
Reopened in order to change the appropriate component
Dmitriy Kopylenko commented
Changed from SpringCORE to SpringDA. We need to start using appropriate components.
Dmitriy Kopylenko commented
Re-close
Thomas Risberg commented
Re-opened to switch fixed release to M4
Thomas Risberg commented
Close this issue again.
Tom Lauren opened SPR-5 and commented
The countParameterPlaceholders method of the org.springframework.jdbc.core.support.JdbcUtils class does not correctly handle queries that have the following substring:
?+?
The "?" marker must be followed by a space or a ")". To get by, one must modify all such sql portions to be like the following:
? +?
or
? + ?
Affects: 1.0 M3