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 should parse :{x} style parameter correctly [SPR-16663] #21204
In my opinion, we should parse :{x} style parameter as x is parameter using NamedParameterUtils.parseSqlStatement,
so the condition j - i > 2 is the correct condition, not j - i > 3, because if i is the index of : in :{x}, and j is the index of } in :{x}, j - i == 3 is true.
Thanks for responsing so quickly, I have added some text formating in description.
PS: If I could preview the description, I will not have edited the description so much times.
Activity
spring-projects-issues commentedon Mar 29, 2018
Juergen Hoeller commented
Good catch! Merged for 5.0.5 now; I'll backport it to 4.3.15 later today.
spring-projects-issues commentedon Mar 30, 2018
Zhang Jie commented
Thanks for responsing so quickly, I have added some text formating in description.
PS: If I could preview the description, I will not have edited the description so much times.