db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kostyantyn Shchekotykhin <kos...@ifit.uni-klu.ac.at>
Subject Re: torque delete
Date Wed, 24 Mar 2004 17:09:03 GMT
Hi Sheng,
KeyDef means primary key. It says to you that the primary key of the table was not found and
Torque is unable to 
identify records to delete. If you'll poste some details, i'll try to help you more.

Regards,
Kostya

Sheng Guo wrote:

> Hi,
> 
> I am a new user of Torque, and I tried to delete some records from a 
> relation table ( which holds the n:m relation of the other two tables), 
> but it failed,
> 
> the exception said:
> 
> org.apache.torque.TorqueException: You must specify KeyDef attributes 
> for this TableDataSet in order to delete a Record.
> 
> what does it mean, and how can I specify KeyDef attributes?
> 
> Thanks
> 
> Guo
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-user-help@db.apache.org
> 

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


Mime
View raw message