Skip to content

improve wording of callout #712

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 16, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions documentation/src/main/asciidoc/reference/introduction.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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()`:

Expand Down