Skip to content

Commit 03ae8ee

Browse files
committed
Make EOF_STATEMENT_SEPARATOR XML friendly
Changed the value of ScriptUtils.EOF_STATEMENT_SEPARATOR from "<<< END OF SCRIPT >>>" to "^^^ END OF SCRIPT ^^^" so that the angle brackets do not have to be escaped in XML configuration files. Issue: SPR-11687 (cherry picked from commit 1753f5d)
1 parent 9230b38 commit 03ae8ee

File tree

1 file changed

+1
-1
lines changed
  • spring-jdbc/src/main/java/org/springframework/jdbc/datasource/init

1 file changed

+1
-1
lines changed

spring-jdbc/src/main/java/org/springframework/jdbc/datasource/init/ScriptUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public abstract class ScriptUtils {
7070
* such a script should not actually contain this value; it is merely a
7171
* <em>virtual</em> statement separator.
7272
*/
73-
public static final String EOF_STATEMENT_SEPARATOR = "<<< END OF SCRIPT >>>";
73+
public static final String EOF_STATEMENT_SEPARATOR = "^^^ END OF SCRIPT ^^^";
7474

7575
/**
7676
* Default prefix for line comments within SQL scripts.

0 commit comments

Comments
 (0)