diff --git a/jOOQ/src/main/java/org/jooq/InsertOnConflictConditionStep.java b/jOOQ/src/main/java/org/jooq/InsertOnConflictConditionStep.java index abbf540089..327c6a2d27 100644 --- a/jOOQ/src/main/java/org/jooq/InsertOnConflictConditionStep.java +++ b/jOOQ/src/main/java/org/jooq/InsertOnConflictConditionStep.java @@ -77,7 +77,7 @@ import org.jooq.impl.DSL; * * @author Lukas Eder */ -public interface InsertOnConflictConditionStep extends InsertFinalStep { +public interface InsertOnConflictConditionStep extends InsertReturningStep { /** * Combine the currently assembled conditions with another one using the diff --git a/jOOQ/src/main/java/org/jooq/InsertOnConflictWhereStep.java b/jOOQ/src/main/java/org/jooq/InsertOnConflictWhereStep.java index 8629c6e6b8..034f15c9bf 100644 --- a/jOOQ/src/main/java/org/jooq/InsertOnConflictWhereStep.java +++ b/jOOQ/src/main/java/org/jooq/InsertOnConflictWhereStep.java @@ -90,27 +90,27 @@ public interface InsertOnConflictWhereStep extends InsertRetur * other with {@link Operator#AND}. */ @Support({ CUBRID, DERBY, POSTGRES_9_5 }) - InsertReturningStep where(Condition condition); + InsertOnConflictConditionStep where(Condition condition); /** * Add a WHERE clause to the query, connecting them with each * other with {@link Operator#AND}. */ @Support({ CUBRID, DERBY, POSTGRES_9_5 }) - InsertReturningStep where(Condition... conditions); + InsertOnConflictConditionStep where(Condition... conditions); /** * Add a WHERE clause to the query, connecting them with each * other with {@link Operator#AND}. */ @Support({ CUBRID, DERBY, POSTGRES_9_5 }) - InsertReturningStep where(Collection conditions); + InsertOnConflictConditionStep where(Collection conditions); /** * Add a WHERE clause to the query. */ @Support({ CUBRID, DERBY, POSTGRES_9_5 }) - InsertReturningStep where(Field field); + InsertOnConflictConditionStep where(Field field); /** * Add a WHERE clause to the query. @@ -125,7 +125,7 @@ public interface InsertOnConflictWhereStep extends InsertRetur */ @Support({ CUBRID, DERBY, POSTGRES_9_5 }) @PlainSQL - InsertReturningStep where(SQL sql); + InsertOnConflictConditionStep where(SQL sql); /** * Add a WHERE clause to the query. @@ -140,7 +140,7 @@ public interface InsertOnConflictWhereStep extends InsertRetur */ @Support({ CUBRID, DERBY, POSTGRES_9_5 }) @PlainSQL - InsertReturningStep where(String sql); + InsertOnConflictConditionStep where(String sql); /** * Add a WHERE clause to the query. @@ -156,7 +156,7 @@ public interface InsertOnConflictWhereStep extends InsertRetur */ @Support({ CUBRID, DERBY, POSTGRES_9_5 }) @PlainSQL - InsertReturningStep where(String sql, Object... bindings); + InsertOnConflictConditionStep where(String sql, Object... bindings); /** * Add a WHERE clause to the query. @@ -172,17 +172,17 @@ public interface InsertOnConflictWhereStep extends InsertRetur */ @Support({ CUBRID, DERBY, POSTGRES_9_5 }) @PlainSQL - InsertReturningStep where(String sql, QueryPart... parts); + InsertOnConflictConditionStep where(String sql, QueryPart... parts); /** * Add a WHERE EXISTS clause to the query. */ @Support({ CUBRID, DERBY, POSTGRES_9_5 }) - InsertReturningStep whereExists(Select select); + InsertOnConflictConditionStep whereExists(Select select); /** * Add a WHERE NOT EXISTS clause to the query. */ @Support({ CUBRID, DERBY, POSTGRES_9_5 }) - InsertReturningStep whereNotExists(Select select); + InsertOnConflictConditionStep whereNotExists(Select select); }