Skip to content

Repository files navigation

License

Build Status code quality CodeFactor

MyBatis jFinal jFinal EBean Mango

JDK SpringBoot SpringBoot

maven maven maven

sqlhelper

SQL Tools ( Dialect, Pagination, UrlParser, SqlStatementParser, WallFilter, BatchExecutor for Test) based Java

modules

sqlhelper-dialect : the core
sqlhelper-mybatis : the mybatis tools (MyBatis Pagination Plugin)
sqlhelper-mybatis-spring-boot: spring boot autoconfigure, starter for sqlhelper in mybatis environment
sqlhelper-mybatis-over-pagehelper: migrate your application from mybatis-pagehelper
sqlhelper-jfinal: use it in jFinal application environment
sqlhelper-ebean: use it in Ebean application environment
sqlhelper-examples: some examples for there tools

tools usage

pagination plugin

Key Features

  1. Supports MyBatis, JFinal, EBean, Mango

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

  3. Supports multiple databases in one application

  4. Supports auto detect dialect, so the dialect option is optional (current supports this mode in mybatis environment)

  5. The performance is higher than Mybatis-PageHelper, because the limit、offset will be setted with PrepareStatement placeholder '?'

  6. Supports plugin use Java SPI

  7. Supports spring boot 1.x , 2.x

  8. Supports mybatis 3.x

  9. Supports JDK6+

sqlhelper vs mybatis-pagehelper

metric mybatis-pagehelper sqlhelper
databases 13 90+
multiple databases in runtime
auto detect dialect
plugin
PrepareStatement with '?' X
mybatis 3.x 3.x
spring boot 1.x, 2.x 1.x, 2.x
JDK 1.6+ 1.6+
jFinal X
Mango X
EBean X
国产数据库 X √ (参见上述列表)

Pagination

UrlParser

About

SQL Tools ( Dialect, Pagination, UrlParser, SqlStatementParser, WallFilter, BatchExecutor for Test) based Java

Resources

Code of conduct

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages