We are trying to use a hierarchical approach with DataServices but
are having trouble with our nested VO collections. The data is
getting properly saved to the database (via Hibernate) but the data
pushing is not happening once we get more than one level deep in the
collections. Here is an example:
Company contains a collection of Departments -> added Departments get
pushed properly to the clients as expected.
Department contains a collection of Employees -> added Employees
get recorded in the database BUT DONT get pushed to clients
Employee contains a collection of Schedules-> added
Schedules get recorded in the database BUT DONT get pushed to the
clients.
Currently there is only one destination for Companies which then (as
I understand it) should manage it's child collections. As you can
see the management seems to be working OK, but not the data pushing
once we get more than one level deep in the collections.
Is there something that we may be missing here in our setup or
assumptions? Any ideas would help as we are on a tight schedule to
finish this part of the app before the Thanksgiving break
(tomorrow!!) If you need to see our code let me know and I will paste
some. Of course, I am assuming that there must be a way to get data
pushing to work with deeply nested collections.
Thanks!
- Kevin