All versions: 3.11 | 3.10 | 3.9 | 3.8 | 3.7 | Development versions: 3.12 | Unsupported versions: 3.6 | 3.5 | 3.4 | 3.3 | 3.2 | 2.6

With jOOQ, most conditional expressions are built from column expressions, calling various methods on them. For instance, to build a comparison predicate, you can write the following expression:

TITLE  = 'Animal Farm'
TITLE != 'Animal Farm'
BOOK.TITLE.eq("Animal Farm")
BOOK.TITLE.ne("Animal Farm")

Create conditions from the Factory

There are a few types of conditions, that can be created statically from the Factory. These are:

Connect conditions using boolean operators

Conditions can also be connected using boolean operators as will be discussed in a subsequent chapter.

The jOOQ Logo