When reading records from a Postgres table containing a column of ENUM type, I see a "Not supported by dialect" warning message. In the log below, the enum column is called "TYPE_ENUM" and the JOOQ-generated Java Enum is TypeEnum. *[o.j.i.MetaDataFieldProvider] : Not supported by dialect : Type TYPE_ENUM is not supported in dialect POSTGRES <-- seen in logs* I am however able to read the Enum value that comes through as a org.postgresql.util.PGobject as follows: Field<TypeEnum> typeField = Tables.XYZ.TypeEnum; Object typeObject = record.getValue(typeField.getName()); String typeString = typeObject.toString(); TypeEnum type = TypeEnum.valueOf(typeString);
Since I can read this fine, why is there a warning from JOOQ? Is my way of using Enums incorrect? How can this warning be eliminated? Thanks. -- You received this message because you are subscribed to the Google Groups "jOOQ User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
