Skip to content

Commit b04ba37

Browse files
authored
Update comment in MyBatisBatchItemWriter.java
Modify comment in Line 67. As in code line 150, if assertUpdates is true, only results.size()==1 can pass the validation
1 parent ec803ec commit b04ba37

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 at least one row to be
67+
* Public setter for the flag that determines whether an assertion is made that all items cause only one row to be
6868
* updated.
6969
*
7070
* @param assertUpdates

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy