Hi,

           I want to create dynamic query which join multiple tables.The 
tables to be joined will be in Collections(ArrayList) and i dint know in 
advance.

           So While creating query i dint know how much join will be 
there.Depends on the size of ArrayList how can I write query which join all 
the tables.

           Thanks in advance.

//For example

myArrayList = {tableA,tableB,tableC}

so my query should be like 


 create.select()
       .from(table1)
       .join(table2)

       .join(table3)   

       .execute();

Reply via email to