You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Marc Lustig <ma...@marclustig.com> on 2002/10/18 15:40:12 UTC
Patch for BasePeer.doDelete
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: turbine-user@jakarta.apache.org
> 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:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>