public interface StoredProcedureResource extends Resource
StoredProcedureResource
interface provides the ability to call a database stored procedure.
Modifier and Type | Method and Description |
---|---|
void |
exec()
Invokes the stored procedure or function specified by the Stored Procedure Resource.
|
getElementName, getElementType
void exec() throws com.ebasetech.xi.exceptions.FormRuntimeException
Any in parameters in the resource are replaced with values from mapped form fields prior to calling the stored procedure. Any mapped form fields for out parameters in the resource are replaced with values from the stored procedure after it is called.
com.ebasetech.xi.exceptions.FormRuntimeException
- if any error occurs during execution, including a SQL error