readOnly, @Repository, @Modifying: what annotations on a Spring Data repository really do
An online tool shop ends expired promotions overnight. The job reports 412 hits and the shop keeps selling at the promo price. Three annotations on the repository interface are behind it: two reach deep into Hibernate, one does nothing at all. The complete tutorial on readOnly, @Modifying and where the transaction boundary belongs. As of Spring Boot 4.