I want to execute one query having joins with the tables related to different DSLCONTEXT which are related to different databases.Below is the example of what I am trying to do :
DSLContext ctx1;
DSLContext ctx2;
Val findDetails= ctx1.select(table1(**from ctx1**). innerjoin(table2)(**from ctx2**).on(table2.column.eq(table1.column)).asTable();
While executing the above query getting table2 doesn't exist.
I am expecting to use something like ctx2. Table2 inside the query.