Skip to content

Commit f14329f

Browse files
committed
Polishing docs
1 parent 244df51 commit f14329f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/site/markdown/docs/springBatch.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ For paging based queries...
7676
MyBatisPagingItemReader<Person> reader = new MyBatisPagingItemReader<>();
7777
reader.setQueryId(PersonMapper.class.getName() + ".selectMany");
7878
reader.setSqlSessionFactory(sqlSessionFactory);
79-
reader.setParameterValues(SpringBatchUtility.toParameterValues(selectStatement));
8079
reader.setPageSize(7);
80+
reader.setParameterValues(SpringBatchUtility.toParameterValues(selectStatement)); // create parameter map
8181
```
8282

8383

0 commit comments

Comments
 (0)