[#4046] Fixed FK Support annotations for Oracle
This commit is contained in:
parent
6bc9584a18
commit
49c8ff50d6
@ -40,6 +40,24 @@
|
||||
*/
|
||||
package org.jooq;
|
||||
|
||||
// ...
|
||||
// ...
|
||||
import static org.jooq.SQLDialect.CUBRID;
|
||||
// ...
|
||||
import static org.jooq.SQLDialect.DERBY;
|
||||
import static org.jooq.SQLDialect.FIREBIRD;
|
||||
import static org.jooq.SQLDialect.H2;
|
||||
// ...
|
||||
import static org.jooq.SQLDialect.HSQLDB;
|
||||
// ...
|
||||
// ...
|
||||
import static org.jooq.SQLDialect.MARIADB;
|
||||
import static org.jooq.SQLDialect.MYSQL;
|
||||
import static org.jooq.SQLDialect.POSTGRES;
|
||||
import static org.jooq.SQLDialect.SQLITE;
|
||||
// ...
|
||||
// ...
|
||||
|
||||
|
||||
/**
|
||||
* The step in the {@link Constraint} construction DSL API that allows for
|
||||
@ -53,14 +71,14 @@ public interface ConstraintForeignKeyOnStep extends ConstraintFinalStep {
|
||||
* Add an <code>ON DELETE NO ACTION</code> clause to the
|
||||
* <code>FOREIGN KEY</code> constraint.
|
||||
*/
|
||||
@Support
|
||||
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE })
|
||||
ConstraintFinalStep onDeleteNoAction();
|
||||
|
||||
/**
|
||||
* Add an <code>ON DELETE RESTRICT</code> clause to the
|
||||
* <code>FOREIGN KEY</code> constraint.
|
||||
*/
|
||||
@Support
|
||||
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE })
|
||||
ConstraintFinalStep onDeleteRestrict();
|
||||
|
||||
/**
|
||||
@ -81,42 +99,42 @@ public interface ConstraintForeignKeyOnStep extends ConstraintFinalStep {
|
||||
* Add an <code>ON DELETE SET DEFAULT</code> clause to the
|
||||
* <code>FOREIGN KEY</code> constraint.
|
||||
*/
|
||||
@Support
|
||||
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE })
|
||||
ConstraintFinalStep onDeleteSetDefault();
|
||||
|
||||
/**
|
||||
* Add an <code>ON UPDATE NO ACTION</code> clause to the
|
||||
* <code>FOREIGN KEY</code> constraint.
|
||||
*/
|
||||
@Support
|
||||
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE })
|
||||
ConstraintFinalStep onUpdateNoAction();
|
||||
|
||||
/**
|
||||
* Add an <code>ON UPDATE RESTRICT</code> clause to the
|
||||
* <code>FOREIGN KEY</code> constraint.
|
||||
*/
|
||||
@Support
|
||||
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE })
|
||||
ConstraintFinalStep onUpdateRestrict();
|
||||
|
||||
/**
|
||||
* Add an <code>ON UPDATE CASCADE</code> clause to the
|
||||
* <code>FOREIGN KEY</code> constraint.
|
||||
*/
|
||||
@Support
|
||||
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE })
|
||||
ConstraintFinalStep onUpdateCascade();
|
||||
|
||||
/**
|
||||
* Add an <code>ON UPDATE SET NULL</code> clause to the
|
||||
* <code>FOREIGN KEY</code> constraint.
|
||||
*/
|
||||
@Support
|
||||
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE })
|
||||
ConstraintFinalStep onUpdateSetNull();
|
||||
|
||||
/**
|
||||
* Add an <code>ON UPDATE SET DEFAULT</code> clause to the
|
||||
* <code>FOREIGN KEY</code> constraint.
|
||||
*/
|
||||
@Support
|
||||
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE })
|
||||
ConstraintFinalStep onUpdateSetDefault();
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user