Hi,

Is there a way to implement custom types with arrays?

If I use Postgres and have a table like this:

CREATE TABLE ice_cream_cup (
  ...
  flavors TEXT[],
  ...
);

where the value of "flavors" is not an enumeration but some description 
that my system shouldn't (have to) know too much about.

So far, my tests have been unsuccessful:
- the generator ignores my forced type (I tried with "Flavor", "Flavor[]" 
or "[LFlavor;").
- auto-conversions from String cannot be provided (unless I can register a 
converter with a forced type)

I think I am going to work-around the difficulty for now by providing 
properties of type String[] in my POJO, but perhaps there is another way 
(or I made a mistake during my tests).

Thanks for the help.
Philippe

-- 
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/groups/opt_out.


Reply via email to