SqlMapClient operation; uncategorized SQLException for SQL []; SQL state [null]; error code [0];
--- The error occurred in sqlMaps/dt/view_result_SqlMap.xml.
--- The error occurred while applying a result map.
--- Check the view_result.selectByBarCode-AutoResultMap.
--- The error happened while setting a property on the result object.
--- Cause: net.sf.cglib.beans.BulkBeanException; nested exception is com.ibatis.common.jdbc.exception.NestedSQLException:
--- The error occurred in sqlMaps/dt/view_result_SqlMap.xml.
--- The error occurred while applying a result map.
--- Check the view_result.selectByBarCode-AutoResultMap.
--- The error happened while setting a property on the result object.
--- Cause: net.sf.cglib.beans.BulkBeanException
出现这个错误是远程端口调用本地时出现的查询结果的BUG。原因是有的字段为空在ibatis对应的字段设置类型和结果返回类型不匹配导致错误,将那几个字段附上对应类型值就可以