I have a large list of identifiers which I would like to add to the WHERE clause like this:
WHERE
identifier IN (..., ..., ..., ...)
Replace:
DSL.any(DSL.array(values));
With:
DSL.any(values);
To create a single bind variable.
Alternatively, you could create that bind variable explicitly:
Field array = DSL.val(values); DSL.any(array);