The containsSqlScriptDelimiters() method in ScriptUtils currently ignores delimiters enclosed in single quotes but not those enclosed within double quotes.
This contradicts the algorithm in splitSqlScript() and therefore constitutes a bug.
This applies to the ScriptUtils implementations in spring-jdbc and spring-r2dbc.
The
containsSqlScriptDelimiters()method inScriptUtilscurrently ignores delimiters enclosed in single quotes but not those enclosed within double quotes.This contradicts the algorithm in
splitSqlScript()and therefore constitutes a bug.This applies to the
ScriptUtilsimplementations inspring-jdbcandspring-r2dbc.