Hello Eric,

Thanks for reporting this. This is a new issue. The workaround is to
disable foreign key navigation methods using the following flag:
<navigationMethods>true</navigationMethods>

The flag is documented here:
http://www.jooq.org/manual/META/AdvancedConfiguration/

What database are you using? Can you provide me with the minimal DDL to
reproduce this issue? I'm guessing that ORDERS is a table whose primary key
is referenced by two other tables?

Cheers
Lukas

2012/4/3 ericjs <[email protected]>

> One of the classes jooq 2.1.0 generated (via jooq-codegen-maven 2.1.0)
> contained the same exact method twice, resulting in the compile error:
>
> [ERROR] \...\target\generated-sources\jooq\org\jooq\util\maven\example
> \tables\records\OrdersRecord.java:[100,83] error: fetchOrderItemList()
> is already defined in OrdersRecord
>
> Is this a known thing? Is there a workaround?
>
> Thanks,
>
> Eric
>

Reply via email to