gpt4 book ai didi

java - jOOQ 提示排除表的多重继承

转载 作者:行者123 更新时间:2023-11-29 13:00:11 24 4
gpt4 key购买 nike

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

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

关于java - jOOQ 提示排除表的多重继承,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32765315/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com