When generating this table:
--------------------------------------------
CREATE TABLE t_directory (
id number(7) NOT NULL,
parent_id number(7),
is_directory number(1),
"name" varchar2(50),
CONSTRAINT pk_t_directory PRIMARY KEY (ID),
CONSTRAINT pk_t_directory_self FOREIGN KEY (PARENT_ID) REFERENCES t_directory(ID)
)
--------------------------------------------
The column is illegally declared as such:
--------------------------------------------
/**
* IS_DIRECTORY mapping for IS_DIRECTORY
*/
public final TableField<TDirectoryRecord, java.lang.Long> IS_DIRECTORY = createField("IS_DIRECTORY", org.jooq.impl.SQLDataType.BIT, this);
--------------------------------------------
I'm not sure how to correct this in the velocity files, but these two don't correspond:
$jooqColumnFullType
$jooqFullType
Attached is the Oracle configuration file
Note that I think it is unwise to assess that NUMBER(1) is explicitly used for booleans in Oracle. By default, something like Byte, Short, Integer, Long should be the applied data type. But if you wish to keep it this way, then I guess the correct fix is in ConvertUtils. Add the BIT data type to
ConvertUtils.getJavaTypeFromDBFullType():
if (dBType.equals("BIT"))
return JAVA_BOOLEAN_TYPE;