From 98416dc8efbb03920ef113c52d0ebeb4d3a42b2e Mon Sep 17 00:00:00 2001 From: gavin Date: Fri, 16 Apr 2021 16:33:54 +0200 Subject: [PATCH] improve wording of callout --- documentation/src/main/asciidoc/reference/introduction.adoc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/documentation/src/main/asciidoc/reference/introduction.adoc b/documentation/src/main/asciidoc/reference/introduction.adoc index c5f6befca..e206763e6 100644 --- a/documentation/src/main/asciidoc/reference/introduction.adoc +++ b/documentation/src/main/asciidoc/reference/introduction.adoc @@ -583,9 +583,10 @@ composition within a single reactive stream. Also remember that a Hibernate session is a lightweight object that should be created, used, and then discarded within a single logical unit of work. -IMPORTANT: That is to say, you should reuse the same session across multiple +IMPORTANT: That is to say, you _should_ reuse the same session across multiple persistence operations within a single reactive stream representing a certain -unit of work, but don't share a session between different reactive streams! +transaction or unit of work, but _don't_ share a session between different +concurrent reactive streams! To obtain a reactive `Session` from the `SessionFactory`, use `withSession()`: