jOOQ抱怨排除表
问题描述:
我收到数百封邮件是这样的约多重继承:jOOQ抱怨排除表
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
以外的桌子根本不会被取用。
这不是什么大不了的事情,但是它让我的日志文件变得混乱。
答
这似乎是一个错误(#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