> On Tue, Sep 13, 2022 at 11:07 AM Gordan Krešić <
gordan...@steatoda.com <mailto:
gordan...@steatoda.com>> wrote:
>
> Is it possible to use jOOQ's org.jooq.impl.EnumConverter for converting columns representing arrays of enum UDTs? If it makes any difference, database is PostgreSQL.
>
> Currently, I'm using forcedType declarations for converting columns of any enum type (snippet from Gradle config):
>
> forcedType {
> types = '(my_enum|MY_ENUM)'
> userType = 'com.foo.MyEnum'
> enumConverter = true
> }
>
> This works, as expected.
>
> However, if I try to do the same with arrays (note the underscore - standard PostgreSQL prefix for arrays of certain type):
>
> forcedType {
> types = '_(my_enum|MY_ENUM)'
> userType = 'com.foo.MyEnum'
> enumConverter = true
> }
>
> In this case, jOOQ code generator produces code that doesn't compile.
>
> Could org.jooq.ArrayConverter be configured somehow?
>
> --
> 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
> To unsubscribe from this group and stop receiving emails from it, send an email to