db-jdo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig L Russell <Craig.Russ...@Sun.COM>
Subject Re: Persistent-dirty retrieve
Date Mon, 14 Dec 2009 17:50:10 GMT
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,


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.Russell@sun.com
P.S. A good JDO? O, Gasp!

View raw message