Skip to content

Commit a8b8f43

Browse files
committed
Improve description of spring.datasource.initialization-mode
Closes gh-21121
1 parent c289ba0 commit a8b8f43

File tree

1 file changed

+3
-2
lines changed
  • spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc

1 file changed

+3
-2
lines changed

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/DataSourceProperties.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2019 the original author or authors.
2+
* Copyright 2012-2020 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -94,7 +94,8 @@ public class DataSourceProperties implements BeanClassLoaderAware, InitializingB
9494
private String jndiName;
9595

9696
/**
97-
* Initialize the datasource with available DDL and DML scripts.
97+
* Mode to apply when determining if DataSource initialization should be performed
98+
* using the available DDL and DML scripts.
9899
*/
99100
private DataSourceInitializationMode initializationMode = DataSourceInitializationMode.EMBEDDED;
100101

0 commit comments

Comments
 (0)