Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javatools.db
Class DbReferencedInserter  view DbReferencedInserter download DbReferencedInserter.java

java.lang.Object
  extended byjavatools.db.DbInserter
      extended byjavatools.db.DbReferencedInserter

public class DbReferencedInserter
extends DbInserter

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

Version:
0.2.0

Field Summary
 
Fields inherited from class javatools.db.DbInserter
fromList, intoList, selector, table
 
Constructor Summary
(package private) DbReferencedInserter(DbAbstractTable table)
          Creates new DbReferencedInserter
(package private) DbReferencedInserter(DbAbstractTable table, DbSelector selector)
          Creates new DbReferencedInserter
 
Method Summary
 int execute()
          Execute this command on the default connection.
 
Methods inherited from class javatools.db.DbInserter
addColumn, execute, getQueryString, getValuesQueryString, setLists, setSqlValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DbReferencedInserter

DbReferencedInserter(DbAbstractTable table,
                     DbSelector selector)
Creates new DbReferencedInserter


DbReferencedInserter

DbReferencedInserter(DbAbstractTable table)
Creates new DbReferencedInserter

Method Detail

execute

public int execute()
            throws DbException
Execute this command on the default connection.

Overrides:
execute in class DbInserter