Consistent support for square brackets around named parameter

See gh-27716
This commit is contained in:
Juergen Hoeller
2021-12-14 11:34:48 +01:00
parent 86eda279c8
commit 64b6beed5b
4 changed files with 16 additions and 38 deletions

View File

@@ -55,7 +55,7 @@ public abstract class NamedParameterUtils {
* Set of characters that qualify as parameter separators,
* indicating that a parameter name in an SQL String has ended.
*/
private static final String PARAMETER_SEPARATORS = "\"':&,;()|=+-*%/\\<>^";
private static final String PARAMETER_SEPARATORS = "\"':&,;()|=+-*%/\\<>^[]";
/**
* An index with separator flags per character code.