【问题标题】:jOOQ complains about multiple inheritance of excluded tablesjOOQ 抱怨排除表的多重继承
【发布时间】:2015-09-27 17:09:22
【问题描述】:

我收到了数百条这样的消息:

Sep 24, 2015 11:21:52 AM org.jooq.tools.JooqLogger info
INFO: Multiple inheritance     : Multiple inheritance is not supported by jOOQ: "other_schema"."some_table" inherits from "other_schema"."parent_a"
Sep 24, 2015 11:21:52 AM org.jooq.tools.JooqLogger info
INFO: Multiple inheritance     : Multiple inheritance is not supported by jOOQ: "other_schema"."some_table" inherits from "other_schema"."parent_b"

所有这些表都被排除在生成之外,事实上,other_schema 不是inputSchema 中指定的架构。有没有办法抑制这些?理想情况下,inputSchema 之外的表根本不会被获取。

这没什么大不了的,但它弄乱了我的日志文件。

【问题讨论】:

    标签: java postgresql jooq


    【解决方案1】:

    这似乎是一个错误 (#4579)。当相关表从代码生成运行中排除时,这些消息不应出现。

    由于您通过java.util.logging (the default in jOOQ, if log4j or slf4j aren't on the classpath) 进行日志记录,您可以通过JVM 标志as explained in this Stack Overflow question here 指定日志记录配置文件。相关的记录器是org.jooq.util.postgres.PostgresDatabase的记录器

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-11-20
      • 2012-03-17
      • 1970-01-01
      • 1970-01-01
      • 2020-04-20
      相关资源
      最近更新 更多