Hello,
I want to create a dynamic list of columns for a *dsl.select(...)*. Collection<? extends SelectField<?>> l1 = Arrays.asList(TR.ID, TR.BARCODE); Collection<? extends SelectField<?>> l2 = Arrays.asList(TR.CUSTOMER_PAYMENT, TR.CREATED_AT)); Collection<? extends SelectField<?>> c = new ArrayList<>(); c.addAll(l1); // COMPILE ERROR !! c.addAll(l2); // COMPILE ERROR !! // dsl.select(c); *The compile error is :* incompatible types: java.util.Collection<capture#1 of ? extends org.jooq.SelectField<?>> cannot be converted to java.util.Collection<? extends capture#2 of ? extends org.jooq.SelectField<?>> *What is the correct typing ?* Regards, Ronan. -- 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.
