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.



-- e

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
groupuser @
postedJan 17, '07 at 12:09a
activeJan 17, '07 at 12:09a

1 user in discussion

Edward pedersson: 1 post



site design / logo © 2022 Grokbase