Commit 3304dd1c authored by Dave Syer's avatar Dave Syer

Add spring.datasource.separator (default ";")

Fixes gh-715
parent 34604a96
......@@ -118,6 +118,7 @@ public class DataSourceAutoConfiguration implements EnvironmentAware {
populator.setContinueOnError(continueOnError);
}
}
populator.setSeparator(this.datasourceProperties.getProperty("separator", ";"));
if (exists) {
DatabasePopulatorUtils.execute(populator, this.dataSource);
......
......@@ -109,6 +109,7 @@ content into your application; rather pick only the properties that you need.
spring.datasource.schema= # a schema resource reference
spring.datasource.platform= # the platform to use in the schema resource (schema-${platform}.sql)
spring.datasource.continueOnError=false # continue even if can't be initialized
spring.datasource.separator=; # statement separator in SQL initialization scripts
spring.datasource.driverClassName= # JDBC Settings...
spring.datasource.url=
spring.datasource.username=
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment