Quantcast
Channel: 蜗牛都知道
Viewing all articles
Browse latest Browse all 105

MyBatis update insert 返回值一直为-2147482646

$
0
0

原因是配置中加了:

<!– 对于批量更新操作缓存SQL以提高性能 –>

<setting name=”defaultExecutorType” value=”BATCH” />

mybatis官方的讨论列表,:“If the BATCH  executor is in use, the update counts are being lost. ”


Viewing all articles
Browse latest Browse all 105

Trending Articles