I discovered there has been a patch for this problem, but obviously it has not been implemented into T2.2b3. Is somebody out there who can can send me the patched BasePeer.class to replace org.apache.torque.util.BasePeer ?
I'd appreciate. TIA. Marc > -----Urspr�ngliche Nachricht----- > Von: Marc Lustig [mailto:mail@;marclustig.com] > Gesendet: Freitag, 18. Oktober 2002 15:14 > An: [EMAIL PROTECTED] > Betreff: error with doDelete: "KeyDef" > > > Hi, > > when I try a MyPeer.doDelete(c) on a table that has no primary key, but > contains only two foreign keys, I get > > ... org.apache.torque.TorqueException: You must specify KeyDef attributes > for this TableDataSet in order to delete a Record. at > org.apache.torque.util.BasePeer.doDelete(BasePeer.java:563) ... > > > What is this KeyDef all about? > Do I need something more to implement to my Peer classes in order > to delete > rows from tables that don't have a primary key? > Or what is the most simple way to get around this error message? > > TIA. > Marc > > > -- > To unsubscribe, e-mail: > <mailto:turbine-user-unsubscribe@;jakarta.apache.org> > For additional commands, e-mail: > <mailto:turbine-user-help@;jakarta.apache.org> > -- To unsubscribe, e-mail: <mailto:turbine-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:turbine-user-help@;jakarta.apache.org>
