Skip to content

Commit e8b5466

Browse files
gavinkingDavideD
authored andcommitted
improve wording of callout
1 parent d27f7d7 commit e8b5466

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

documentation/src/main/asciidoc/reference/introduction.adoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -583,9 +583,10 @@ composition within a single reactive stream.
583583
Also remember that a Hibernate session is a lightweight object that should be
584584
created, used, and then discarded within a single logical unit of work.
585585

586-
IMPORTANT: That is to say, you should reuse the same session across multiple
586+
IMPORTANT: That is to say, you _should_ reuse the same session across multiple
587587
persistence operations within a single reactive stream representing a certain
588-
unit of work, but don't share a session between different reactive streams!
588+
transaction or unit of work, but _don't_ share a session between different
589+
concurrent reactive streams!
589590

590591
To obtain a reactive `Session` from the `SessionFactory`, use `withSession()`:
591592

0 commit comments

Comments
 (0)