But occasionally, even with jOOQ generated code, package private visibility can be useful, if some data access package wants to hide its implementation details from other packages in the module. <configuration> <generator> <strategy> <name>com.example.codegen.SinglePackageStrategy</name> <!-- Generates all objects in the same package --> <!-- Starting from jOOQ 3.19, you can declare the strategy code here This will simplify your code generation setup.