In needing to upgrade to Jooq 3.8.x to make use of the
newly added range functions, the additional feature of allowing "DEFAULT" keywords in the code-generated create table statements has caused a side-effect in our HSQLdb embedded database implementation.
Since HSQLdb is a bit unorthodox with having the DEFAULT... statement preceding the NOT NULL statement, an "unexpected token: DEFAULT" error is thrown. For example, Jooq>=3.8.0 code-generates create table statements similar to the following for HSQLdb:
create table schema_name.table_name(col_name varchar(255) default NULL not null, ...)
How could I disable/prevent/suppress default statements in column definitions of the code-generated create table SQL commands?
If disabling them isn't possible without patching Jooq, how else could the ordering be corrected such that minimal code changes are necessary?