mybatis 异常: JDBC requires that the JdbcType must be specified for all nullable parameters.

来源:互联网 发布:消防报警主机编程软件 编辑:程序博客网 时间:2024/05/17 04:39

异常:

org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.type.TypeException: JDBC requires that the JdbcType must be specified for all nullable parameters.


此种情况 由于 mybatis 映射文件中,sql 参数值为 null , 由于 还有另一种 关于 参数为 null 的出现 oracle 无效列类型错误  1111 的异常,那种情况 发现 写的参数 是对的,但实际值为null,  而这种情况 由于参数写错了...  ; 猜测 可能是 参数名写错导致的这种问题

0 0
原创粉丝点击