Loading a list from a database using eclipselink jpa

I have three tables in a derby database. Schedule, EmployeeSchedule, EmployeeScheduleInfo. The schedule has an EmployeeSchedule list, and EmployeeSchedule has an EmployeeScheduleInfo list.

I am using eclipselink jpa and I created my objects and controllers from netbeans. My problem is that when I load the Schedule object from the database, the list of EmployeeScheduleInfo objects in all EmployeeSchedule objects does not load, when I debug it, I see

{IndirectList: not instantiated}
+3
source share
1 answer

1: M ManyToMany JPA. , - () , . , "fetch join" JPQL EclipseLink eclipselink.join-fetch: http://wiki.eclipse.org/Using_EclipseLink_JPA_Extensions_(ELUG)#Join_Fetch

+3

All Articles