Hi all,

I would like to define a param() to be lately set with a collection of 
integers to be used in an in() condition, something like

query.where(
  DATA_INSTRUMENT.CLASS.in(param("instrumentTypes"))
)


and later


List<Integer> instrumentTypes = ...

query.bind("instrumentTypes", instrumentTypes)


This does not work since Param is a Field, and JOOQ thinks I'm binding just one 
field value of type List<Integer> and fails on trying to convert it.

I couldn't find the right way to do this.


Any help is appreciated, thank you.


Massimo


-- 
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.

Reply via email to