当前使用版本(必填,否则不予处理)

3.2.0
mssql-jdbc:7.2.0.jre8

该问题是如何引起的?(确定最新版也有问题再提!!!)

索引 1 超出范围。

重现步骤(如果有就写完整)

Page page = tbPaperMapper.getPage2(new Page(1, 20), tremVo.getOid());

报错信息

请求后报ParameterMapping{property='oid', mode=IN, javaType=class java.lang.Object, 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: 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: com.microsoft.sqlserver.jdbc.SQLServerException: 索引 1 超出范围。] with root cause

Comment From: miemieYaho

用最新版你写个复现demo顺便提供一个我们能连接的sqlserver