Thank you for the feedback. One thing I noticed is that with Postgres 11.5, jOOQ 3.12.2 is not detecting an identity column. Given the following SQL:
CREATE TABLE public.jooq (id INTEGER GENERATED BY DEFAULT AS IDENTITY NOT NULL, name VARCHAR(126) NOT NULL, CONSTRAINT JOOQ_PKEY PRIMARY KEY (id));
testdb=# \d jooq;
Table "public.jooq"
Column | Type | Collation | Nullable | Default
--------+------------------------+-----------+----------+----------------------------------
id | integer | | not null | generated by default as identity
name | character varying(126) | | not null |
Indexes:
"jooq_pkey" PRIMARY KEY, btree (id)
But column.getType(resolver()).isIdentity() returns false.