Clarify scope of spring.datasource.platform

Closes gh-10416
pull/8753/merge
Stephane Nicoll 7 years ago
parent cc16402ee4
commit d490b99473

@ -1,5 +1,5 @@
/*
* Copyright 2012-2016 the original author or authors.
* Copyright 2012-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -102,7 +102,8 @@ public class DataSourceProperties
private boolean initialize = true;
/**
* Platform to use in the schema resource (schema-${platform}.sql).
* Platform to use in the DDL or DML scripts (e.g. schema-${platform}.sql or
* data-${platform}.sql).
*/
private String platform = "all";

@ -637,7 +637,7 @@ content into your application; rather pick only the properties that you need.
spring.datasource.jndi-name= # JNDI location of the datasource. Class, url, username & password are ignored when set.
spring.datasource.name=testdb # Name of the datasource.
spring.datasource.password= # Login password of the database.
spring.datasource.platform=all # Platform to use in the schema resource (schema-${platform}.sql).
spring.datasource.platform=all # Platform to use in the DDL or DML scripts (e.g. schema-${platform}.sql or data-${platform}.sql).
spring.datasource.schema= # Schema (DDL) script resource references.
spring.datasource.schema-username= # User of the database to execute DDL scripts (if different).
spring.datasource.schema-password= # Password of the database to execute DDL scripts (if different).

Loading…
Cancel
Save