Is it possible to create a INSERT INTO ... SELECT ... RETURNING statement with jOOQ? If so, how?
There is no returning function here:
context.insertInto(table, list of fields).select(select statement).returning() If this is indeed absent, is there a smart workaround available? I cannot express my INSERT INTO ... SELECT ... as a INSERT INTO ... VALUES .... See question jOOQ - multi-field for insertion for more details about the query.