mybatis中Text的格式问题

来源:互联网 发布:儿童机器人编程 编辑:程序博客网 时间:2024/05/11 20:35

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

解决方法:将jdbcType=VARCHAR

0 0