Hello
I have a query which could give multiple values of a single col of long 
type (BIGINT). I would like to Resulting value which will be one or more 
longs as is in a .in condition as given below. The JOOQ snippet is as given 
below, but the second query results in zero results. First query is 
returning proper values.


Result<Record1<Long>> *Col1Vals* = 
jooq.select(Table1.Col1).from(Table1).where(criteria).fetch();
            
 if(storeIDs.isNotEmpty())
 {  
       ResultSet details = jooq.select().from(Table2).where(Table2.Col2.in(
*Col1Vals*)).fetch().intoResultSet();
 }

Any thoughts ?
Thanks
Prem

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