"Using getQuery().addHint(...)" this saved my day! Thanks a lot for the quick and awesome response and feedback and help! :).
Like Jooq day by day more and more :). Am Montag, 12. November 2012 16:53:22 UTC+1 schrieb Lukas Eder: > > Hello, > > > This is what is not working in my case in the code because I don't have > the > > SelectFromStep anymore :). > > An unsafe way to solve this is to cast your "too-far-advanced" Step > class to SelectFromStep. This might not work in the future, though. > > > Is it possible to add it afterwards when fetching the select statement > to > > get called by a render mechanism to add this later on? > > Yes. At any time, you can access the DSL API's underlying "classic" > SelectQuery object. An example is given here: > > http://www.jooq.org/doc/2.6/manual/sql-building/sql-statements/dsl-and-non-dsl/#N106B7 > > > Using getQuery().addHint(...), you can then modify the query being > created. See the relevant Javadoc here: > > http://www.jooq.org/javadoc/latest/org/jooq/SelectQuery.html#addHint(java.lang.String) > > > > P.S. I've been so far very happy with Jooq and the functionality, > looking > > forward for upcomming releases and features :). > > Yes, me too! I'm curious how type-safe row value expressions will be > adopted by the community > > Cheers > Lukas >
