[jOOQ/jOOQ#13029] Fix regression
This commit is contained in:
parent
842988c989
commit
14db133b38
@ -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(')');
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user