Note that I am able to do what I need to do. It is just that the system of
generic types is not being managed by the compiler. It is still relying on
me, the stupid user, to not make a mistake.
I'm getting by with this code, and that will be fine for me:
Table values = DSL.values(rows).as("userInput", "name", "a", "b");
Field<String> name = values.getFieldByName(String.class, "userInput", "name"
);
Field<Integer> a = values.getFieldByName(Integer.class, "userInput", "a");
Field<Integer> b = values.getFieldByName(Integer.class, "userInput", "b");
--
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.