On 12/03/2011 20:32, Kevin Meyer - KMZ wrote:

but I noticed something strange when using the dnd viewer eg

Class A one->many Class B
Class B one->many Class C

If I traverse to Class A from a repository, then traverse to Class B,
Class B shows an empty list for Class C. I'm guessing this has to do with
lazy loading? I've found that loading Class B before Class A solves this
problem for me.
Thanks for raising this.. I thought I tried something like this a long time
ago - or it may have had to do with changes in one instance
propagating to other open views of the same object - but the problems
I had occurred only when my classes did not extend (sub-class?)
DomainObjectContainer (if memory serves).

Can you confirm which, if any, of your Class A / B / C extend
DomainObjectContainer?

quick correction: I think you mean AbstractDomainObject, not DomainObjectContainer? Not that it helps you any...

Dan



Reply via email to