You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** * Defines a special count query that shall be used for pagination queries to lookup the total number of elements for * a page. If none is configured we will derive the count query from the original query or {@link #countProjection()} query if any. */StringcountQuery() default "";
@Query(value = "select b, w, count(r) " +
"from Board b " +
"left join b.member w " +
"left join Reply r on r.board = b " +
"GROUP BY b ",
countQuery = "select count(b) from Board b")
Page<Object[]> getBoardWithReplyCount(Pageablepageable);
캐시(Cache)
캐시 히트(Cache hit): CPU가 참조하고자 하는 메모리가 캐시에 존재하고 있는 경우
캐시 미스(Cache miss): CPU가 참조하고자 하는 메모리가 캐시에 존재하지 않는 경우
JPQL @Modifying
https://www.baeldung.com/spring-data-jpa-modifying-annotation
JQPL @query countQuery()
캐시(Cache)
Queue 대신 LinkedList를 선언
The text was updated successfully, but these errors were encountered: