nested exception is org.apache.ibatis.executor.result.ResultMapException: Error attempting to get column 'workNo' from result set. Cause: java.lang.ClassCastException: java.lang.String cannot be cast to java.sql.Clob
这个是异常,resultType指向的是实体类。
mybatis的类型转换一般是BaseTypeHandler的子类,自己去debug吧,如果只是string类型,自己指定对应的typeHandle