[#6382] Fix Derby Support annotations

This commit is contained in:
lukaseder 2019-02-15 12:30:18 +01:00
parent d096c7d218
commit fba479036b
4 changed files with 12 additions and 10 deletions

View File

@ -40,6 +40,7 @@ package org.jooq;
// ...
// ...
// ...
import static org.jooq.SQLDialect.DERBY;
import static org.jooq.SQLDialect.H2;
import static org.jooq.SQLDialect.HSQLDB;
import static org.jooq.SQLDialect.MARIADB;
@ -86,7 +87,7 @@ public interface AlterIndexOnStep extends AlterIndexStep {
* index. In all other databases, the <code>ON</code> clause will simply be
* ignored for compatibility reasons.
*/
@Support({ H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
@Support({ DERBY, H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
AlterIndexStep on(Table<?> table);
/**
@ -99,7 +100,7 @@ public interface AlterIndexOnStep extends AlterIndexStep {
* index. In all other databases, the <code>ON</code> clause will simply be
* ignored for compatibility reasons.
*/
@Support({ H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
@Support({ DERBY, H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
AlterIndexStep on(String tableName);
/**
@ -112,7 +113,7 @@ public interface AlterIndexOnStep extends AlterIndexStep {
* index. In all other databases, the <code>ON</code> clause will simply be
* ignored for compatibility reasons.
*/
@Support({ H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
@Support({ DERBY, H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
AlterIndexStep on(Name tableName);
}

View File

@ -43,6 +43,7 @@ package org.jooq;
// ...
import static org.jooq.SQLDialect.CUBRID;
// ...
import static org.jooq.SQLDialect.DERBY;
import static org.jooq.SQLDialect.H2;
// ...
import static org.jooq.SQLDialect.HSQLDB;
@ -91,6 +92,6 @@ public interface CreateTableWithDataStep extends CreateTableOnCommitStep {
/**
* Add a <code>WITH DATA</code> clause.
*/
@Support({ CUBRID, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE })
@Support({ CUBRID, DERBY, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE })
CreateTableCommentStep withNoData();
}

View File

@ -9362,7 +9362,7 @@ public interface DSLContext extends Scope , AutoCloseable {
*
* @see DSL#alterIndex(String)
*/
@Support({ H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
@Support({ DERBY, H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
AlterIndexOnStep alterIndex(String index);
/**
@ -9370,7 +9370,7 @@ public interface DSLContext extends Scope , AutoCloseable {
*
* @see DSL#alterIndex(Name)
*/
@Support({ H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
@Support({ DERBY, H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
AlterIndexOnStep alterIndex(Name index);
/**
@ -9378,7 +9378,7 @@ public interface DSLContext extends Scope , AutoCloseable {
*
* @see DSL#alterIndex(Name)
*/
@Support({ H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
@Support({ DERBY, H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
AlterIndexOnStep alterIndex(Index index);
/**

View File

@ -7519,7 +7519,7 @@ public class DSL {
*
* @see DSLContext#alterIndex(String)
*/
@Support({ H2, HSQLDB, POSTGRES })
@Support({ DERBY, H2, HSQLDB, POSTGRES })
public static AlterIndexOnStep alterIndex(String index) {
return dsl().alterIndex(index);
}
@ -7529,7 +7529,7 @@ public class DSL {
*
* @see DSLContext#alterIndex(Name)
*/
@Support({ H2, HSQLDB, POSTGRES })
@Support({ DERBY, H2, HSQLDB, POSTGRES })
public static AlterIndexOnStep alterIndex(Name index) {
return dsl().alterIndex(index);
}
@ -7539,7 +7539,7 @@ public class DSL {
*
* @see DSLContext#alterIndex(Index)
*/
@Support({ H2, HSQLDB, POSTGRES })
@Support({ DERBY, H2, HSQLDB, POSTGRES })
public static AlterIndexOnStep alterIndex(Index index) {
return dsl().alterIndex(index);
}