-
Notifications
You must be signed in to change notification settings - Fork 64
Pagination_KeyFeatures
Mybatis-PageHelper's pagination sql use java hard code, examples :
assume has an original sql like this:
select * from user where age > 10
Use Mybatis-PageHelper, the pagination sql will be:
select * from user where age > 10 limit 11, 20
If you use our sqlhelper, the sql will be:
select * from user where age > 10 limit ?, ?
that is, use sqlhelper the limit、offset parameters will be setted with PrepareStatement placeholder '?'
Use sqlhelper, you can use multiple database in the same application, and you don't have to be able to distinguish them. Because of the dialect will be automatic detected without any configuration.
Assume you are working in a spring boot application, so if you want use sqlhelper, you will configure nothing
Supported 90+ databases, you can find them here. Conatins almost all chinese database:
-
TiDB (北京平凯星辰科技))
-
Doris (Apache Doris,百度研发)
-
MaxCompute (阿里巴巴)
-
K-DB (浪潮)
-
GBase (南大通用)
-
DM (达梦)
-
OSCAR (神州通用)
-
HighGo (瀚高)
-
KingBase (金仓)
-
OpenBase (东软)
-
SequoiaDB (巨杉)
If you want know all RDMBS ranking, you can find them in DB Engines.
-
Advanced Usage