错误信息: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的更多相关文章

  1. mybatis 批量insert,update报错 The error occurred while setting parameters

    数据脚本执行正常,但是报错,搜索关键信息 The error occurred while setting parameters ,发现了解决帖子: http://blog.csdn.net/jing ...

  2. ### The error may involve defaultParameterMap ### The error occurred while setting parameters

    Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Query was empty; bad SQL grammar [ ...

  3. mybatis批量更新出现he error occurred while setting parameters

    当你更新一条时,不会发生问题,但是执行多条就出现了错误原因是mysql 配置jdbc:driver 应该添加&allowMultiQueries=trueurl:jdbc:mysql://lo ...

  4. 解决Eclipse里Maven工程报 An error occurred while filtering resources错误

    这几天被maven的单元测试折腾死了,以为是自己的eclipse有问题呢,今天早上来了又发现eclipse报了一个很奇怪的错误:An error occurred while filtering re ...

  5. The error occurred while setting parameters--索引 3 超出范围 sqlserver2008

    这个问题不是jar包冲突,是表的问题,表里的ID设置成自动增加1,就可以了!

  6. mybatis批量更新表setting parameters 错误

    mybatis中想用 foreach标签 批量update set表 下面是mapper.xml <update id="updateMonitorById" paramet ...

  7. Eclipse启动时发生An internal error occurred during: "Initializing Java Tooling".错误的解决方法

    问题描述: Eclipse启动时发生An internal error occurred during: "Initializing JavaTooling".错误的解决方法 解决 ...

  8. 微信接口问题(The underlying connection was closed: An unexpected error occurred on a send)

    突然在调用微信接口是报:The underlying connection was closed: An unexpected error occurred on a send错误,跟踪了半天,是因为 ...

  9. 在使用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 ...

随机推荐

  1. C# <%@ Register %>指令

    将别名与命名空间及类名关联起来,以便在自定义服务器控件语法中使用简明的表示法. <%@ register tagprefix="tagprefix" namespace=&q ...

  2. 【转】C++11中的std::function

    原文地址:http://www.jellythink.com/archives/771 看看这段代码 先来看看下面这两行代码: std::function<void(EventKeyboard: ...

  3. OpenFlow Switch学习笔记(六)——Instructions和Actions

    本文主要重点讨论OpenFlow Switch规范的指令集,它们深刻影响着数据包在Switch中的处理行为,下面开始从以下几个部分谈起. 1.Instructions 每一个Flow Entry里都包 ...

  4. 扩展KVM镜像的虚拟磁盘大小

    当我们需要扩展模板镜像的虚拟磁盘大小时,比如原来的虚拟磁盘大小为20G,现在我们想将其扩展到30G,那么我们可以根据如下步骤来操作. 整个流程可以分为三个阶段: 1.扩展KVM镜像磁盘文件大小到30G ...

  5. 廖雪峰老师的git在线教程

    我是看廖老师的网站,学习git使用的,所以在这里做做收藏,也推广推广. 该教程的类型可以换个名称<手把手看图教你用git>来概括,呵呵. 做得很用心,学起来很快.

  6. tyvj1012 P1012 - 火柴棒等式 ——暴力枚举

    题目链接:https://www.tyvj.cn/Problem_Show.aspx?id=1012 可以发现:最大的数字绝对不超过999,只要枚举出0-999所有数字需要的火柴数,然后再枚举C和A, ...

  7. UVa 572 油田(DFS求连通块)

    https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem& ...

  8. leetcode 39 Combination Sum --- java

    Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C wher ...

  9. POJ 1469 COURSES(二部图匹配)

                                                                     COURSES Time Limit: 1000MS   Memory ...

  10. MAC 如何修改PATH

    http://hathaway.cc/post/69201163472/how-to-edit-your-path-environment-variables-on-mac