2015-02-26 10:19 GMT+01:00 Facundo Farias <[email protected]>:

> Yeah, sorry for the spam :/
>

No problem at all. It's good for future readers to find cross-links that
eventually lead to the right place.


> I do have one more question: What about if I want to used without code
> generation!? Where should I register the bindings?
>

This is a good question. I realise that we'll need some documentation about
that... I have registered an issue for this:
https://github.com/jOOQ/jOOQ/issues/4099

Essentially, you can use the same API as jOOQ does, internally, to create a
DataType that references a Binding:
http://www.jooq.org/javadoc/latest/org/jooq/DataType.html#asConvertedDataType-org.jooq.Binding-

That DataType can then be used to construct new Fields, e.g. via:
http://www.jooq.org/javadoc/latest/org/jooq/impl/DSL.html#field-java.lang.String-org.jooq.DataType-

Let me know if this helps
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to