You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: org.springframework.jdbc/src/main/java/org/springframework/jdbc/datasource/embedded/ResourceDatabasePopulator.java
+16-9Lines changed: 16 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -31,22 +31,19 @@
31
31
importorg.springframework.util.StringUtils;
32
32
33
33
/**
34
-
* Populates a database from schema and test-data SQL defined in external resources. By default, looks for a schema.sql
35
-
* file and test-data.sql resource in the root of the classpath.
34
+
* Populates a database from SQL scripts defined in external resources.
36
35
* <p>
37
-
* May be configured:<br>
38
-
* Call {@link #setSchemaLocation(Resource)} to configure the location of the database schema file.<br>
39
-
* Call {@link #setTestDataLocation(Resource)} to configure the location of the test data file.<br>
40
-
* Call {@link #setSqlScriptEncoding(String)} to set the encoding for the schema and test data SQL.<br>
36
+
* Call {@link #addScript(Resource)} to add a SQL script location.<br>
37
+
* Call {@link #setSqlScriptEncoding(String)} to set the encoding for all added scripts.<br>
0 commit comments