[#4614] Wrong data type reported on org.jooq.Meta by dialect of a family with multiple dialects

This commit is contained in:
lukaseder 2015-10-07 18:34:38 +02:00
parent 5f371fa7b2
commit b2322bfcb1

View File

@ -625,7 +625,7 @@ class MetaImpl implements Meta, Serializable {
// TODO: Exception handling should be moved inside SQLDataType
DataType<?> type = null;
try {
type = DefaultDataType.getDataType(configuration.dialect(), typeName, precision, scale);
type = DefaultDataType.getDataType(configuration.family(), typeName, precision, scale);
// JDBC doesn't distinguish between precision and length
type = type.precision(precision, scale);