【发布时间】:2020-07-17 05:40:55
【问题描述】:
我正在使用 jooq-codegen-maven 插件生成一组 jOOQ 类,这很酷!但是当我想使用 DSLContext 通过这些类填充模式模型时:
dslContext.ddl(Public.PUBLIC, new DDLExportConfiguration()
.createSchemaIfNotExists(true)
.createTableIfNotExists(true))
.executeBatch();
出现错误:
Caused by: org.postgresql.util.PSQLException: ERROR: type "my_type" does not exist
调试生成的查询,我只看到创建模式和表的查询
JOOQ 版本:3.12.4
【问题讨论】:
标签: jooq