2014-03-22 5:05 GMT+01:00 Ben Hood <0x6e6...@gmail.com>:

> Hey Lukas,
>
> Sorry about the latency of my response.
>

No worries at all :-)


> This is very interesting from a factoring perspective, since I've
> always found aliasing quite brittle, and my original post alludes to
> the fact that this brittleness has come back to bite me.
>

Yes, aliasing is really a sore spot in the SQL language. In fact, not in
the language per se, but in those (most) dialects that do not support
derived column lists.

I think I'll redesign my SQL generation libraries to better leverage
> QueryPart ASTs.


It would be interesting to see an experience report regarding this matter.
I've recently learned that doing SQL QueryPart composition for complex
dynamic SQL construction isn't perfectly easy - not because of API flaws,
but because of the sheer magnitude of options the jOOQ API offers:
http://stackoverflow.com/q/22505745/521799

It would be great to assemble some guidelines how to implement highly
reusable QueryPart composition across a complex application... What do you
think?

Cheers
Lukas

-- 
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 jooq-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to