[paging] 페이징 처리 구현하기 (spring boot, mybatis, react-pagination)
1. Spring Boot에서 mybatis와 페이징 처리하기 mybatis를 사용하여 데이터베이스와 연동하고, 페이징 처리를 할 수 있습니다. mybatis에서는 RowBouds 클래스를 사용하여 페이징 처리를 합니다. 예를들어, 다음과 같이 UserMapper 인터페이스를 작성할 수 있습니다. import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import org.apache.ibatis.session.RowBounds; import java.util.List; @Mapper public interface UserMapper { List findAll(@Param("offset") int off..