[jOOQ/jOOQ#18033] Provide access to AbstractQualifiedRecord methods too
This commit is contained in:
parent
9df44ed64c
commit
fe95af2308
@ -90,6 +90,7 @@ import org.jooq.Insert;
|
||||
import org.jooq.InsertQuery;
|
||||
// ...
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Row;
|
||||
import org.jooq.SQLDialect;
|
||||
import org.jooq.StoreQuery;
|
||||
import org.jooq.Table;
|
||||
@ -128,6 +129,21 @@ implements
|
||||
super(table);
|
||||
}
|
||||
|
||||
// [#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 /* non-final */ Row fieldsRow() {
|
||||
return super.fieldsRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public /* non-final */ Row valuesRow() {
|
||||
return super.valuesRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public final Table<R> getTable() {
|
||||
return (Table<R>) getQualifier();
|
||||
|
||||
@ -37,9 +37,12 @@
|
||||
*/
|
||||
package org.jooq.impl;
|
||||
|
||||
import org.jooq.Row;
|
||||
import org.jooq.UDT;
|
||||
import org.jooq.UDTRecord;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
/**
|
||||
* A record implementation for a record originating from a single UDT
|
||||
* <p>
|
||||
@ -63,4 +66,19 @@ public class UDTRecordImpl<R extends UDTRecord<R>> extends AbstractQualifiedReco
|
||||
public String toString() {
|
||||
return DSL.using(configuration()).renderInlined(DSL.inline(this));
|
||||
}
|
||||
|
||||
// [#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 /* non-final */ Row fieldsRow() {
|
||||
return super.fieldsRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public /* non-final */ Row valuesRow() {
|
||||
return super.valuesRow();
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user