Hi there, You can use an org.jooq.Converter for simple cases where you just need to map between String and YourType, or an org.jooq.Binding for more advanced cases, where your type needs to be treated specially at the JDBC interface. See also:
- http://www.jooq.org/doc/latest/manual/code-generation/custom-data-types - http://www.jooq.org/doc/latest/manual/code-generation/custom-data-type-bindings Hope this helps, Lukas 2015-09-14 13:08 GMT+02:00 jdoe <[email protected]>: > Hello! > > I have a varchar field in a DB that is mapped to a String property. > In fact this string is actually contains few numbers separated by the > comma. > What's the most *reusable way* to treat this field as a > List<Integer/Long> property? > > -- > 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. > -- 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.
