Menu

#B1_0

1 post

Feed
1 of 1 post
Spring Data JPA N+1 queries: find them, fix them, test them
📰
0Read More

Spring Data JPA N+1 queries: find them, fix them, test them

DEV Community: java·duong vu·6 days ago
#yyeOcGK6
#devtojava#devto#dev#hibernate#b1_0

A list endpoint firing 11 SELECTs instead of 1? Find N+1 in the Hibernate 7 log, fix it with JOIN FETCH, @EntityGraph or batch fetching, and test the count.

15s