如下加入jdbcType即可
<insert id="save" parameterType="User">
insert into USER(USER_GUID,USER_NAME,USER_DESC)
values (#{userGuid, jdbcType=VARCHAR}, #{userName, jdbcType=VARCHAR},#{userDesc, jdbcType=VARCHAR})
</insert>
版权声明:本文为weixin_44919928原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。