cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "edward pedersson" <cpsmadn...@googlemail.com>
Subject possible but with refresh objects in modeler
Date Wed, 17 Jan 2007 00:08:43 GMT
Hi

I have a named query in the model and I have set it to refresh objects. In
addition I have a relationship (from a persistent obejct) that returns more
or less the same objects but less efficiently. When I run the application
and get the objects via the relationship and then modify then everything
works just fine. If I then try to fetch the objects using the named query
whilst they are still in their modified state then all the oneToOne
relationships are nullified during the force merge and as a result the
object does not reflect the snapshot or the modified objects properties.

I'm I doing something wrong here?

I have turned of the refreshing as I don't need it and it works just fine
but it seems odd that everything gets nullified.

Regards

-- 


-- e

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message