|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spago.dbaccess.sql.SQLCommand
it.eng.spago.dbaccess.sql.command.std.StoredProcedureCommand
Questa Classe rappresenta un comando SQL di CALL
Field Summary | |
protected java.util.List |
inputParametersPositions
|
protected java.util.List |
outputParametersPositions
|
Fields inherited from class it.eng.spago.dbaccess.sql.SQLCommand |
_closed, _commandString, _dataConnection, _inputParameter, _stmt, _tracer |
Constructor Summary | |
StoredProcedureCommand(DataConnection dataConnection,
java.lang.String commandString)
Costruttore |
Method Summary | |
DataResult |
execute()
Questo metodo server per eseguire il comnado senza parametri |
DataResult |
execute(boolean scroll)
|
DataResult |
execute(java.util.List parameters)
Questo metodo serve per eseguire il comando con dei parametri di input |
DataResult |
execute(java.util.List parameters,
boolean scroll)
|
void |
setAsInputParameters(int position)
Questo metodo serve per informare il comando che tra i parametri passati in un'esecuzione con parametri, il parametro della posizione specificata è un parametro di input |
void |
setAsOutputParameters(int position)
Questo metodo serve per informare il comando che tra i parametri passati in un'esecuzione con parametri, il parametro della posizione specificata è un parametro di output |
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 |
Field Detail |
protected java.util.List outputParametersPositions
protected java.util.List inputParametersPositions
Constructor Detail |
public StoredProcedureCommand(DataConnection dataConnection, java.lang.String commandString)
Method Detail |
public DataResult execute() throws EMFInternalError
execute
in class SQLCommand
EMFInternalError
- - Se si verifica qualche problema durante l'esecuzione del comando
EMFInternalError
public DataResult execute(boolean scroll) throws EMFInternalError
EMFInternalError
public DataResult execute(java.util.List parameters) throws EMFInternalError
execute
in class SQLCommand
EMFInternalError
- - Se si verifica qualche problema durante l'esecuzione del comando
EMFInternalError
public DataResult execute(java.util.List parameters, boolean scroll) throws EMFInternalError
EMFInternalError
public void setAsInputParameters(int position)
public void setAsOutputParameters(int position)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |