java - MySQL fabric中,使用mybatis的问题
ringa_lee
ringa_lee 2017-04-18 10:51:48
0
1
430

在批量插入的时候获取主键值,返回来的主键值和实际插入值不一样,但是不用fabric又能得到正确的数据,请问是什么原因?如何解决?

ringa_lee
ringa_lee

ringa_lee

reply all(1)
PHPzhong

The reason has been found. The MySQL underlying connection driver does not support getAutoIncrement in the Fabric cluster environment.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!