diff --git a/jOOQ/src/main/java/org/jooq/impl/JoinTable.java b/jOOQ/src/main/java/org/jooq/impl/JoinTable.java index e475ddb96a..1b2e8653bf 100755 --- a/jOOQ/src/main/java/org/jooq/impl/JoinTable.java +++ b/jOOQ/src/main/java/org/jooq/impl/JoinTable.java @@ -544,6 +544,11 @@ implements @Override public final Class getRecordType() { + + // [#10183] The RHS does not contribute to the projection in these cases + if (type == LEFT_SEMI_JOIN || type == LEFT_ANTI_JOIN) + return lhs.getRecordType(); + // TODO: [#4695] Calculate the correct Record[B] type return RecordImplN.class; }