posted 13 years ago
Dear All,
Database table structure is as -
Please take a look at code which works fine -
I can see output of line #1 with list of 2 employees,
But somehow persistence provider do not initialize Employee.officeBranches , so the 'empsOfficeBranches'
on line #2 get initialized to null.
What is the problem with the above code? Why Employee.officeBranches does not get initialized
with list of OfficeBranch after en.refresh(ob) method call on line #0.
Thanks
Regards, Sharmila.
We will have a future if we save Nature!