The error occurred while setting parameters 错误解析--Bad value for type timestamp : 3
错误信息:nested exception is org.apache.ibatis.exceptions.PersistenceException:
### Error querying database. Cause: java.lang.reflect.UndeclaredThrowableException
### The error may exist in file [D:\apache-tomcat-7.0.52\webapps\chp-loan\WEB-INF\classes\mappings\blue\PaybackBlueMapper.xml]
### The error may involve com.creditharmony.loan.borrow.blue.dao.PaybackBlueDao.findPayback-Inline
### The error occurred while setting parameters
### SQL: SELECT p.id as paybackId, p.contract_code,
p.dict_pay_status, p.payback_day, p.payback_bule_amount,
p.payback_month_amount, p.modify_time, p.payback_back_amount,
p.payback_current_month, lc.customer_cert_num, lc.customer_name,
lc.customer_telesales_flag, c.loan_code, c.product_type,
c.contract_amount, c.contract_months,
c.contract_month_repay_amount, c.contract_replay_day,
c.contract_end_day, li.dict_loan_status, li.loan_team_orgid,
li.loan_store_orgid, li.loan_flag, lb.id as loanBankId,
lb.loan_code, lb.bank_account_name, lb.bank_account,
lb.bank_branch, lb.bank_name, usa.r_grant_id, usa.urge_moeny,
lg.grant_amount, pm.id as paybackMonthId,
pm.MONTH_PENALTY_SHOULD as month_Penalty_Should_sum
,pm.MONTH_INTEREST_PUNISHSHOULD as month_Interest_Punishshould_Sum,
pro.product_name from jk.t_jk_payback p LEFT JOIN jk.t_jk_contract c
ON p.contract_code = c.contract_code LEFT JOIN jk.t_jk_loan_customer
lc ON c.loan_code = lc.loan_code LEFT JOIN jk.t_jk_loan_info li ON
c.loan_code = li.loan_code LEFT JOIN jk.t_jk_loan_bank lb ON
lb.loan_code = c.loan_code LEFT JOIN jk.t_jk_loan_grant lg ON
lg.contract_code = p.contract_code LEFT JOIN
jk.t_jk_urge_services_amount usa ON usa.r_grant_id = lg.id LEFT JOIN
jk.t_jk_payback_month pm ON pm.contract_code = p.contract_code and
pm.months = p.payback_current_month LEFT JOIN JK.t_gl_jk_product
pro on c.product_type = pro.product_code where 1=1 AND
p.effective_flag = ? AND p.dict_pay_status in
('7','1','0') AND p.payback_bule_amount > ?
AND p.create_time is not null order by p.create_time DESC
limit ?
### Cause: java.lang.reflect.UndeclaredThrowableException
Bad value for type timestamp : 3
----------------------------
这个是字段错误,而且是字段类型修改了,由日期型转成字符型了,极其难找
p.payback_day, 就是这个字段
将实体类中的Date 改为String ,在jsp中修改为String即可!
The error occurred while setting parameters 错误解析--Bad value for type timestamp : 3的更多相关文章
- mybatis 批量insert,update报错 The error occurred while setting parameters
数据脚本执行正常,但是报错,搜索关键信息 The error occurred while setting parameters ,发现了解决帖子: http://blog.csdn.net/jing ...
- ### The error may involve defaultParameterMap ### The error occurred while setting parameters
Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Query was empty; bad SQL grammar [ ...
- mybatis批量更新出现he error occurred while setting parameters
当你更新一条时,不会发生问题,但是执行多条就出现了错误原因是mysql 配置jdbc:driver 应该添加&allowMultiQueries=trueurl:jdbc:mysql://lo ...
- 解决Eclipse里Maven工程报 An error occurred while filtering resources错误
这几天被maven的单元测试折腾死了,以为是自己的eclipse有问题呢,今天早上来了又发现eclipse报了一个很奇怪的错误:An error occurred while filtering re ...
- The error occurred while setting parameters--索引 3 超出范围 sqlserver2008
这个问题不是jar包冲突,是表的问题,表里的ID设置成自动增加1,就可以了!
- mybatis批量更新表setting parameters 错误
mybatis中想用 foreach标签 批量update set表 下面是mapper.xml <update id="updateMonitorById" paramet ...
- Eclipse启动时发生An internal error occurred during: "Initializing Java Tooling".错误的解决方法
问题描述: Eclipse启动时发生An internal error occurred during: "Initializing JavaTooling".错误的解决方法 解决 ...
- 微信接口问题(The underlying connection was closed: An unexpected error occurred on a send)
突然在调用微信接口是报:The underlying connection was closed: An unexpected error occurred on a send错误,跟踪了半天,是因为 ...
- 在使用Ibatis查询数据返回时,报如下错误:java ibatis The error happened while setting a property on the result object
问题: 在使用Ibatis查询数据返回时,报如下错误: [com.show.add.proxy.SqlMapClientTemplateProxy]com.ibatis.common.jdbc.exc ...
随机推荐
- DXUT初步理解
关于DXUT框架: DXUT(The DirectX Utility Library) 是建立在Direct3D9 和Direct3D10 API上的一个程序框架.它的目标是建立一个强大而容易使用的D ...
- git回滚
Git回滚的常用手法 07net01.com 发布于 4小时前 评论 传统VCS的回滚操作 对于版本控制系统VCS来说,回滚这个操作应该是个很普通也是很重要的需求. 如果你是传统VCS,比如SVN或者 ...
- Smart210学习记录-----linux定时器
1.内核定时器: Linux 内核所提供的用于操作定时器的数据结构和函数如下: (1) timer_list 在 Linux 内核中,timer_list 结构体的一个实例对应一个定时器 1 stru ...
- C++学习笔记1:高级语言
笔记参考资料:http://www.learncpp.com/ 1.high languages:C,C++,Pascal,Java,Javascript,Perl... compiling proc ...
- 【ajax】FormData
- 【题解】【矩阵】【回溯】【Leetcode】Rotate Image
You are given an n x n 2D matrix representing an image. Rotate the image by 90 degrees (clockwise). ...
- 兼容性所有浏览器的透明CSS设置
兼容所有浏览器的透明CSS设置: .transparent_class { filter:alpha(opacity=50); -moz-opacity:0.5; -khtml-opacity: 0. ...
- 如何让Visual Studio 清除最近打开项目 关闭上次未关闭的标签窗口
删除最近打开的文件: 打开HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\FileMRUList 删除最近打开的项目: 打开HKEY_CUR ...
- Sed简单入门实例
1. Sed简介 sed 是一种在线编辑器,它一次处理一行内容.处理时,把当前处理的行存储在临时缓冲区中,称为“模式空间”(pattern space),接着用sed命令处理缓冲区中的内容,处理完成后 ...
- Codeforces Round #372 (Div. 2)
Codeforces Round #372 (Div. 2) C. Plus and Square Root 题意 一个游戏中,有一个数字\(x\),当前游戏等级为\(k\),有两种操作: '+'按钮 ...