Skip to content

Ignore delimiter enclosed in double quotes in ScriptUtils #26935

@sbrannen

Description

@sbrannen

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.

Metadata

Metadata

Assignees

Labels

in: dataIssues in data modules (jdbc, orm, oxm, tx)status: backportedAn issue that has been backported to maintenance branchestype: bugA general bug

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions