Hi Renato,
The purpose of retrieve is to load instances according to the current
fetch plan. But changed values are not overwritten by retrieve.
If you want to overwrite values, then you should use refresh, which is
intended explicitly to overwrite changes.
Best regards,
Craig
On Dec 14, 2009, at 5:27 AM, Renato Garcia wrote:
Hi,
Does a call to retrieve on a Persistent-dirty object should load
it's fields? According to the spec, the status should remain
unchanged, but I could not find anything regarding the actual load
of the fields.
Tks for the clarification.
Renato
Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:craig.russ...@sun.com
P.S. A good JDO? O, Gasp!