Hi Simon,

Did you re-generate the code with jOOQ 3.18, as well as clean build your
code? Could be a binary compatibility issue of an internal API change
leaking through the generated classes into your code.

On Tue, Apr 4, 2023 at 2:21 PM Simon Martinelli <[email protected]>
wrote:

> Hi,
>
> After migrating to 3.18 I get a strange compilation error:
>
>
> C:\Users\simon\Workspace\Dynasoft\tosca-ui\tosca-standard\src\main\java\ch\tosca\ui\module\basis\M750.java:369:66
> java: no suitable method found for on(org.jooq.Condition)
>     method org.jooq.impl.JoinTable.on(org.jooq.Condition) is not applicable
>       (org.jooq.impl.JoinTable.on(org.jooq.Condition) is defined in an
> inaccessible class or interface)
>     method org.jooq.impl.JoinTable.on(org.jooq.Condition...) is not
> applicable
>       (org.jooq.impl.JoinTable.on(org.jooq.Condition...) is defined in an
> inaccessible class or interface)
>     method org.jooq.impl.JoinTable.on(org.jooq.Field<java.lang.Boolean>)
> is not applicable
>       (org.jooq.impl.JoinTable.on(org.jooq.Field<java.lang.Boolean>) is
> defined in an inaccessible class or interface)
>     method org.jooq.impl.JoinTable.on(org.jooq.SQL) is not applicable
>       (argument mismatch; org.jooq.Condition cannot be converted to
> org.jooq.SQL)
>     method org.jooq.impl.JoinTable.on(java.lang.String) is not applicable
>       (argument mismatch; org.jooq.Condition cannot be converted to
> java.lang.String)
>     method
> org.jooq.impl.JoinTable.on(java.lang.String,java.lang.Object...) is not
> applicable
>       (argument mismatch; org.jooq.Condition cannot be converted to
> java.lang.String)
>     method
> org.jooq.impl.JoinTable.on(java.lang.String,org.jooq.QueryPart...) is not
> applicable
>       (argument mismatch; org.jooq.Condition cannot be converted to
> java.lang.String)
>
> The code looks like
>
> dsl()
> .select(appl.BEZKURZ)
> .from(mt.join(appl, JoinType.LEFT_OUTER_JOIN).on(appl.APPL.eq(mt.APPL)))
> .where(mt.MODULNAME.equal(modulname))
> .fetchOne().value1();
>
> Any idea?
>
> --
> 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].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jooq-user/fad95885-8f95-4be8-920a-5be1186e5145n%40googlegroups.com
> <https://groups.google.com/d/msgid/jooq-user/fad95885-8f95-4be8-920a-5be1186e5145n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jooq-user/CAB4ELO4gddssA1O1__FqZENZn50LLyWpr1A3muvTeUiyaDe26g%40mail.gmail.com.

Reply via email to