If create SqlSessionTemplate bean with `ExecutorType.BATCH`, the insert/delete/update always return negative update/affected counts ```java @Bean public SqlSessionFactory sqlSessionFactory(DataSource dataSource) throws Exception { SqlSessionFactoryBean factoryBean = new SqlSessionFactoryBean(); factoryBean.setDataSource(dataSource); return factoryBean.getObject(); } @Bean public SqlSessionTemplate sqlSessionTemplate(SqlSessionFactory sqlSessionFactory) { return new SqlSessionTemplate(sqlSessionFactory, ExecutorType.BATCH); } ``` When I debugging, I found out the BatchExecutor executing result is correct, `updateCounts==1`, as following: <img width="518" alt="image" src="https://user-images.githubusercontent.com/14950276/97099996-16ffcd80-16ca-11eb-9712-b5f8d0cfa5e5.png"> But when I debugging into SqlSessionTemplate, the result is `-2147482646` <img width="1160" alt="image" src="https://user-images.githubusercontent.com/14950276/97100074-d6548400-16ca-11eb-9091-c1bb4b8fd1b0.png">