当前位置:网站首页>com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Truncated incorrect DOUBLE value:
com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Truncated incorrect DOUBLE value:
2022-07-23 05:58:00 【喜欢晚风】
com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Truncated incorrect DOUBLE value: ‘E10ADC3949BA59ABBE56E057F20F883E’
bug详情:

解决办法:
查看他给的有错误的那几行,最根本的原因是jdbcUtils的sql语句执行。但是其他sql语句使用这个工具类就是成功的,只有这个功能报错了。出错范围缩小到IAdminDaoImpl,因为只有他执行了sql语句,才会导致其他类报错,
看这行代码,objs的参数是admin_id,password。但是sql语句里需要的参数是顺序是:password,admin_id。所以导致出错了。
一定要注意参数顺序。!!!!
边栏推荐
猜你喜欢
随机推荐
Common scheduled cron expressions for scheduled tasks
静态扩展配置
php框架MVC类代码审计
HCIA----05 RIP
What is the reason for the failure of video playback and RTMP repeated streaming on easygbs platform?
[actf2020 freshman competition]backupfile 1
CORTEX-A系列处理器
DHCP configuration instance learning record
复杂网络-常用绘图软件和库
ACL——net
SFTP deployment configuration
Frame relay network configuration example learning record
Signal integrity (SI) power integrity (PI) learning notes (32) power distribution network (4)
在GPU上运行MATLAB程序
HCIA----02
问题解决:Script file ‘Scripts\pip-script.py‘ is not present.
沟通绩效业绩不佳的 11 个提示
基于redis+lua进行限流
雷达导论PART VII.2 成像方法
互联网时代下,如何精细化用户运营?









