[jOOQ/jOOQ#15732] It's just an OSS edition problem o_O

This commit is contained in:
Lukas Eder 2024-03-28 08:10:05 +01:00
parent 67f4a83d71
commit 8d123981aa

View File

@ -4415,19 +4415,16 @@ public class DefaultBinding<T, U> implements Binding<T, U> {
case NATIVE:
return apply(
nativePatch.apply(ctx.resultSet().getObject(ctx.index())),
(List<?> l) -> readMultisetList(ctx, row, recordType, l)
l -> readMultisetList(ctx, row, recordType, l)
);
}
throw new UnsupportedOperationException("Multiset emulation not yet supported: " + emulation);
}
static <R extends Record> Result<R> readMultisetList(Scope ctx, AbstractRow<R> row, Class<R> recordType, List<?> l) throws SQLException {
return new ListHandler<>(ctx.dsl(), row, recordType).read(l);
}
static final <R extends Record> Result<R> readMultisetXML(Scope ctx, AbstractRow<R> row, Class<R> recordType, String s) {
if (s.startsWith("<"))