Skip to content

Commit

Permalink
Fix small typo in the transactionality section of the documentation.
Browse files Browse the repository at this point in the history
Fixes #2869.
  • Loading branch information
EvaristeGalois11 authored and odrotbohm committed Mar 19, 2023
1 parent edef7d7 commit 5055252
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/asciidoc/jpa.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1120,7 +1120,7 @@ include::query-by-example.adoc[leveloffset=+1]
[[transactions]]
== Transactionality

By default, methods inherited from `CrudRepository` inherited the transactional configuration from from link:$$https://docs.spring.io/spring-data/data-jpa/docs/current/api/org/springframework/data/jpa/repository/support/SimpleJpaRepository.html$$[`SimpleJpaRepository`].
By default, methods inherited from `CrudRepository` inherit the transactional configuration from link:$$https://docs.spring.io/spring-data/data-jpa/docs/current/api/org/springframework/data/jpa/repository/support/SimpleJpaRepository.html$$[`SimpleJpaRepository`].
For read operations, the transaction configuration `readOnly` flag is set to `true`.
All others are configured with a plain `@Transactional` so that default transaction configuration applies.
Repository methods that are backed by transactional repository fragments inherit the transactional attributes from the actual fragment method.
Expand Down

0 comments on commit 5055252

Please sign in to comment.