testcontainers / testcontainers-jooq-codegen-maven-plugin

jOOQ code generator using Testcontainers
Apache License 2.0
49 stars 10 forks source link

Add support for generic converter #41

Open eralmansouri opened 4 months ago

eralmansouri commented 4 months ago

Currently if I try to use

<forcedType>
    <userType>org.eralmansouri.form.FormDefinition</userType>
    <genericConverter>true</genericConverter>
    <converter>org.eralmansouri.jooq.JacksonConverter</converter>
    <includeExpression>FORM\.DEFINITION</includeExpression>
</forcedType>

I get the error "Cannot find 'genericConverter' in class org.jooq.meta.jaxb.ForcedType". The generic converter configuration option was implemented in 3.19.0 or later (source).

Updating the jooq dependency version to 3.19.8 resolved the issue and the code is correctly generated with the new configuration.