Mybatis 都有哪些 Executor 执行器?它们之间的区别是什么?

答案解析

有 SimpleExecutor(每次执行新 Statement)、ReuseExecutor(重用 Statement)、BatchExecutor(批处理)。BatchExecutor 适合批量操作。