When having queries like this, for the inner query, should I use DSL or the dslContext that I have?
return dslContext
.insertInto(TABLE_FOO)
.select(
dslContext // vs DSL here
.select(
...
.from(TABLE_BAR))
.execute();
From my research, I understand that DSL
is JOOQ's entrypoint to express SQL without being in the context of a connection. In the above example, is it safe to use DSL instead of a dslContext object?