db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Auinger, Thomas" <Thomas.Auin...@wincor-nixdorf.com>
Subject deleteAll / delete entire table content
Date Wed, 04 Jun 2003 08:49:10 GMT
Probably a rather simple question, but I couldn't find an 
answer in the archive:

I thought I could implement a doDeleteAll method by simply 
writing:

    public class ItemPeer {

        public static void doDeleteAll() throws TorqueException
        {
          Criteria crit = new Criteria();
          doDelete(crit);
        }

        ...
    }

But doesn't work, since there is no 'tables' item in the 
resulting Criteria object (that's what I found out debugging).

Any ideas? Thanks!

Thomas

Mime
View raw message