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
.