问题:DB2字段long varchar字段mybatis无法解析
报错:
org.springframework.jdbc.UncategorizedSQLException: Error attempting to get column 'XXXX' from result set. Cause: com.ibm.db2.jcc.b.ug: Invalid data conversion: Wrong result column type for requested conversion. ; uncategorized SQLException for SQL []; SQL state [null]; error code [-99999]; Invalid data conversion: Wrong result column type for requested conversion.; nested exception is com.ibm.db2.jcc.b.ug: Invalid data conversion: Wrong result column type for requested conversion.
使用自定义 resultMap 来指定类型