Skip to content

Commit cdab978

Browse files
committed
there is no StatefulSession interface in Hibernate 😂
1 parent de5c9cd commit cdab978

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ You don't have to use stateful sessions, and you're not doing anything wrong if
531531
As of Hibernate 7, a key decision for any new project is which of these programming models to take as a baseline.
532532
Fortunately, the two models aren't mutually exclusive.
533533
This is a friendly competition, where the two APIs are designed to complement each other.
534-
Even if we decide to use `StatefulSession` most of the time, we can still use a `StatelessSession` wherever it's more convenient.
534+
Even if we decide to use stateful ``Session``s most of the time, we can still use a `StatelessSession` wherever it's more convenient.
535535

536536
NOTE: On the other hand, if you decide to adopt Jakarta Data, the decision is made for you: repositories in Jakarta Data 1.0 are always stateless, and in https://hibernate.org/repositories/[Hibernate Data Repositories] a repository is backed by a `StatelessSession`.
537537

0 commit comments

Comments
 (0)