mybatis什么时候必须指定jdbcType

#{property,javaType=int,jdbcType=NUMERIC}
如果一个列允许 null 值,并且会传递值 null 的参数,就必须要指定 JDBC Type

posted @ 2018-08-12 12:02  JAGNG  阅读(1263)  评论(0)    收藏  举报