Hi Experts,
I have a situation where i have two entities namely Event and Employee.
The Event entity has a ManyToOne relation with the Employee.
For a given Date, there is a single record of event for an employee.
Now, when i use employee.getEvents() , the list will be enormous .
Say after 5 year will have 5*365 records for an employee.
Is there anyway, i can establish a bounded relationship between employee and event.
I need to load only the records starting from today until the next one month .
Thanks