On Thu, Dec 31, 2015 at 9:14 AM, Lukas Eder <[email protected]> wrote:
> Yes, the thread will become a bit confusing, but I'm curious about your
> feedback anyway. Perhaps start a new thread? I think we still have some
> spare threads left on Google Groups ;-)
OK, I've done this.
> If I understand this correctly, we're still discussing the workaround that
> you implemented and that you'd like to improve. But what is the *use-case*?
> What are you trying to achieve and why doesn't it work right now?
The use case and workaround is described in the thread titled "Oracle
TIMESTAMP in UTC".
>> (b) When I generate field references for complex queries at runtime,
>> that the DSL.field() call can be aware of my custom type - this is
>> another instance where the immutable type map leads to bogus SQL being
>> generated at runtime.
>
>
> You can. Write DSL.field("...",
> SQLDataType.VARCHAR.asConvertedDataType(bindingOrConverter))
>
> I'm sensing that we'll spawn off another discussion here about (b), that is
> about improving this API...? (as it isn't really related to the code
> generator)
I wasn't aware of the asConvertedDataType(..) API - I'll have to check
this out (and maybe report back in a separate thread).
--
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].
For more options, visit https://groups.google.com/d/optout.