This commit is contained in:
Lukas Eder 2022-02-09 14:43:19 +01:00
parent 842988c989
commit 14db133b38

View File

@ -55,6 +55,7 @@ import org.jooq.Name;
import org.jooq.Param;
// ...
import org.jooq.Record;
import org.jooq.SQLDialect;
import org.jooq.Table;
import org.jooq.TableOptions;
import org.jooq.UDTRecord;
@ -229,7 +230,7 @@ final class ArrayTable extends AbstractTable<Record> implements UNotYetImplement
if (array.getDataType().getType() == Object[].class)
ctx.sql(H2DataType.VARCHAR.getTypeName());
else
ctx.sql(array.getDataType().getTypeName());
ctx.sql(array.getDataType().getArrayComponentDataType().getTypeName(ctx.configuration()));
ctx.sql(" = ").visit(array).sql(')');
}