org.omus.db
Class DbReader

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

public class DbReader
extends DbTransactionPart

Represents a SELECT statement to be executed on the server.

See Also:
Serialized Form

Constructor Summary
DbReader(java.lang.String configID)
          Creates a new DbReader object.
DbReader(java.lang.String configID, java.lang.String resultID)
          Creates a new DbReader 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

DbReader

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

DbReader

public DbReader(java.lang.String configID,
                java.lang.String resultID)
Creates a new DbReader object. The specified configID must match a configID attribute in a <dbReader> node in dbCustom.xml. The specified resultID can be used to read values from the DbResult object.