jdbcType

作者: xiari1991 | 来源:发表于2020-06-19 14:23 被阅读0次

当传入的值为null时,mabatis不知道将null转换为什么类型,会报错111.
指定jdbcType可以避免这种问题

当查询时:判断过不是空的时候,可以不指定jdbcType

相关文章

网友评论

      本文标题:jdbcType

      本文链接:https://www.haomeiwen.com/subject/oxbvxktx.html