> Could it be possible to have same type of functionality for creating joins?

For joins, this might be a bit more complex. Not all join types
require an ON or USING clause (e.g. NATURAL JOIN, CROSS JOIN). I'll
have to think about this. Maybe the "Condition..." argument is
optional. I'll track this as #1844, due for jOOQ 2.6.0
https://github.com/jOOQ/jOOQ/issues/1844

Please tell me if you find any other parts from the DSL API that
should be rendered more dynamic.

Note, there is already a non-DSL "classic" API originating from the
early days of jOOQ. This is mentioned here:
http://www.jooq.org/doc/2.5/manual/sql-building/sql-statements/dsl-and-non-dsl/#N10674

Under the hood, every DSL query uses this "classic" API. In the case
of joins, this is already available here:
http://www.jooq.org/javadoc/latest/org/jooq/SelectQuery.html#addJoin(org.jooq.TableLike,%20org.jooq.JoinType,%20org.jooq.Condition...)

The SelectQuery object is available from every DSL Select step:
http://www.jooq.org/javadoc/latest/org/jooq/SelectFinalStep.html#getQuery()

> What is your schedule for v2.6?

I doubt I'll manage to release an official version before the end of
October. However, I release working SNAPSHOT versions from time to
time. They're available from here:
https://oss.sonatype.org/content/repositories/snapshots/org/jooq/

Cheers
Lukas

Reply via email to