javatools.db
Class DbReferencedInserter

java.lang.Object
  |
  +--javatools.db.DbInserter
        |
        +--javatools.db.DbReferencedInserter

public class DbReferencedInserter
extends DbInserter

It is just like a DbInserter, except on the fact it takes care of constraints.


Method Summary
 int execute()
          Execute this command on the default connection.
 
Methods inherited from class javatools.db.DbInserter
addColumn, execute, setLists, setSqlValues
 
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.

Overrides:
execute in class DbInserter
Returns:
The number of record affected.
Throws:
DbException - If something goes wrong, for example father keys not found.