[jOOQ/jOOQ#17452] Converter<byte[], U> for binary columns doesn't work from within MULTISET expressions
This commit is contained in:
parent
8a78105439
commit
2697190c02
@ -41,9 +41,9 @@ import static java.lang.Integer.parseInt;
|
||||
import static java.util.Arrays.asList;
|
||||
// ...
|
||||
// ...
|
||||
// ...
|
||||
import static org.jooq.SQLDialect.H2;
|
||||
import static org.jooq.SQLDialect.MARIADB;
|
||||
// ...
|
||||
import static org.jooq.SQLDialect.POSTGRES;
|
||||
// ...
|
||||
import static org.jooq.SQLDialect.SQLITE;
|
||||
@ -252,7 +252,7 @@ final class JSONReader<R extends Record> {
|
||||
|
||||
// [#8829] LoaderImpl expects binary data to be encoded in base64,
|
||||
// not according to org.jooq.tools.Convert
|
||||
if (field.getType() == byte[].class && record.get(i) instanceof String) {
|
||||
if (field.getDataType().isBinary() && record.get(i) instanceof String) {
|
||||
String s = (String) record.get(i);
|
||||
|
||||
if (multiset) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user