com.ibatis.common.jdbc.exception.NestedSQLException:   
--- The error occurred in com/brilliance/Emp.xml.  
--- The error occurred while applying a result map.  
--- Check the getAllEmp-AutoResultMap.  
--- The error happened while setting a property on the result object.

解决方案 »

  1.   

    getAllEmp节点查询结果与resultClass或者resultMap类型不匹配
      

  2.   

    The error happened while setting a property on the result object这已经很详细了.  
      

  3.   

    --- The error occurred in com/brilliance/Emp.xml.  
    --- The error occurred while applying a result map.  
    --- Check the getAllEmp-AutoResultMap.  
    --- The error happened while setting a property on the result object. 

    看报错信息啊
      

  4.   

    对象的某个属性配置不对或者根本没配置。set 属性值时发生叻错误
      

  5.   

    The error happened while setting a property on the result object. 
    iBATIS好像有个问题是如果某列值为空,它不知道如何将这个空值转换为返回值中对应的默认值,如name列值为null,他返回null还是0还是“”呢,他也不知道,需要设置一下。
    你可以直接连数据库查询下是否某列有空值,是否这个问题引起的。
      

  6.   

    com/brilliance/Emp.xml.  这个配置文件里边 配置的parameterClass和表的列 对应不上或者是返回的结果集 resultClass 你设置的是java.util.HashMap把 。这里也注意下。如果配置缓存了 把缓存去掉看看。
      

  7.   

    应该是你set什么值到一个对象里去的时候类型跟数据库存的不一致