Hi Lukas, On Thu, Jan 21, 2016 at 3:17 PM, Lukas Eder <[email protected]> wrote: > Ideally, though, you would be writing a data type Binding > (http://www.jooq.org/doc/latest/manual/sql-building/queryparts/custom-bindings/), > and associate that with your CDR_IDENTIFIERS.EFFECTIVE column. You could > then move the rs.getObject(index, TIMESTAMPTZ.class) call into the binding, > and it would work for all references of the EFFECTIVE column. > > have you tried that?
Is that something different to the code from the gist that I linked to earlier in the thread? For note I'm using this in my generator config: <customType> <name>OffsetDateTime</name> <type>java.time.OffsetDateTime</type> <binding>com.acme.bindings.OffsetBinding</binding> <converter>com.acme.bindings.OffsetConverter</converter> </customType> Or did you mean something different? Ben -- 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.
