From 15013b2b9204af955627405bfa2b0b1e96ce1b91 Mon Sep 17 00:00:00 2001 From: Mourjo Sen Date: Thu, 29 Feb 2024 16:22:26 +0100 Subject: [PATCH] Grammatical improvement in documentation. This fixes a minor grammatical error present in the following public page: https://docs.spring.io/spring-data/relational/reference/jdbc/transactions.html --- src/main/antora/modules/ROOT/pages/jdbc/transactions.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/antora/modules/ROOT/pages/jdbc/transactions.adoc b/src/main/antora/modules/ROOT/pages/jdbc/transactions.adoc index f60852e336..a775a0ee72 100644 --- a/src/main/antora/modules/ROOT/pages/jdbc/transactions.adoc +++ b/src/main/antora/modules/ROOT/pages/jdbc/transactions.adoc @@ -83,7 +83,7 @@ In contrast to that, `deleteInactiveUsers()` uses the `@Modifying` annotation an Thus, the method is with the `readOnly` flag set to `false`. NOTE: It is highly recommended to make query methods transactional. -These methods might execute more then one query in order to populate an entity. +These methods might execute more than one query in order to populate an entity. Without a common transaction Spring Data JDBC executes the queries in different connections. This may put excessive strain on the connection pool and might even lead to dead locks when multiple methods request a fresh connection while holding on to one.