> -----Ursprungliche Nachricht-----
> Von: Scott Eade [mailto:[EMAIL PROTECTED]]
> Gesendet: Mittwoch, 15. Januar 2003 12:37
> An: Turbine Torque Users List
> Betreff: Re: how to use Peer.doUpdate(object)
>
>
> I suspect the problem is that the peer thinks it is a new record
> rather than
> an update.
>
> Try going:
>
>     object.setNew(false);
>     object.setModified(true);

In one case that helps in another not.
Also, if I do this:
Projekt projekt = new Projekt();
projekt.setPrimaryKey(new NumberKey(itemId));
projekt.setNew(false);

then projekt.getProjektParaDescId();

is NOT returning the value that is in the corresponding row!
How on earth is it possible to simply retrieve the value of an existing row?
This is so much of a simple task!

Torque continues to drive me crazy sometimes as very simple tasks simply
don't appear to work intuitively at all.

Marc


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

Reply via email to