wangtiewu commented on issue #24286:
URL: 
https://github.com/apache/shardingsphere/issues/24286#issuecomment-1473040345

   thank you,@sandynz,I tryed the latest version 5.3.1,also got the previous 
error.
   My test scene is pagination query:
   1,Use ORM framework is 
tkmapper,homepage:https://github.com/mybatis-mapper/tk-mapper
   2,Init sql:"SELECT a.* FROM T_BATCH a"
   3,A new  class extends 
com.github.pagehelper.dialect.helper.MySqlDialect,override public String 
getPageSql(String sql, Page page, CacheKey pageKey),in this func the sql modify 
to "SELECT a.* FROM T_BATCH a INNER JOIN (SELECT batch_id FROM T_BATCH ORDER BY 
UPDATED_TIME DESC LIMIT ?, ?) AS a_b ON a.batch_id = a_b.batch_id"


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to