From 439e60c558ad0f12f2f0ef46c552113ed5d2eeac Mon Sep 17 00:00:00 2001 From: Lukas Eder Date: Wed, 15 Jun 2022 15:41:18 +0200 Subject: [PATCH] [jOOQ/jOOQ#9879] Skip some tests in Derby Derby's MERGE support is not powerful enough to implement client side computed columns this way. We'll keep this limitation as a known issue for now. --- .../java/org/jooq/impl/InsertQueryImpl.java | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/jOOQ/src/main/java/org/jooq/impl/InsertQueryImpl.java b/jOOQ/src/main/java/org/jooq/impl/InsertQueryImpl.java index 41499e4300..29db49f31f 100644 --- a/jOOQ/src/main/java/org/jooq/impl/InsertQueryImpl.java +++ b/jOOQ/src/main/java/org/jooq/impl/InsertQueryImpl.java @@ -148,24 +148,24 @@ implements UNotYetImplemented { - private static final Clause[] CLAUSES = { INSERT }; - private static final Set SUPPORT_INSERT_IGNORE = SQLDialect.supportedBy(MARIADB, MYSQL); - private static final Set SUPPORTS_OPTIONAL_DO_UPDATE_CONFLICT_TARGETS = SQLDialect.supportedBy(SQLITE); - private static final Set NO_SUPPORT_DERIVED_COLUMN_LIST_IN_MERGE_USING = SQLDialect.supportedBy(DERBY, H2); - private static final Set NO_SUPPORT_SUBQUERY_IN_MERGE_USING = SQLDialect.supportedBy(DERBY); - static final Set REQUIRE_NEW_MYSQL_EXCLUDED_EMULATION = SQLDialect.supportedBy(MYSQL); + static final Clause[] CLAUSES = { INSERT }; + static final Set SUPPORT_INSERT_IGNORE = SQLDialect.supportedBy(MARIADB, MYSQL); + static final Set SUPPORTS_OPTIONAL_DO_UPDATE_CONFLICT_TARGETS = SQLDialect.supportedBy(SQLITE); + static final Set NO_SUPPORT_DERIVED_COLUMN_LIST_IN_MERGE_USING = SQLDialect.supportedBy(DERBY, H2); + static final Set NO_SUPPORT_SUBQUERY_IN_MERGE_USING = SQLDialect.supportedBy(DERBY); + static final Set REQUIRE_NEW_MYSQL_EXCLUDED_EMULATION = SQLDialect.supportedBy(MYSQL); - final FieldMapForUpdate updateMap; - final FieldMapsForInsert insertMaps; - Select select; - boolean defaultValues; - boolean onDuplicateKeyUpdate; - boolean onDuplicateKeyIgnore; - Constraint onConstraint; - UniqueKey onConstraintUniqueKey; - QueryPartList> onConflict; - final ConditionProviderImpl onConflictWhere; - final ConditionProviderImpl condition; + final FieldMapForUpdate updateMap; + final FieldMapsForInsert insertMaps; + Select select; + boolean defaultValues; + boolean onDuplicateKeyUpdate; + boolean onDuplicateKeyIgnore; + Constraint onConstraint; + UniqueKey onConstraintUniqueKey; + QueryPartList> onConflict; + final ConditionProviderImpl onConflictWhere; + final ConditionProviderImpl condition; InsertQueryImpl(Configuration configuration, WithImpl with, Table into) { super(configuration, with, into);