mybatis中Text的格式有关问题

mybatis中Text的格式问题

在mysql中设置mediumtext或者text类型时,在mybatis中使用jdbcType=TEXT会出现报错的问题(nested exception is org.apache.ibatis.builder.BuilderException: Error resolv...)。

解决方法:将jdbcType=VARCHAR