diff --git a/jOOQ-examples/jOOQ-spring-boot-example/src/main/java/org/jooq/example/spring/Application.java b/jOOQ-examples/jOOQ-spring-boot-example/src/main/java/org/jooq/example/spring/Application.java index a6a87401fb..b5df8b2eeb 100644 --- a/jOOQ-examples/jOOQ-spring-boot-example/src/main/java/org/jooq/example/spring/Application.java +++ b/jOOQ-examples/jOOQ-spring-boot-example/src/main/java/org/jooq/example/spring/Application.java @@ -10,16 +10,23 @@ import org.springframework.boot.autoconfigure.r2dbc.R2dbcAutoConfiguration; * The spring boot application. *
* Starting from jOOQ 3.15, jOOQ supports {@link DSLContext} with a configured - * R2DBC {@link Configuration#connectionFactory()} out of the box. Up until - * Spring Boot 2.5, Spring Boot is not aware of this, and may auto configure an - * R2DBC connection rather than a JDBC connection. To work around this, use - * {@link SpringBootApplication#exclude()} to explicitly exclude the - * {@link R2dbcAutoConfiguration}. + * R2DBC {@link Configuration#connectionFactory()} out of the box. + *
+ * Historic note: Up until Spring Boot 2.5, Spring Boot is not aware of + * this, and may auto configure an R2DBC connection rather than a JDBC + * connection. To work around this, use {@link SpringBootApplication#exclude()} + * to explicitly exclude the {@link R2dbcAutoConfiguration}: + *
+ *
+ *
+ * @SpringBootApplication(exclude = { R2dbcAutoConfiguration.class })
+ *
+ * However, it is recommended you upgrade to Spring Boot 2.6 instead.
*
* @author Thomas Darimont
* @author Lukas Eder
*/
-@SpringBootApplication(exclude = { R2dbcAutoConfiguration.class })
+@SpringBootApplication
public class Application {
public static void main(String[] args) {
diff --git a/pom.xml b/pom.xml
index 847015f52d..c52d1fc17f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -57,8 +57,8 @@