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

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

public class LegacyInsertCommand
extends SQLCommand

Questa Classe rappresenta un comando SQL di INSERT 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
LegacyInsertCommand(DataConnection dataConnection, java.lang.String commandString)
          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
 
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

LegacyInsertCommand

public LegacyInsertCommand(DataConnection dataConnection,
                           java.lang.String commandString)
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