[jOOQ/jOOQ#9317] Synchronize @Support on JoinType and Table methods

This commit is contained in:
Knut Wannheden 2019-10-02 10:59:06 +02:00
parent 70a50ada80
commit c84100f378
2 changed files with 7 additions and 2 deletions

View File

@ -62,6 +62,7 @@ import static org.jooq.SQLDialect.POSTGRES;
// ...
// ...
// ...
// ...
import org.jooq.impl.DSL;
@ -129,13 +130,13 @@ public enum JoinType {
/**
* <code>CROSS APPLY</code> two tables.
*/
@Support({})
@Support({ POSTGRES })
CROSS_APPLY("cross apply", false),
/**
* <code>OUTER APPLY</code> two tables.
*/
@Support({})
@Support({ POSTGRES })
OUTER_APPLY("outer apply", false),
/**

View File

@ -146,6 +146,10 @@ implements
*/
private static final long serialVersionUID = 8377996833996498178L;
private static final Clause[] CLAUSES = { TABLE, TABLE_JOIN };
private static final Set<SQLDialect> EMULATE_NATURAL_JOIN = SQLDialect.supported(CUBRID);
private static final Set<SQLDialect> EMULATE_NATURAL_OUTER_JOIN = SQLDialect.supported(CUBRID, H2);
private static final Set<SQLDialect> EMULATE_JOIN_USING = SQLDialect.supported(CUBRID, H2);