cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Menard <>
Subject Re: Faulting nested relationships
Date Tue, 11 Dec 2007 22:16:46 GMT
I have done precisely what you were saying and realize that the relationship
is read-only.  I just thought it would reflect the latest state of the
graph.  Moreover, I'd have thought RefreshQuery would have done the trick.

I'm beginning to think this may be a caching problem in the ROP client.
I'll have to play with the server classes to really tell.


On 12/11/07 4:12 PM, "Michael Gentry" <> wrote:

> My mistake -- I thought you had hand-written a cover method in your
> getShipments() method.
> Is the following what might be causing your problem?
> "Most of flattened relationships are treated as read-only by Cayenne.
> Only one (the most commonly used) type is read/write. It is
> many-to-many (n:m) flattened relationships with a single join table."
> Did you do an order.getShipments() and then add a shipment and then do
> order.getShipments() again?
> Thanks,
> /dev/mrg

View raw message