[jOOQ/jOOQ#10809] Dialect specific data type is reported from Meta, instead of SQLDataType

This commit is contained in:
Lukas Eder 2020-10-29 09:19:53 +01:00
parent ffc0311f67
commit 9c40012337

View File

@ -870,6 +870,7 @@ final class MetaImpl extends AbstractMeta {
DataType type = null;
try {
type = DefaultDataType.getDataType(family(), typeName, precision, scale);
type = type.getSQLDataType();
// JDBC doesn't distinguish between precision and length
if (type.hasPrecision() && type.hasScale())