【发布时间】:2020-06-08 22:36:24
【问题描述】:
我想将我在 jooq 中生成的所有 TINYINT 字段转换为整数类型。这是我的代码,但它不起作用。任何有线索的人
<forcedTypes>
<forcedType>
<name>INTEGER</name>
<types>TINYINT</types>
</forcedType>
</forcedTypes>
这是生成的
public final TableField<GroupsRecord, Byte> FY_TYPE = createField(DSL.name("fy_type"), org.jooq.impl.SQLDataType.TINYINT.nullable(false).defaultValue(org.jooq.impl.DSL.inline("0", org.jooq.impl.SQLDataType.TINYINT)), this, "financial year type: 0 - jan to dec, 1 - creation date plus 12 months");
【问题讨论】:
标签: java spring-boot jooq