db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Fischer <fisc...@seitenbau.net>
Subject RE: Update not working
Date Tue, 05 Jun 2007 13:37:53 GMT
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 <chet0264@yahoo.com> 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: torque-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-dev-help@db.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message