解决 Unable to translate SQLException with Error code '17059', will now try the fallback translator
来源:互联网 发布:java自动化测试脚本 编辑:程序博客网 时间:2024/05/18 04:58
maven/Java/web/bootstrapQQ群:566862629。希望更多人一起帮助我学习。
1.报错: Unable to translate SQLException with Error code '17059', will now try the fallback translator
报错如下:
2. 原因和解决:
在网上查到这个错是有结果返回,但是在装入resultMap的时候有问题。
我只是执行一个简单的查询sql。
我的情况是:有个字段在数据库中是字符串类型,但是我的代码中实体属性是定义为Integer类型,所以装不进去就报错。改了就OK了。
后来又有群友数据库用了clob字段,代码中不是用的String,也报这个错误。
so,遇到这个报错可以多考虑数据库字段类型和代码中类型不匹配原因。
0 0
- 解决 Unable to translate SQLException with Error code '17059', will now try the fallback translator
- .SQLErrorCodeSQLExceptionTranslator - Unable to translate SQLException with Error code '0', will no
- Warning: The VM will try to fix the stack guard now.It's highly recommended that you fix the library
- Error while preforming database login with the sql driver Unable to create connection解决
- Error:Access to the dex task is now impossible, starting with 1.4.0
- 【解决】Genymotion启动Error:Unable to start the virtual device
- Error Unable to start the Genymotion virtual device.解决
- Error Unable to start the Genymotion virtual device.解决
- Error:Unable to start the daemon process.解决
- 解决Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
- 解决Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
- 解决Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
- unable to connect to your virtual device genymotion will now stop check your virtualbox network
- unable to connect to your virtual device genymotion will now stop check your virtualbox network
- Genymotion模拟器使用问题(二 Unable to connect to your virtual device!Genymotion will now)
- Genymotion启动失败:Unable to connect to your virtual device!Genymotion will now stop.
- Unable to connect to your virtual device!Genymotion will now stop.Check your ViryualBox network conf
- Genymotion运行问题---Unable to connect to your virtual device! Genymotion will now stop........
- VMware虚拟机提示在该系统上全局禁用了虚拟机打印功能怎么
- Commander写自己的Nodejs命令
- comet4j
- 哪些操作会导致内存泄漏?
- html第一次尝试(百度页面)
- 解决 Unable to translate SQLException with Error code '17059', will now try the fallback translator
- 常用正则表达式
- (转)Android进阶笔记15:ListView篇之图片优化
- Linux--RH124---unit 12 不同系统之间的文件传输
- Spring循环体内的事务控制
- cvpr2015显著性文章
- 使用dozer注意一点,涉及lombok.Data的@Data
- 二维数组查找(普通数组&vector数组)
- HFile