diff --git a/jOOQ-meta/src/main/java/org/jooq/util/AbstractTypedElementDefinition.java b/jOOQ-meta/src/main/java/org/jooq/util/AbstractTypedElementDefinition.java index 10c4cab0c6..9d23d5a48b 100644 --- a/jOOQ-meta/src/main/java/org/jooq/util/AbstractTypedElementDefinition.java +++ b/jOOQ-meta/src/main/java/org/jooq/util/AbstractTypedElementDefinition.java @@ -155,7 +155,10 @@ abstract class AbstractTypedElementDefinition ? customType.getType() : customType.getName(); - if (Boolean.TRUE.equals(customType.isEnumConverter())) { + // [#5877] [#6567] EnumConverters profit from simplified configuration + if (Boolean.TRUE.equals(customType.isEnumConverter()) || + EnumConverter.class.getName().equals(customType.getConverter())) { + String tType = DefaultDataType .getDataType(db.getDialect(), definedType.getType(), definedType.getPrecision(), definedType.getScale()) .getType()