update is known not to work if your table has no primary key. This might be
the cause of your problem.

It is encouraged very strongly to use primary keys for all your tables.

   Regards,

      Thomas
croniccoder <[EMAIL PROTECTED]> schrieb am 05.06.2007 15:22:47:

>
> I am trying to update a value in my database, and am using the code
below.
> But it doesn't update and I have absolutely NO reason why this isn't
> working. The database it's updating has a primary key. I am getting an
> instance of the database entry, then trying to update it with a new
figure.
>
> num.setValue(myString);
> num.save();
>
> --
> View this message in context: http://www.nabble.com/Update-not-working-
> tf3871748.html#a10969340
> Sent from the Apache DB - Torque Dev mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


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

Reply via email to