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>

Reply via email to