
jOOQ Masterclass
By :

jOOQ comes with a comprehensive list of settings (org.jooq.conf.Settings
) that attempts to cover the most popular use cases related to rendering the SQL code. These settings are available declaratively (via jooq-settings.xml
in the classpath) or programmatically via methods such as setFooSetting()
or withFooSetting()
, which can be chained in a fluent style. To take effect, Settings
must be part of org.jooq.Configuration
, and this can be done in multiple ways, as you can read in the jOOQ manual at https://www.jooq.org/doc/latest/manual/sql-building/dsl-context/custom-settings/. But most probably, in a Spring Boot application, you'll prefer one of the following approaches:
Pass global Settings
to the default Configuration
via jooq-settings.xml
in the classpath (the DSLContext
prepared by Spring Boot will take advantage of these settings):
<?xml version="1.0" encoding="UTF-8"?> <settings> <renderCatalog>false<...