Database-specific notes
The SQL Framework abstracts dialect differences behind QueryDSL SQL templates, but a few per-database specifics are worth knowing.
This document is part of the SQL connector tutorial. See link for other topics.
Dialect behavior
| Database | Dialect-specific behavior | Notes |
|---|---|---|
PostgreSQL |
Identity/auto-increment keys are read back with the |
Native DDL requires the |
Oracle |
Pagination uses |
Native DDL via |
MySQL, MariaDB |
Standard generated-key handling |
Native DDL via |
SQLite |
File-based database; pagination and identity handled by the SQLite dialect |
Enable foreign keys per connection ( |
H2 |
In-memory and file modes; emulated modes ( |
Keep an in-memory DB alive with |
SQL Server |
Standard generated-key handling |
Driver bundled separately (see below) |
Capabilities matrix
The contract test suite records the JDBC metadata capabilities the framework relies on:
| Database | Schemas | Remarks | Native DDL | JDBC defaults | Non-primary FK metadata |
|---|---|---|---|---|---|
H2 |
yes |
yes |
yes |
yes |
yes |
PostgreSQL |
yes |
yes |
yes (via |
yes |
yes |
SQLite |
no |
no |
yes |
yes |
yes |
Oracle |
yes |
no |
yes |
no |
no |
MySQL, MariaDB |
no |
yes |
yes |
yes |
yes |
Where a capability is missing, the affected feature degrades gracefully (for example no remarks attribute, no definition content).
Drivers
The SQL Framework does not bundle JDBC drivers — the driver for your database must be part of the connector bundle (see packaging).
The driver class is resolved automatically from the jdbcUrl scheme (see driver resolution).