|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StoredProcEngine
An abstraction over stored procedure execution depending on the type of the language supported.
Method Summary | |
---|---|
java.lang.String |
getSPLangId()
Returns the unique identifier of the supported stored procedure language. |
java.lang.Object |
invokeProcedure(CoreSession session,
java.lang.String fullSPName,
java.lang.Object[] spArgs)
Invokes the stored procedure handled by the engine. |
void |
setSPUnitEntry(ServerEntry spUnit)
Registers an entry found to be contaning a stored procedure unit which this engine can operate on. |
Method Detail |
---|
java.lang.String getSPLangId()
void setSPUnitEntry(ServerEntry spUnit)
This method should be called before an attempt to invoke a stored procedure via this Engine.
java.lang.Object invokeProcedure(CoreSession session, java.lang.String fullSPName, java.lang.Object[] spArgs) throws java.lang.Exception
fullSPName
- A fully qualified name of the stored procedure including its unit name.spArgs
- A list or arguments to be passed to the stored procedure. It should be an empty array if there aren't any parameters defined.
NamingException
- If an error occurs during invocation.
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |