Mybatis Batch mode
by Mallim1 min read
IBATIS/Mybatis has the same underlying thing to watch out: To get benefit from batch executor, all the statements must be the same (it internally uses java.sql.PreparedStatement#addBatch()). If you use <foreach />, the statement changes and MyBatis has to create a new state ...