Hi Mario, Thanks for your message. Would you mind posting the CREATE TABLE and CREATE TYPE statements relevant to looking into this?
Thanks, Lukas 2018-03-21 21:06 GMT+01:00 Mario Daniel Ruiz Saavedra < [email protected]>: > Hello, I'm trying to bind some PostgreSQL enums to my customs enums, but > when I have column whose type is an array of enum in my table, it does not > translate to an array of my type. My binding is something like this > > <forcedType> > <userType>my.domain.AuthenticationType</userType> > <converter>my.domain.AuthTypeEnumConverter</converter> > <types>(authentication_type|AUTHENTICATION_TYPE)</types> > </forcedType> > > > I get a Table object with the following column definition : > > > public final TableField<OauthClientDetailsRecord, AuthenticationType[]> > OCD_AUTHORIZED_GRANT_TYPES = createField("ocd_authorized_grant_types", > org.jooq.impl.SQLDataType.VARCHAR.asEnumDataType(my.domain.persistence.jooq.enums.AuthenticationType.class).getArrayDataType(), > this, ""); > > > -- > 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/d/optout. > -- 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/d/optout.
