[#6117] DB2 doesn't support qualified column references in FOR UPDATE OF
This commit is contained in:
parent
b58865f53f
commit
fe9ce8a865
@ -577,7 +577,7 @@ final class SelectQueryImpl<R extends Record> extends AbstractResultQuery<R> imp
|
||||
|
||||
if (!forUpdateOf.isEmpty()) {
|
||||
|
||||
// [#4151] Some databases don't allow for qualifying column
|
||||
// [#4151] [#6117] Some databases don't allow for qualifying column
|
||||
// names here. Copy also to TableList
|
||||
boolean unqualified = asList(DERBY, FIREBIRD, H2, HSQLDB).contains(context.family());
|
||||
boolean qualify = context.qualify();
|
||||
|
||||
@ -36,6 +36,7 @@
|
||||
package org.jooq.impl;
|
||||
|
||||
import static java.util.Arrays.asList;
|
||||
// ...
|
||||
import static org.jooq.SQLDialect.DERBY;
|
||||
import static org.jooq.SQLDialect.FIREBIRD;
|
||||
import static org.jooq.SQLDialect.H2;
|
||||
@ -80,7 +81,7 @@ final class TableList extends QueryPartList<Table<?>> {
|
||||
final void toSQLFields(Context<?> ctx) {
|
||||
String separator = "";
|
||||
|
||||
// [#4151] Some databases don't allow for qualifying column
|
||||
// [#4151] [#6117] Some databases don't allow for qualifying column
|
||||
// names here. Copy also to SelectQueryImpl
|
||||
boolean unqualified = asList(DERBY, FIREBIRD, H2, HSQLDB).contains(ctx.family());
|
||||
boolean qualify = ctx.qualify();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user