报错信息:
nested exception is org.apache.ibatis.type.TypeException: Could not set parameters for mapping: ParameterMapping{property= ‘groupid’,
mode=IN, javaType=class java.lang.Object, jdbcType=null,
numericScale=null, resultMapld=‘null’, jdbcTypeName-=‘nl’,
expression= 'null}. Cause: org.apache.ibatis.type.TypeException: Error
setting non null for parameter #3 with JdbcType null. Try setting a
different JdbcType for this parameter or a different configuration
property. Cause: org.apache.ibatis.type.TypeException: Error setting non
null for parameter #3 with JdbcType null . Try setting a different
JdbcType for this parameter or a different configuration property. Cause:
java.sql.SQL Exception:无效的列索引
前提:
SQL本身没有问题
问题:
使用了/*… */注释
解决方式:
换一种注释方式