-
Notifications
You must be signed in to change notification settings - Fork 38.9k
Closed
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)status: bulk-closedAn outdated, unresolved issue that's closed in bulk as part of a cleaning processAn outdated, unresolved issue that's closed in bulk as part of a cleaning process
Description
Anders Blaagaard opened SPR-7958 and commented
String sql1 = "SELECT -- Comment \n" +
"'B' AS x FROM mytable where y > :someY";
String sql2 = "SELECT -- Comment \n" +
" 'B' AS x FROM mytable where y > :someY";
NamedParameterUtils.parseSqlStatement(sql1).getNamedParameterCount() is 0! (expected 1)
NamedParameterUtils.parseSqlStatement(sql2).getNamedParameterCount() is 1 (as expected)
Affects: 3.0.5
Issue Links:
- NamedParameterJdbcTemplate fails on PostgreSQL array [SPR-16340] #20887 NamedParameterJdbcTemplate fails on PostgreSQL array
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)status: bulk-closedAn outdated, unresolved issue that's closed in bulk as part of a cleaning processAn outdated, unresolved issue that's closed in bulk as part of a cleaning process