persistent.delete() ?

"Vince Bono" <[email protected]> Mon, 23 Aug 2004 10:02:04 -0400
Newsgroups gmane.comp.java.keel.user
Message-ID <[email protected]>
I have a question with persists.delete()
I have a table - myTable
id1, id2, field1, field2 ... fieldn

The  id fields are not unique.
I want to delete all rows where   id1=val1 and id2=val2
if I set
p.setField("id1", id1);
p.setField("id2", id2);
p.delete();       // will generate the command      DELETE FROM myTable;
and delete all records
p.deleteAll();    //  will not generate any  "DELETE" command

prefixing with p.query()  doesnt appear to work either
any suggestions ?

Thanks,

-- 
Vince