| What it is | Enhancement toolkit for MyBatis that cuts boilerplate in Java data access | Pagination plugin for MyBatis that pages any single-table or multi-table query | SQL mapper persistence framework for Java | Typesafe SQL query builder and code generator for Java |
| Ways to run it | — | — | — | - jOOQ Open Source Edition (installed, Apache-2.0): free
- jOOQ Express Edition (installed, proprietary): €99 per developer workstation a year, excluding VAT
- jOOQ Professional Edition (installed, proprietary): €399 per developer workstation a year, excluding VAT
- jOOQ Enterprise Edition (installed, proprietary): €799 per developer workstation a year, excluding VAT
|
| Features | - fully compatible with MyBatis
- ready-made CRUD interfaces
- where-condition wrapper with a lambda-style API
- primary key generation strategies
- automatic pagination
- active record support
- SQL injection defence
- customisable code generator
- All 9 features
| - Physical pagination for any single-table or multi-table MyBatis query
- Automatic dialects for MySQL, MariaDB, PostgreSQL, Oracle, SQL Server, DB2, SQLite, H2 and more
- Works with MyBatis 3.1.0 and later; PageHelper 6 needs JDK 8+, PageHelper 5 JDK 6+
| - SQL in XML mapper files or annotations
- dynamic SQL for conditional queries
- stored procedure support
- advanced result mappings to POJOs, Maps and primitives
- removes most JDBC boilerplate
- Spring Boot starter (mybatis-spring-boot-starter) with auto-configuration
| - Write typesafe SQL in Java with a fluent query builder API
- Generates Java classes from your database schema (database first)
- Supports many SQL dialects, from PostgreSQL and MySQL to Oracle and SQL Server
- Free Open Source Edition for open source databases
- Commercial editions for commercial databases, older database versions and support
|