You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "Xiaolei1200 (via GitHub)" <gi...@apache.org> on 2023/08/30 02:26:01 UTC

[GitHub] [shardingsphere] Xiaolei1200 commented on issue #28258: Springboot+MybatisPlus+shardingjdbc:5.2.1+dameng8,Paging query failed

Xiaolei1200 commented on issue #28258:
URL: https://github.com/apache/shardingsphere/issues/28258#issuecomment-1698395335

   I got thesame problem when use mybits-plus  with  pagehelper:
   
   `PageHelper.startPage(1, 3);`
   
   then I selectList,it's error like :
   ### Error querying database.  Cause: java.lang.IllegalStateException: Can't find index: AggregationProjection(type=COUNT, innerExpression=(0), alias=Optional.empty, derivedAggregationProjections=[], index=-1), please add alias for aggregate selections
   
   


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org