it.eng.spago.dbaccess.sql.command.legacy
Class LegacySelectCommand

java.lang.Object
  extended byit.eng.spago.dbaccess.sql.SQLCommand
      extended byit.eng.spago.dbaccess.sql.command.legacy.LegacySelectCommand

public class LegacySelectCommand
extends SQLCommand

Questa Classe rappresenta un comando SQL di SELECT per driver jdbc 1.0


Field Summary
 
Fields inherited from class it.eng.spago.dbaccess.sql.SQLCommand
_closed, _commandString, _dataConnection, _inputParameter, _stmt, _tracer
 
Constructor Summary
LegacySelectCommand(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 metodo serve per eseguire il comando con dei parametri di input
 boolean isScrollable()
           
 
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

LegacySelectCommand

public LegacySelectCommand(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 metodo 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

isScrollable

public boolean isScrollable()
Returns:
Returns the _scroll.