项目中出现问题纪录,2011年12月19日, PM 05:01:07

  • 1、后台查询数据前台不显示问题
  • 答:没有申明返回前台的对象,导致对象为空
  • 2、项目中ibatis配置出错
  • 答:sqlmap的返回类型和数据库字段返回类型不一致
Cause: net.sf.cglib.beans.BulkBeanException; nested exception is com.ibatis.common.jdbc.exception.NestedSQLException:   
--- The error occurred in com/tsnt/srm/business/common/dao/sqlmap/ShpLine.xml.  
--- The error occurred while applying a result map.  
--- Check the ShpLine.ShpLineVOMap.  
--- The error happened while setting a property on the result object.  
 

  • 3、查询数据库总是多出多条
  • 答:查询条件少一个或多个,导致结果出现多个,未过滤完全

---------------------------------------------------------------

2011年12月19日, PM 05:03:57

---------------------------------------------------------------

为什么这里不支持源代码编辑?


待解答

猜你喜欢

转载自z3sm2012.iteye.com/blog/1316972