是类型转换错误,查查你的pojo,数据库和配置文件是否一一对应,若有一个字段不对应就有这种错误
解决方案 »
- 奇怪,为何同一cookie在tomcat7和MyEcliplse tomcat中读出来竟然不一致?
- 【求助】关于JSP传参数的问题
- java如何合并音频文件(同时间段重叠)
- 如何部署weblogic9.x
- <html:image>这样用行吗
- 菜鸟问题!!!!急
- 使用struts1.1自带例子 运行有错啊 大家帮我看看!急。。。
- javaMail发送邮件抛出认证失败例外请教
- 请推荐几本学习J2EE和EJB的经典书籍,定给高分酬谢
- jboss下ejb部署问题
- 求助
- org.apache.jasper.JasperException: /showperson.jsp(53,77) Unterminated <bean:write tag
if (resultList.isEmpty())
resultList = null;
==>
query.setInteger("hostTransStatus",new Integer(hostTransStatus));
String hql ="from TransLogDeposit tld where tld.hostTransStatus=:hostTransStatus";
query.setParameter("hostTransStatus",new Integer(hostTransStatus));