2021-09-05

org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.type.TypeException: Could not set parameters for mapping: ParameterMapping{property=‘keyword’, mode=IN, javaType=class java.lang.String, jdbcType=null, numericScale=null, resultMapId=‘null’, jdbcTypeName=‘null’, expression=‘null’}. Cause: org.apache.ibatis.type.TypeException: Error setting non null for parameter #1 with JdbcType null . Try setting a different JdbcType for this parameter or a different configuration property. Cause: java.sql.SQLException: Parameter index out of range (1 > number of parameters, which is 0).

使用MyBatis时报这个错误
1.可能是使用模糊查询时格式错误
2.可能是传入传出类型出错
待补充

上一篇:127 、performance性能测试


下一篇:【论文阅读】Revisiting self-supervised visual representation learning