[jOOQ/jOOQ#11812] Will fix the generics later �
This commit is contained in:
parent
fc97b32a09
commit
2bfb1d7be5
@ -306,7 +306,7 @@ final class R2DBC {
|
||||
// TODO: This call is duplicated from CursorImpl and related classes.
|
||||
// Refactor this call to make sure code is re-used, especially when
|
||||
// ExecuteListener lifecycle management is implemented
|
||||
RecordDelegate<? extends AbstractRecord> delegate = Tools.newRecord(true, (Supplier<? extends AbstractRecord>) recordFactory(query.getRecordType(), Tools.row0(fields)), query.configuration());
|
||||
RecordDelegate<? extends AbstractRecord> delegate = Tools.newRecord(true, recordFactory((Class<AbstractRecord>) query.getRecordType(), (AbstractRow<AbstractRecord>) Tools.row0(fields)), query.configuration());
|
||||
|
||||
return (R) delegate.operate(record -> {
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user