org.omus.db
Class DbWriter

java.lang.Object
  |
  +--org.omus.db.DbTransactionPart
        |
        +--org.omus.db.DbWriter
All Implemented Interfaces:
java.io.Serializable

public class DbWriter
extends DbTransactionPart

Represents a DELETE, UPDATE or INSERT statement to be executed on the server.

See Also:
Serialized Form

Constructor Summary
DbWriter(java.lang.String configID)
          Creates a new DbWriter object.
DbWriter(java.lang.String configID, java.lang.String resultID)
          Creates a new DbWriter object.
 
Methods inherited from class org.omus.db.DbTransactionPart
setAllParams, setParam, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DbWriter

public DbWriter(java.lang.String configID)
Creates a new DbWriter object. The specified configID must match a configID attribute in a node in dbCustom.xml.

DbWriter

public DbWriter(java.lang.String configID,
                java.lang.String resultID)
Creates a new DbWriter object. The specified configID must match a configID attribute in a node in dbCustom.xml. The specified resultID can be used to check the number of affected rows in the DbResult object.