From 3582e1a8ccc447d464d6788be2b6cf431c818898 Mon Sep 17 00:00:00 2001 From: Lukas Eder Date: Mon, 4 Apr 2022 11:53:48 +0200 Subject: [PATCH] [jOOQ/jOOQ#13326] Added more specific error message Trivial UPDATE .. FROM to MERGE transformations (FROM ) are available in all editions. Only when there are derived tables, etc. in the FROM clause, then we need commercial SQL transformation capabilities. --- jOOQ/src/main/java/org/jooq/impl/UpdateQueryImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jOOQ/src/main/java/org/jooq/impl/UpdateQueryImpl.java b/jOOQ/src/main/java/org/jooq/impl/UpdateQueryImpl.java index 67d09e9a3a..50d907bc79 100644 --- a/jOOQ/src/main/java/org/jooq/impl/UpdateQueryImpl.java +++ b/jOOQ/src/main/java/org/jooq/impl/UpdateQueryImpl.java @@ -578,7 +578,7 @@ implements else s = select().from(from).orderBy(orderBy).limit(limit).asTable("s"); - if (patchSource && ctx.configuration().requireCommercial(() -> "The UPDATE .. FROM to MERGE transformation requires commercial only logic. Please upgrade to the jOOQ Professional Edition or jOOQ Enterprise Edition")) { + if (patchSource && ctx.configuration().requireCommercial(() -> "The UPDATE .. FROM to MERGE transformation requires commercial only logic for non-trivial FROM clauses. Please upgrade to the jOOQ Professional Edition or jOOQ Enterprise Edition")) {