Skip to content

Support custom comment prefix in JdbcTestUtils.executeSqlScript() [SPR-11519] #16144

@spring-projects-issues

Description

@spring-projects-issues

Sam Brannen opened SPR-11519 and commented

Status Quo

JdbcTestUtils.readScript(LineNumberReader, String) already allows one to supply a custom commentPrefix. However, there is currently no variant of executeSqlScript() that allows you to provide the commentPrefix. Consequently, there is no way to execute a script and specify a custom comment prefix (e.g., "//" instead of "--").

Deliverables

  1. Introduce overloaded versions of executeSqlScript() in JdbcTestUtils that allow one to supply a custom comment prefix.

Affects: 4.0 GA

Issue Links:

Metadata

Metadata

Assignees

Labels

in: testIssues in the test modulestatus: declinedA suggestion or change that we don't feel we should currently applytype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions