diff --git a/reference/html/index.html b/reference/html/index.html index 5e7635e4..038c53a9 100644 --- a/reference/html/index.html +++ b/reference/html/index.html @@ -491,16 +491,16 @@ Then, the next time something borrows a connection from the pool, it gets one wi

Sometimes, it might even be mandatory to apply the @RefreshScope annotation on some beans that can be only initialized once. If a bean is “immutable”, you have to either annotate the bean with @RefreshScope or specify the classname under the property key: spring.cloud.refresh.extra-refreshable.

-
+
- + -If you create a DataSource bean yourself and the implementation is a HikariDataSource, return the -most specific type, in this case HikariDataSource. Otherwise, you need to set -spring.cloud.refresh.extra-refreshable=javax.sql.DataSource. +If you hava a DataSource bean that is a HikariDataSource, it can not be +refreshed. It is the default value for spring.cloud.refresh.never-refreshable. Choose a +different DataSource implementation if you need it to be refreshed.
diff --git a/reference/html/spring-cloud-commons.html b/reference/html/spring-cloud-commons.html index 5e7635e4..038c53a9 100644 --- a/reference/html/spring-cloud-commons.html +++ b/reference/html/spring-cloud-commons.html @@ -491,16 +491,16 @@ Then, the next time something borrows a connection from the pool, it gets one wi

Sometimes, it might even be mandatory to apply the @RefreshScope annotation on some beans that can be only initialized once. If a bean is “immutable”, you have to either annotate the bean with @RefreshScope or specify the classname under the property key: spring.cloud.refresh.extra-refreshable.

-
+
- + -If you create a DataSource bean yourself and the implementation is a HikariDataSource, return the -most specific type, in this case HikariDataSource. Otherwise, you need to set -spring.cloud.refresh.extra-refreshable=javax.sql.DataSource. +If you hava a DataSource bean that is a HikariDataSource, it can not be +refreshed. It is the default value for spring.cloud.refresh.never-refreshable. Choose a +different DataSource implementation if you need it to be refreshed.