In order to run jooqs codegen, it needs an appropriate database (with the correct schema) to be running. This often leads to checking in jooq generated code into your applications repository to ease the build process.
jooq provides an option to run the code generator based on flyway
migrations without the need for a specific database to be running. The feature is described here as codegen from DDL.