[jOOQ/jOOQ#18033] Scala 3.5 problem when calling AbstractTable::getIdentity from generated code
This commit is contained in:
parent
eae83f24da
commit
1a9e7b431f
@ -75,6 +75,7 @@ import org.jooq.DDLQuery;
|
||||
import org.jooq.DataType;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Identity;
|
||||
import org.jooq.InverseForeignKey;
|
||||
import org.jooq.JoinType;
|
||||
import org.jooq.Name;
|
||||
@ -405,12 +406,21 @@ implements
|
||||
return fields;
|
||||
}
|
||||
|
||||
// [#8489] this override is necessary due to a Scala compiler bug (versions 2.10 and 2.11)
|
||||
// [#8489] [#18033] [#12180] these overrides are necessary due to a Scala compiler bug (versions 2.10, 2.11, 3.5, 3.6)
|
||||
// See:
|
||||
// - https://github.com/scala/bug/issues/7936
|
||||
// - https://github.com/scala/scala3/issues/22628
|
||||
|
||||
@Override
|
||||
public Row fieldsRow() {
|
||||
return super.fieldsRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Identity<R, ?> getIdentity() {
|
||||
return super.getIdentity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public final Clause[] clauses(Context<?> ctx) {
|
||||
return alias != null ? CLAUSES_TABLE_ALIAS : CLAUSES_TABLE_REFERENCE;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user