Hi,
I am looking for a way to fetch data with eager fetch but not all just conditional, lets say I have 3 table department, employee and address table with below relationship
one department has many employee
one employee has many address with date stayed range.
now I want fetching department, only issue I am getting its fetching all the address of employee but I want for last one year.
any way to do this.
Thanks
Prashant Saraf
I am looking for a way to fetch data with eager fetch but not all just conditional, lets say I have 3 table department, employee and address table with below relationship
one department has many employee
one employee has many address with date stayed range.
now I want fetching department, only issue I am getting its fetching all the address of employee but I want for last one year.
any way to do this.
Thanks
Prashant Saraf