Skip to content

Commit a9b3070

Browse files
committed
Change the default value of assertUpdates to null on MyBatisBatchItemWriterBuilder
See gh-235
1 parent a4b9394 commit a9b3070

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/mybatis/spring/batch/builder/MyBatisBatchItemWriterBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public class MyBatisBatchItemWriterBuilder<T> {
3131
private SqlSessionTemplate sqlSessionTemplate;
3232
private SqlSessionFactory sqlSessionFactory;
3333
private String statementId;
34-
private Boolean assertUpdates = true;
34+
private Boolean assertUpdates;
3535

3636
/**
3737
* Set the {@link SqlSessionTemplate} to be used by writer for database access.

0 commit comments

Comments
 (0)