Skip to content

Commit c7859c5

Browse files
committed
No need to create an intermediate stream
1 parent 6c693f7 commit c7859c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/site/markdown/docs/insert.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ A batch insert is a collection of statements that can be used to execute a JDBC
203203
.build()
204204
.render(RenderingStrategies.MYBATIS3);
205205

206-
batchInsert.insertStatements().stream().forEach(mapper::insert);
206+
batchInsert.insertStatements().forEach(mapper::insert);
207207

208208
session.commit();
209209
}

0 commit comments

Comments
 (0)