We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1、bug描述 在SpringBoot+Mybatis+MybatisPlus的应用程序里面,执行insert语句或者update语句,会偶然出现NullPointerException(10次大概只有1次成功) 根据堆栈,发现是Nativesession.queryserverVariable方法获取不到结果集导致的报错,这个获取数据库的只读状态的。
insert语句是手工写的,没有使用MybatisPlus的封装功能,是单行数据的插入
2、版本号(非常重要) v 1.6.5-RELEASE
The text was updated successfully, but these errors were encountered:
数据库用的是Mysql8.0版本
Sorry, something went wrong.
应该是批量更新导致,业务代码里面,有一个地方用mybatis的foreach标签来拼接多条update语句,改为逐条update语句之后就没有问题了
funnyAnt
No branches or pull requests
1、bug描述
在SpringBoot+Mybatis+MybatisPlus的应用程序里面,执行insert语句或者update语句,会偶然出现NullPointerException(10次大概只有1次成功)
根据堆栈,发现是Nativesession.queryserverVariable方法获取不到结果集导致的报错,这个获取数据库的只读状态的。
insert语句是手工写的,没有使用MybatisPlus的封装功能,是单行数据的插入
2、版本号(非常重要)
v 1.6.5-RELEASE
The text was updated successfully, but these errors were encountered: