jOOQ provides a convenient `leftAntiJoin` method for expressing ANTI JOIN operations in SQL, which translates to `NOT EXISTS` subqueries for databases that don't natively support the syntax. Since jOOQ 3.19, join paths simplify this further — you can write `leftAntiJoin(AUTHOR.book())` or even `where(notExists(AUTHOR.book()))` for a more readable, natural-language style query. The post demonstrates how these shorthand forms expand into equivalent correlated subqueries.
Table of contents
Like this:Sort: