Mybatis009-pagination

1. Use limit paging:
Syntax:
1. select from user limit startIndex, pageSize;
2. select
from user limit 3; There is only one parameter, representing 3 records starting from 0 to
complete paging using mybatis:
1. Interface
Mybatis009-pagination
2. UserMapper. xml
Mybatis009-pagination
3. Test
Mybatis009-pagination
two. RowBounds pagination
no longer uses SQL to implement paging
1. Interface
Mybatis009-pagination
2. UserMapper.xml
Mybatis009-pagination
3. Test
Mybatis009-pagination
three. Paging plug-in
Mybatis paging plug-in PageHelper
Mybatis009-pagination

Guess you like

Origin blog.51cto.com/12859164/2616100
009