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 ...
随机推荐
- bzoj4034 (树链剖分+线段树)
Problem T2 (bzoj4034 HAOI2015) 题目大意 给定一颗树,1为根节点,要求支持三种操作. 操作 1 :把某个节点 x 的点权增加 a . 操作 2 :把某个节点 x 为根的子 ...
- dat文件中如何编写DOS的多行命令
dat文件中如何编写DOS的多行命令 2012-10-15 11:29 四海柔情108 分享到: 2012-10-16 23:36 提问者采纳 你问的应该是BAT文件吧?BAT是DOS命令的批 ...
- iOS-NSURLCache内存缓存
在IOS应用程序开发中,为了减少与服务端的交互次数,加快用户的响应速度,一般都会在IOS设备中加一个缓存的机制.使用缓存的目的是为了使用的应用程序能更快速的响应用户输入,是程序高效的运行.有时候我们需 ...
- 【转】eclipse 安装插件
eclipse安装插件或许没有什么多的可讲,但对于刚刚接触eclipse这款IDE的新手来说,可能还是会有点棘手! eclipse安装插件大致三种方法: 方法一:自身安装器 使用eclipse的Sof ...
- 配置Hadoop的Eclipse开发环境
前言 在先前的文章中,已经介绍了如何在Ubuntu Kylin操作系统下搭建Hadoop运行环境,而现在将在之前工作的基础上搭建Eclipse开发环境. 配置 开发环境:Eclipse 4.2 其他同 ...
- Linux启动Apache支持.htaccess伪静态文件方法
第一.编辑httpd.conf文件 A - 在etc/httpd/conf/目录下的httpd.conf 文件,找到: LoadModule rewrite_module modules/mod_re ...
- taglib 自定义标签
自定义<%@ taglib prefix="cf" uri="http://training.bmcc.com.cn/tld/functions"%> ...
- ZOJ 1110 Dick and Jane
原题链接 题目大意:Dick和Jane的年龄之和等于他们宠物的年龄,宠物之间的年龄关系XXX. 解法:小学奥数题目,枚举法. 参考代码: #include<iostream> #inclu ...
- SpringMVC使用@ResponseBody时返回json的日期格式、@DatetimeFormat使用注意
一.SpringMVC使用@ResponseBody时返回json的日期格式 前提了解: @ResponseBody 返回json字符串的核心类是org.springframework.http.co ...
- uva624 CD 01背包+输出最优解
link:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem& ...