From b2322bfcb1c386fed646eff6b58eda17effb72ed Mon Sep 17 00:00:00 2001 From: lukaseder Date: Wed, 7 Oct 2015 18:34:38 +0200 Subject: [PATCH] [#4614] Wrong data type reported on org.jooq.Meta by dialect of a family with multiple dialects --- jOOQ/src/main/java/org/jooq/impl/MetaImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jOOQ/src/main/java/org/jooq/impl/MetaImpl.java b/jOOQ/src/main/java/org/jooq/impl/MetaImpl.java index 6249821d63..2186660c44 100644 --- a/jOOQ/src/main/java/org/jooq/impl/MetaImpl.java +++ b/jOOQ/src/main/java/org/jooq/impl/MetaImpl.java @@ -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);