静态初始化期间发生死锁
作者: rocketraman创建于 2025年12月22日更新于 2026年8月21日
标签T: Defect
代码生成配置:
name = "org.jooq.codegen.DefaultGenerator"
database.apply {
name = "org.jooq.meta.postgres.PostgresDatabase"
inputSchema = "public"
forcedTypes.addAll(
listOf(
ForcedType()
.withName("text")
.withIncludeExpression(".*")
.withIncludeTypes("CLOB"),
// this *should* be included by default by jooq-postgres-extensions, but it isn't?
ForcedType()
.withUserType("java.lang.String")
.withBinding("org.jooq.postgres.extensions.bindings.CitextBinding")
.withIncludeTypes("citext")
).toList()
)
}
…内容来源: jOOQ/jOOQ