From 8946089fca8a17eff5332bdd0688553f5c38f092 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. Closes #1746 --- 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 f60852e3..a775a0ee 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.