JOOQ is a Java library that is used for database access. The best part about JOOQ is its code generator, which reflects on a given database and generates database access models, this can be used from the code using a fluent API. JOOQ also is available as a dependency that can be included in the build.gradle file.
JOOQ generates .java objects during build time, which are then jointly compiled with our Kotlin code, as we will see in the following chapters. We will be using the Gradle JOOQ Plugin to generate the .java classes in the src/main/java directory of the project.
The database to reflect on generally lies in the build environment. Build environments can be powered by any CI tool like Jenkins, Travis CI, AWS CodePipeline, and so ...