使用MyBatis的@Param注解时参数为空值NULL的处理方法
最近在使用MyBatis的@Param注解映射参数到SQL语句时报错: Error setting null for parameter #3 with JdbcType OTHER . Try setting a different JdbcType for this parameter or a different jdbcTypeForNull configuration property. Cause: java.sql.SQLException: 无效的列类型: 1111Oracle数据库....
原创
2022-06-27 19:10:09 ·
9557 阅读 ·
0 评论