Skip to content

Commit e03dd5f

Browse files
authored
Update comment in MyBatisBatchItemWriter.java
Modify comment in Line 67. As if assertUpdates is true, only results.size() == 1 and results.get(0).getUpdateCounts()[i] != 0 can pass the validation
1 parent b04ba37 commit e03dd5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/mybatis/spring/batch/MyBatisBatchItemWriter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public class MyBatisBatchItemWriter<T> implements ItemWriter<T>, InitializingBea
6464
private Converter<T, ?> itemToParameterConverter = new PassThroughConverter<>();
6565

6666
/**
67-
* Public setter for the flag that determines whether an assertion is made that all items cause only one row to be
67+
* Public setter for the flag that determines whether an assertion is made that number of BatchResult objects returned is one and all items cause at least one row to be
6868
* updated.
6969
*
7070
* @param assertUpdates

0 commit comments

Comments
 (0)