Available in versions: Dev (3.18) | Latest (3.17) | 3.16 | 3.15 | 3.14 | 3.13


Applies to ✅ Open Source Edition   ✅ Express Edition   ✅ Professional Edition   ✅ Enterprise Edition

With jOOQ 3.13, source code for views is generated by the code generator if available. This feature can be turned off using:

  • sources: The generation of all types of source code can be turned off globally
  • sourcesOnViews: The generation of source code on views can be turned off

The flags governing the generation of these annotations are:

XML (standalone and maven)
<configuration xmlns="http://www.jooq.org/xsd/jooq-codegen-3.17.0.xsd">
new org.jooq.meta.jaxb.Configuration()
    new Generate()
myConfigurationName(sourceSets.main) {
  generator {
    generate {
      sources = true
      sourcesOnViews = true


Do you have any feedback about this page? We'd love to hear it!

The jOOQ Logo