db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Burschik <bursc...@lotto-berlin.de>
Subject Problem updating a table without a primary key
Date Thu, 20 Jan 2005 11:12:52 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I attempted to update entries in a table without a primary key while
using torque 3.0 and mysql 4.0.17. I tried

object.save()
ObjectPeer.doUpdate( object ), and
ObjectPeer.doUpdate( criteria )

but none of these attempts even resulted in an update event in the
database log, nor in any java application log. As soon as I added a
primary key to the table, object.save() began working as expected.

Is this a bug, or am I missing something obvious?

Regards

Michael Burschik
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFB75I0UCrJuMAOsMARAs5pAJ9OpTomB6755kthJkgZCT8JPUOUuACcCEmt
7nppamabDSlY7yheMmbr11w=
=YIM3
-----END PGP SIGNATURE-----


---------------------------------------------------------------------
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