liaoxianrong opened a new issue #2980: The Long type parameters of Pagination are incompatible URL: https://github.com/apache/incubator-shardingsphere/issues/2980 When I using Mybatis-plus PaginationInterceptor plugin, shardingsphere does not work, something wrong has happend. Track it down and find an error at here: org.apache.shardingsphere.core.optimize.sharding.segment.select.pagination.Pagination ``` private int getValue(final PaginationValueSegment paginationValueSegment, final List<Object> parameters) { return paginationValueSegment instanceof ParameterMarkerPaginationValueSegment ? (int) parameters.get(((ParameterMarkerPaginationValueSegment) paginationValueSegment).getParameterIndex()) : ((NumberLiteralPaginationValueSegment) paginationValueSegment).getValue(); } ``` The Long type parameters of Pagination, such as Long total, Long pageNum, Long pageSize. and then throw an exception at "(int) parameters.get(((ParameterMarkerPaginationValueSegment) ". Can someone help with that?
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services