Modultosca mt = MODULTOSCA.as("mt");
Applikation appl = APPLIKATION.as("app");
String packagename = repository().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();

I'm using temurin-17.0.6


------ Originalnachricht ------
Von "Lukas Eder" <[email protected]>
An [email protected]
Datum 04.04.2023 15:07:05
Betreff Re: Re[2]: Problem with JOIN after migration to 3.18

I'll have to investigate. I guess the key here is this message:

(org.jooq.impl.JoinTable.on(org.jooq.Condition) is defined in an inaccessible class or interface)

Some visibility problem.

What's the exact JDK version you're using? How did you declare mt?

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

The code is generated with 3.18.2 and the app uses the same version.


Any idea?

Thanks, Simon

------ Originalnachricht ------
Von "Lukas Eder" <[email protected]>
An [email protected]
Datum 04.04.2023 14:26:56
Betreff Re: Problem with JOIN after migration to 3.18

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 <https://groups.google.com/d/msgid/jooq-user/CAB4ELO4gddssA1O1__FqZENZn50LLyWpr1A3muvTeUiyaDe26g%40mail.gmail.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/emeffcdf2e-f7ca-48ce-aca4-f1f5b95d8aba%4057e2486b.com <https://groups.google.com/d/msgid/jooq-user/emeffcdf2e-f7ca-48ce-aca4-f1f5b95d8aba%4057e2486b.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to a topic in the Google Groups "jOOQ User Group" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/jooq-user/5FqhYFHMhow/unsubscribe. To unsubscribe from this group and all its topics, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jooq-user/CAB4ELO4KWBu%3D_kX1TbwCPvE3_81GX3JrnAuA5MsBJkwZAeixGQ%40mail.gmail.com <https://groups.google.com/d/msgid/jooq-user/CAB4ELO4KWBu%3D_kX1TbwCPvE3_81GX3JrnAuA5MsBJkwZAeixGQ%40mail.gmail.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/em083dfa67-db75-46e9-8e63-427d806c6ecd%4057e2486b.com.

Reply via email to