From a8b8f43180dc5536bc3a558bdaaec2c631ef642f Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Wed, 4 Nov 2020 16:46:28 +0000 Subject: [PATCH] Improve description of spring.datasource.initialization-mode Closes gh-21121 --- .../boot/autoconfigure/jdbc/DataSourceProperties.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/DataSourceProperties.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/DataSourceProperties.java index c0ab1f5b8c55..c2f96636888a 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/DataSourceProperties.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/DataSourceProperties.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2019 the original author or authors. + * Copyright 2012-2020 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. @@ -94,7 +94,8 @@ public class DataSourceProperties implements BeanClassLoaderAware, InitializingB private String jndiName; /** - * Initialize the datasource with available DDL and DML scripts. + * Mode to apply when determining if DataSource initialization should be performed + * using the available DDL and DML scripts. */ private DataSourceInitializationMode initializationMode = DataSourceInitializationMode.EMBEDDED;