Support sqlScriptEncoding in schema.sql

Fixes gh-1165, fixes gh-1164
This commit is contained in:
Toshiaki Maki
2014-06-25 20:55:35 +09:00
committed by Dave Syer
parent 7e24c8499a
commit 9febd4a4cb
6 changed files with 45 additions and 0 deletions

View File

@@ -158,6 +158,7 @@ content into your application; rather pick only the properties that you need.
spring.datasource.initialize=true # populate using data.sql
spring.datasource.schema= # a schema (DDL) script resource reference
spring.datasource.data= # a data (DML) script resource reference
spring.datasource.sqlScriptEncoding= # a charset for reading SQL scripts
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