목록쿼리메서드와 @query (1)
Learn & Record

1. Paging@Testpublic void testPaging() { Pageable pageable = PageRequest.of(0,10, Sort.by("bno").descending()); Page result = boardRepository.findAll(pageable);} - paging Test 코드를 작성@Testpublic void testPaging() { Pageable pageable = PageRequest.of(0, 10, Sort.by("bno").descending()); Page result = boardRepository.findAll(pageable); log.info("total count: " + result.get..
Dev/Spring
2024. 5. 10. 11:01