[jOOQ/jOOQ#8596] Add MySQL support for onConflictOnConstraint()

Add `MYSQL` to `@Support` annotation on
`InsertOnDuplicateStep#onConflictOnConstraint()`, since this is
consistent with `InsertQuery#onConflictOnConstraint()` and supported for
the `doNothing()` step.
This commit is contained in:
Knut Wannheden 2019-08-09 16:21:39 +02:00
parent 928124a5cf
commit a103670197

View File

@ -97,13 +97,13 @@ public interface InsertOnDuplicateStep<R extends Record> extends InsertReturning
/**
* Add a <code>ON CONFLICT ON CONSTRAINT</code> clause to this INSERT statement.
*/
@Support({ CUBRID, DERBY, FIREBIRD, HSQLDB, POSTGRES })
@Support({ CUBRID, DERBY, FIREBIRD, HSQLDB, MYSQL, POSTGRES })
InsertOnConflictDoUpdateStep<R> onConflictOnConstraint(Constraint constraint);
/**
* Add a <code>ON CONFLICT ON CONSTRAINT</code> clause to this INSERT statement.
*/
@Support({ CUBRID, DERBY, FIREBIRD, HSQLDB, POSTGRES })
@Support({ CUBRID, DERBY, FIREBIRD, HSQLDB, MYSQL, POSTGRES })
InsertOnConflictDoUpdateStep<R> onConflictOnConstraint(Name constraint);
/**