[jOOQ/jOOQ#18617] MetaImpl doesn't return Db2 GLOBAL TEMPORARY tables
This commit is contained in:
parent
2a43c70258
commit
d312a74703
@ -89,6 +89,7 @@ import static org.jooq.impl.SQLDataType.SMALLINT;
|
||||
import static org.jooq.impl.SQLDataType.VARCHAR;
|
||||
import static org.jooq.impl.Tools.EMPTY_OBJECT;
|
||||
import static org.jooq.impl.Tools.EMPTY_SORTFIELD;
|
||||
import static org.jooq.impl.Tools.anyMatch;
|
||||
import static org.jooq.impl.Tools.flatMap;
|
||||
import static org.jooq.impl.Tools.map;
|
||||
import static org.jooq.tools.StringUtils.defaultIfEmpty;
|
||||
@ -109,6 +110,7 @@ import java.util.Iterator;
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Objects;
|
||||
import java.util.Set;
|
||||
import java.util.function.Consumer;
|
||||
import java.util.function.Function;
|
||||
@ -155,6 +157,8 @@ import org.jooq.tools.JooqLogger;
|
||||
import org.jooq.tools.StringUtils;
|
||||
import org.jooq.tools.jdbc.JDBCUtils;
|
||||
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
/**
|
||||
* An implementation of the public {@link Meta} type.
|
||||
* <p>
|
||||
@ -547,6 +551,8 @@ final class MetaImpl extends AbstractMeta {
|
||||
}
|
||||
});
|
||||
|
||||
addTables(tables);
|
||||
|
||||
return Tools.map(
|
||||
|
||||
// [#15325] Generic exclusion of SYNONYM types
|
||||
@ -581,7 +587,7 @@ final class MetaImpl extends AbstractMeta {
|
||||
: TableType.TABLE;
|
||||
|
||||
|
||||
switch (dsl().family()) {
|
||||
switch (family()) {
|
||||
|
||||
|
||||
|
||||
@ -619,6 +625,44 @@ final class MetaImpl extends AbstractMeta {
|
||||
);
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
private final void addTables(Result<Record> tables) {
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
private final Result<Record> getUks(String catalog, String schema, String table) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user