You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30)
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:122)
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:113)
at sun.reflect.GeneratedMethodAccessor72.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
... 47 more
Caused by: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
at java.util.ArrayList.rangeCheck(ArrayList.java:653)
at java.util.ArrayList.get(ArrayList.java:429)
at com.dangdang.ddframe.rdb.jdbc.util.ParameterList.set(ParameterList.java:74)
at com.dangdang.ddframe.rdb.parser.result.merger.Limit.replaceParameters(Limit.java:56)
at com.dangdang.ddframe.rdb.router.SQLRouteEngine.routeSQL(SQLRouteEngine.java:90)
并行执行limit查询,会出现数据异常
问题复现步骤:
期望的表现:
每个查询可以正常返回
观察到的表现:
出现IndexOutOfBoundsException
Sharding-JDBC版本: 1.4.0
操作系统及版本: OS X
The text was updated successfully, but these errors were encountered: