So....my question is, is it always necessary to retrieve a record
before doing save() in order to make it update a record which
already exists?  If so, would I do something like:

No. Your could do the following.


User user = new User();
data.getParameters().setProperties(user); // much easier
user.setNew(false);
user.save(); // save()
UserPeer.doUpdate(user); // or use the peer

Try that.

Eric


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to