Skip to content

Commit f053b05

Browse files
Update README.md
1 parent 0c502e5 commit f053b05

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3257,3 +3257,11 @@ This kind of checks or constraints are easy to implement via database triggers.
32573257

32583258
**Note:** Do not conclude that Query By Example (QBE) defines only the `exists()` method. Check out all methods [here](https://docs.spring.io/spring-data/commons/docs/current/api/org/springframework/data/repository/query/QueryByExampleExecutor.html).
32593259

3260+
----------------------------------------------------------------------------------------------------------------------
3261+
3262+
230. **[Best Way To Use `@Transactional`](https://github.com/AnghelLeonard/Hibernate-SpringBoot/tree/master/HibernateSpringBootTransactionalInRepository)**
3263+
3264+
**Description:** This application is meant to highlight that the best place to use `@Transactional` for user defined query-methods is in repository interface, and afterwards, depending on situation, on service-methods level.
3265+
3266+
**Key points:**
3267+
- this application is dissected in my book, **Spring Boot Persistence Best Practices**.

0 commit comments

Comments
 (0)