Fix wrong replacements for spring.datasource.[schema|data]

See gh-26150
pull/26162/head
zuisong 4 years ago committed by Stephane Nicoll
parent 086d289636
commit 95a9f36ac1

@ -414,7 +414,7 @@ public class DataSourceProperties implements BeanClassLoaderAware, InitializingB
}
@Deprecated
@DeprecatedConfigurationProperty(replacement = "spring.sql.init.ddlScriptLocations")
@DeprecatedConfigurationProperty(replacement = "spring.sql.init.schema-locations")
public List<String> getSchema() {
return this.schema;
}
@ -447,7 +447,7 @@ public class DataSourceProperties implements BeanClassLoaderAware, InitializingB
}
@Deprecated
@DeprecatedConfigurationProperty(replacement = "spring.sql.init.dmlScriptLocations")
@DeprecatedConfigurationProperty(replacement = "spring.sql.init.data-locations")
public List<String> getData() {
return this.data;
}

Loading…
Cancel
Save