2015-09-14 16:02 GMT+02:00 jdoe <[email protected]>: > Thanks for the response! > I was hoping that I could use some magic annotation for my field ;) Any > plans regarding that? >
Annotations don't fit the jOOQ database model very well. Besides, an annotation would still reference a Converter or a Binding type, so you wouldn't gain anything compared to the current model. > But another pair of setter/getter seems to be acceptable workaround for my > case. > I'm not sure if I understood you correctly. The idea is that you register your Converter / Binding in the source code generator for a set of columns. Setters / Getters will then automatically use your custom type and the data type conversion will happen transparently... Let me know if you have any questions regarding the code generation configuration. Best, 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.
