db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JDigg...@genelogic.com
Subject Deleting by pk
Date Wed, 11 Dec 2002 02:10:57 GMT

So ... I've read the threads in the archives but to make sure ... is the
only way to delete an object by using it's Peer.doDelete() method and
passing a Criteria object that specifies the primary key? This means that
even join tables now have to have primary keys of their own ... and that I
have to constantly look up primary keys using normal Criteria objects, form
Lists and iterate over them doDelete()'ing on each one. Or am I missing
something obvious?

Please say yes. :)
-j



Mime
View raw message