com.ziclix.python.sql
public class Procedure extends Object
Version: $Revision: 2542 $
Constructor Summary | |
---|---|
Procedure(PyCursor cursor, PyObject name)
Constructor Procedure
|
Method Summary | |
---|---|
boolean | isInput(int index)
This method determines whether the param at the specified index is an
IN or INOUT param for a stored procedure. |
void | normalizeInput(PyObject params, PyObject bindings)
Prepare the binding dictionary with the correct datatypes.
|
CallableStatement | prepareCall()
Prepares the statement and registers the OUT/INOUT parameters (if any).
|
CallableStatement | prepareCall(PyObject rsType, PyObject rsConcur)
Prepares the statement and registers the OUT/INOUT parameters (if any).
|
String | toSql()
Returns the call in the syntax:
{? |
Parameters: cursor cursor an open cursor name name a string or tuple representing the name
Throws: SQLException
Parameters: index JDBC indexed column index (1, 2, ...)
Returns: true if the column is an input, false otherwise
Throws: SQLException
Parameters: params a non-None list of params bindings a dictionary of bindings
Returns: CallableStatement
Throws: SQLException
Parameters: rsType the value of to be created ResultSet type rsConcur the value of the to be created ResultSet concurrency
Returns: CallableStatement
Throws: SQLException
Returns: String