Arch4J 1.1

org.arch4j.dataaccess.common
Class StatementQuery

java.lang.Object
  |
  +--org.arch4j.dataaccess.common.StatementQuery
All Implemented Interfaces:
Query

public class StatementQuery
extends Object
implements Query

This class holds on to a SQL and a list of parameters This class is a wrapper for The

Version:
1.0
Author:
Vibhu Srinivasan

Constructor Summary
StatementQuery(String sql)
           
StatementQuery(String sql, List parameters)
          This constructor would build the SQL and susbstiture the ? from the list
 
Method Summary
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StatementQuery

public StatementQuery(String sql,
                      List parameters)
This constructor would build the SQL and susbstiture the ? from the list


StatementQuery

public StatementQuery(String sql)
Method Detail

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()

Arch4J 1.1

Copyright © 2000-2004 SpiderLogic, a service of Wipfli Ullrich Bertelson LLP.