com.ebasetech.xi.api
Interface StoredProcedureResource

All Superinterfaces:
Element, Resource, java.io.Serializable

public interface StoredProcedureResource
extends Resource

The StoredProcedureResource interface provides the ability to call a database stored procedure.

Further documentation.

Since:
V4.4

Method Summary
 void exec()
          Invokes the stored procedure or function specified by the Stored Procedure Resource.
 
Methods inherited from interface com.ebasetech.xi.api.Resource
isDebug, setDebug
 
Methods inherited from interface com.ebasetech.xi.api.Element
getElementName, getElementType
 

Method Detail

exec

void exec()
          throws com.ebasetech.xi.exceptions.FormRuntimeException
Invokes 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.

Further documentation.

Throws:
com.ebasetech.xi.exceptions.FormRuntimeException - if any error occurs during execution, including a SQL error
Since:
V4.4