Mybatis-Error: Could not set parameters for mapping

I created a sql query as follows

And the value of the parameters are

String stuName = "nike";

String beginDate = "2018-03-01";

String endDate = "2018-06-01";

String consultName = "";

And the errors are


nested exception is org.apache.ibatis.type.TypeException:

Could not set parameters for mapping: ParameterMapping{property='endDate', mode=IN, javaType=class java.lang.Object, jdbcType=VARCHAR, numericScale=null, resultMapId='null', jdbcTypeName='null', expression='null'}.

Cause: org.apache.ibatis.type.TypeException: Error setting...

Read More »

By: StackOverFlow - Monday, 16 April

Related Posts