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對應的字段設置類型和結果返回類型不匹配導致錯誤,將那幾個字段附上對應類型值就可以