You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
NamedParameterUtils.parseSqlStatement can't handle quote following comment end [SPR-7958] #12613
in: coreIssues in core modules (aop, beans, core, context, expression)status: bulk-closedAn outdated, unresolved issue that's closed in bulk as part of a cleaning process
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)
in: coreIssues in core modules (aop, beans, core, context, expression)status: bulk-closedAn outdated, unresolved issue that's closed in bulk as part of a cleaning process
Activity
spring-projects-issues commentedon Jan 12, 2019
Bulk closing outdated, unresolved issues. Please, reopen if still relevant.