public interface ILContainer
ILProcedure
Modifier and Type | Method and Description |
---|---|
java.sql.Connection |
getDB2Connection()
Gets the DB2 connection currently assigned to this ILContainer.
|
int |
invokeProcedure(ILProcedure proc)
Invokes the specified procedure inside this ILContainer.
|
void |
setDB2Connection(java.sql.Connection db2Connection)
Sets the DB2 connection to be shared with procedures
invoked inside of this ILContainer.
|
java.sql.Connection getDB2Connection()
void setDB2Connection(java.sql.Connection db2Connection)
db2Connection
- specifies the DB2 connection to share.int invokeProcedure(ILProcedure proc) throws ILContainerException, ILProcedureException
proc
- specifies the procedure to invoke.ILContainerException
- thrown if the target procedure cannot
be loaded or for an internal failure of this ILContainer.ILProcedureException
- thrown if target procedure encounters an error