it.eng.spago.dbaccess.sql.command.std
Class SelectCommand

java.lang.Object
  extended byit.eng.spago.dbaccess.sql.SQLCommand
      extended byit.eng.spago.dbaccess.sql.command.std.SelectCommand

public class SelectCommand
extends SQLCommand

Questa Classe rappresenta un comando SQL di SELECT per driver jdbc 2.0 o superiori


Field Summary
 
Fields inherited from class it.eng.spago.dbaccess.sql.SQLCommand
_closed, _commandString, _dataConnection, _inputParameter, _stmt, _tracer
 
Constructor Summary
SelectCommand(DataConnection dataConnection, java.lang.String commandString, boolean scroll)
          Costruttore
 
Method Summary
 DataResult execute()
          Questo metodo server per eseguire il comnado senza parametri
 DataResult execute(java.util.List inputParameters)
          Questo comando serve per eseguire il comando con dei parametri di input
 
Methods inherited from class it.eng.spago.dbaccess.sql.SQLCommand
close, closeInternal, getDataConnection, getInternalConnection, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectCommand

public SelectCommand(DataConnection dataConnection,
                     java.lang.String commandString,
                     boolean scroll)
Costruttore

Method Detail

execute

public DataResult execute()
                   throws EMFInternalError
Questo metodo server per eseguire il comnado senza parametri

Specified by:
execute in class SQLCommand
Returns:
un oggetto di tipo DataResult contente il risultato dell'esecuzione del comando
Throws:
EMFInternalError - - Se si verifica qualche problema durante l'esecuzione del comando
EMFInternalError

execute

public DataResult execute(java.util.List inputParameters)
                   throws EMFInternalError
Questo comando serve per eseguire il comando con dei parametri di input

Specified by:
execute in class SQLCommand
Returns:
un oggetto di tipo DataResult contente il risultato dell'esecuzione del comando
Throws:
EMFInternalError - - Se si verifica qualche problema durante l'esecuzione del comando
EMFInternalError