Best Way To Use @Transactional
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.
Key points:
- this application is dissected in my book, Spring Boot Persistence Best Practices.