| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.ziclix.python.sql.Procedure
Class Procedure
| Field Summary | |
| static PyObject | PLACEHOLDERField PLACEHOLDER | 
| 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. | 
|  java.sql.CallableStatement | prepareCall()Prepares the statement and registers the OUT/INOUT parameters (if any). | 
|  java.lang.String | toSql()Returns the call in the syntax: {? | 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
public static final PyObject PLACEHOLDER
| Constructor Detail | 
public Procedure(PyCursor cursor,
                 PyObject name)
          throws java.sql.SQLException
java.sql.SQLException| Method Detail | 
public java.sql.CallableStatement prepareCall()
                                       throws java.sql.SQLException
java.sql.SQLException
public void normalizeInput(PyObject params,
                           PyObject bindings)
                    throws java.sql.SQLException
params - a non-None list of paramsbindings - a dictionary of bindings
java.sql.SQLException
public boolean isInput(int index)
                throws java.sql.SQLException
index - JDBC indexed column index (1, 2, ...)
java.sql.SQLException
public java.lang.String toSql()
                       throws java.sql.SQLException
java.sql.SQLException| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||