| What it is | A consistent Spring programming model for data access | Typesafe SQL query builder and code generator for Java | Enhancement toolkit for MyBatis that cuts boilerplate in Java data access | SQL mapper persistence framework 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 | - repository and custom object-mapping abstractions
- query derivation from repository method names
- transparent auditing of created and last-changed fields
- modules for JPA, JDBC and R2DBC, MongoDB, Redis, Cassandra, LDAP and key-value stores
- Spring Data REST: repositories exported as hypermedia REST resources
- community modules for Couchbase, Elasticsearch, Neo4j, DynamoDB and more
| - 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
| - 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
| - 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
|