Package com.ebasetech.xi.api
Interface StoredProcedureResource
public interface StoredProcedureResource extends Resource
The
StoredProcedureResource
interface provides the ability to call a database stored procedure.
- Since:
- V4.4
-
Method Summary
Modifier and Type Method Description void
exec()
Invokes the stored procedure or function specified by the Stored Procedure Resource.Methods inherited from interface com.ebasetech.xi.api.Element
getElementName, getElementType
-
Method Details
-
exec
void exec() throws com.ebasetech.xi.exceptions.FormRuntimeExceptionInvokes the stored procedure or function specified by the Stored Procedure Resource.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.
- Throws:
com.ebasetech.xi.exceptions.FormRuntimeException
- if any error occurs during execution, including a SQL error- Since:
- V4.4
-