javatools.db
Class DbReferencedDeleter

java.lang.Object
  |
  +--javatools.db.DbDeleter
        |
        +--javatools.db.DbReferencedDeleter

public class DbReferencedDeleter
extends DbDeleter

It is just a DbDeleter, except in the fact it takes care of constraints.


Method Summary
 int execute()
          Execute this command on the default connection.
 
Methods inherited from class javatools.db.DbDeleter
execute, setWhere
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

execute

public int execute()
            throws DbException
Execute this command on the default connection. Eventually cascades its effects through the table's constraint.

Overrides:
execute in class DbDeleter
Returns:
The number of record affected.
Throws:
DbException - If something goes wrong.