[jOOQ/jOOQ#13069] Finish support for <rowConvenienceToOne/> in Java
This commit is contained in:
parent
7040ad22f2
commit
b7401aaaa7
@ -3754,7 +3754,7 @@ public class DefaultBinding<T, U> implements Binding<T, U> {
|
||||
return pgNewRecord(ctx, dataType.getType(), (AbstractRow<Record>) dataType.getRow(), ctx.resultSet().getObject(ctx.index()));
|
||||
|
||||
default:
|
||||
if (dataType.isUDT())
|
||||
if (UDTRecord.class.isAssignableFrom(dataType.getType()))
|
||||
return localExecuteContext(ctx.executeContext(), () -> (Record) ctx.resultSet().getObject(ctx.index(), typeMap(dataType.getType(), ctx)));
|
||||
else
|
||||
return readMultiset(ctx, dataType);
|
||||
|
||||
@ -91,7 +91,7 @@ final class RowAsField<ROW extends Row, REC extends Record> extends AbstractRowA
|
||||
final ROW row;
|
||||
|
||||
RowAsField(ROW row) {
|
||||
this(row, DSL.name("row"));
|
||||
this(row, DSL.name("r"));
|
||||
}
|
||||
|
||||
RowAsField(ROW row, Name as) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user