com.ibatis.common.jdbc.exception.NestedSQLException: --- The error occurred in com/huawei/demo/userpercept/dao/configure/vap.xml. --- The error occurred while applying a result map. --- Check the userpercept.vap.getCallDropUsers-AutoResultMap. --- The error happened while setting a property on the result object. --- Cause: net.sf.cglib.beans.BulkBeanException
今天碰到这个问题,浪费了我近2个小时
。到处排错,在有限的网络上也找到了碰到这个错误的人,可是他也没有解决。最后我不断尝试,终于解决了
当时我在猜想会不会跟Bulk这个单词有关?就立马想到是model里面属性值不足以装下resultMap里面某个字段的值,会不会是类型问题?我一看,表里面的是统计失败次数的Integer(Sybase IQ数据库),就把
private int calling_answer;
private int calling_drop;
private int called_answer;
private int called_drop;
全换成Integer类型了,一调试终于好了!
以后model里面的类型都要设置成封装类型,避免类似的错误
分享到:
相关推荐
ibatis-2.3.4.726.jar,ibatis-2.3.0.677.jar,ibatis-2.3.3.720.jar下载,都已放入一个压缩包下。
IBatis.DataMapper.1.6.2 和 IBatis.DataMapper.1.9 开发包
ibatis-2.3.3.720.jar
Manning.iBATIS.in.Action.Jan.2007.eBook-BBL.pdf Manning.iBATIS.in.Action.Jan.2007.eBook-BBL.pdf Manning.iBATIS.in.Action.Jan.2007.eBook-BBL.pdf
搭建mybatis所需包org.apache.ibatis.annotations.Param @Param
ibatis-2.3.4.732.jar
ibatis.net官方组件 IBatis.DataMapper.1.6.2 IBatis.DataAccess.1.9.2
ibatis-2.3.3.7.jar
IBatisNet.Common.1.6.2、IBatis.DataAccess.1.9.2、IBatis.DataMapper.1.6.2
ibatis-2.3.0.677-sources.jar 值得学习的源码资源,不容错过。
ibatis-2.3.4.726最新API chm格式 非常好用
ibatis-2.3.2.715源代码
ibatis-2.3.4.726官方最新开发包 和官方资料
ibatis-2.3.4.726-src 源代码,很难找的代码。用来调试和学习很方便。
ibatis-2.3.0.677 ibatis-2.3.0.677 ibatis-2.3.0.677 ibatis-2.3.0.677 ibatis-2.3.0.677 ibatis-2.3.0.677 ibatis-2.3.0.677
IBatis.net的实用DLL,适合C#项目的集成
ibatis-2.3.2.715.jar包
提供两个版本的ibatis jar包下载。