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.