RE: Execute query not called
First two datasource contains Ticket(ISV customization) information,
3rd, 4th contains Contract information (ISV customization),
5th datasource contains a check field(NoYes) and linked with 4th datasource.
So a ticket is linked with 2 contracts, first has check Yes in 5th datasource and other contract has check No.
So the user is just selecting a check box to see the desired records.
That's the whole scenario.
I found 2 work arounds:
1. I am able to get the desired records if I call executeQuery via code from parent datasources.
2. I am also able to get the same desired records if I change the joinMode of 5th datasource to Exists join and add its range in the executeQuery of first datasource before super().
But still I am confused why the executeQuery not called by default. The relations between these datasource are defined at table level.