Spring Boot #4 — Transactions, Relationships, N+1, and Fetch Join
I connected entities with @ManyToOne and ran a full query, and instead of 1 query, 6 came out. I fixed the N+1 problem caused by LAZY loading with fetch join, and worked through the atomicity and dirty checking of @Transactional.