Support backticks for quoted identifiers in spring-r2dbc
NamedParameterUtils in spring-r2dbc now supports MySQL-style backticks for quoted identifiers for consistency with spring-jdbc. See gh-31944 Closes gh-32285
This commit is contained in:
@@ -56,12 +56,12 @@ abstract class NamedParameterUtils {
|
||||
/**
|
||||
* Set of characters that qualify as comment or quote starting characters.
|
||||
*/
|
||||
private static final String[] START_SKIP = {"'", "\"", "--", "/*"};
|
||||
private static final String[] START_SKIP = {"'", "\"", "--", "/*", "`"};
|
||||
|
||||
/**
|
||||
* Set of characters that are the corresponding comment or quote ending characters.
|
||||
*/
|
||||
private static final String[] STOP_SKIP = {"'", "\"", "\n", "*/"};
|
||||
private static final String[] STOP_SKIP = {"'", "\"", "\n", "*/", "`"};
|
||||
|
||||
/**
|
||||
* Set of characters that qualify as parameter separators,
|
||||
|
||||
Reference in New Issue
Block a user