Hello, There are currently limitations around this area, as can be seen in the relevant issue here: https://github.com/jOOQ/jOOQ/issues/3266
The workaround is to use semi joins (i.e. IN or EXISTS predicates) instead. I hope this helps, Lukas On Tue, Mar 24, 2020 at 11:08 AM Odata Dev <[email protected]> wrote: > Hi, > > how to convert the following query to JOOQ ??? > > delete a from region a inner join region b > on a.role_id = b.role_id and a.region_id = b.region_id > where a.user_id = from_user_id and b.user_id = to_user_id; > > Thanks > > -- > 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/38597b8f-7405-481f-8743-c7e964ff0c52%40googlegroups.com > <https://groups.google.com/d/msgid/jooq-user/38597b8f-7405-481f-8743-c7e964ff0c52%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/CAB4ELO4q0P3njqTXedEn4e3SbrbLG_23JWcTJQtJSqf6-AYAMQ%40mail.gmail.com.
