public class ExecuteStoredProcedure extends VoidOperation
long | INT |
integer | INT |
short | INT |
byte | INT |
double | FLOAT |
float | FLOAT |
String | NVARCHAR |
boolean | INT - 1 for true, 0 for false |
Date | DATETIME2 |
Calendar | DATETIME2 |
Constructor and Description |
---|
ExecuteStoredProcedure(String name,
String dataSource,
List<Serializable> parameters)
Creates a new instance of ExecuteStoredProcedure that executes the given stored procedure on the
database given by the data-source with the given parameters.
|
ExecuteStoredProcedure(String name,
String dataSource,
Serializable... parameters)
Creates a new instance of ExecuteStoredProcedure that executes the given stored procedure on the
database given by the data-source with the given parameters.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
protected void |
voidInvoke()
Invokes this void operation.
|
afterInvoke, getResult, invoke
beforeInvoke, beforeInvoke, getClientToken, mapEcmException, mapException
toArrayList, toCaseInsensitiveMap, toHashMap
public ExecuteStoredProcedure(String name, String dataSource, List<Serializable> parameters)
name
- The name of the procedure to executedataSource
- The name of the data-source on whose database the procedure will be executedparameters
- The parameters given to the stored procedure.
For type-mapping see ExecuteStoredProcedure
public ExecuteStoredProcedure(String name, String dataSource, Serializable... parameters)
name
- The name of the procedure to executedataSource
- The name of the data-source on whose database the procedure will be executedparameters
- The parameters given to the stored procedure.
For type-mapping see ExecuteStoredProcedure
protected void voidInvoke() throws Exception
VoidOperation
voidInvoke
in class VoidOperation
Exception
- exception when invoking this operationpublic String toString()
toString
in class com.lexmark.saperion.remote.common.operations.AbstractOperation<com.lexmark.saperion.remote.common.operations.Void,SaBasicException,LegacyConnection>
Copyright © 2020 Hyland Software Germany GmbH. All rights reserved.