| Modifier and Type | Field and Description |
|---|---|
| protected static final int | COLUMN_TYPE
Field COLUMN_TYPE |
| protected PyObject | columns
Field columns |
| protected PyCursor | cursor
Field cursor |
| protected static final int | DATA_TYPE
Field DATA_TYPE |
| protected static final int | DATA_TYPE_NAME
Field DATA_TYPE_NAME |
| protected BitSet | inputSet
Field inputSet |
| protected static final int | LENGTH
Field LENGTH |
| protected static final int | NAME
Field NAME |
| protected static final int | NULLABLE
Field NULLABLE |
| protected static final int | PRECISION
Field PRECISION |
| protected PyObject | procedureCatalog
Field procedureCatalog |
| protected PyObject | procedureName
Field procedureName |
| protected PyObject | procedureSchema
Field procedureSchema |
| protected static final int | SCALE
Field SCALE |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| protected PyObject | |
| protected String | |
| public boolean | Returns: true if the column is an input, false otherwiseJDBC indexed column index (1, 2, ...) index)This method determines whether the param at the specified index is an IN or INOUT param for a stored procedure. |
| public void | normalizeInput(PyObject
a non-None list of params params, PyObject a dictionary of bindings bindings)Prepare the binding dictionary with the correct datatypes. |
| public CallableStatement | Returns: CallableStatementPrepares the statement and registers the OUT/INOUT parameters (if any). |
| public CallableStatement | Returns: CallableStatementthe value of to be created ResultSet type rsType, PyObject the value of the to be created ResultSet concurrency rsConcur)Prepares the statement and registers the OUT/INOUT parameters (if any). |
| protected void | registerOutParameters(CallableStatement
statement statement)Registers the OUT/INOUT parameters of the statement. |
| public String |
| COLUMN_TYPE | back to summary |
|---|---|
| protected static final int COLUMN_TYPE Field COLUMN_TYPE | |
| columns | back to summary |
|---|---|
| protected PyObject columns Field columns | |
| cursor | back to summary |
|---|---|
| protected PyCursor cursor Field cursor | |
| DATA_TYPE | back to summary |
|---|---|
| protected static final int DATA_TYPE Field DATA_TYPE | |
| DATA_TYPE_NAME | back to summary |
|---|---|
| protected static final int DATA_TYPE_NAME Field DATA_TYPE_NAME | |
| inputSet | back to summary |
|---|---|
| protected BitSet inputSet Field inputSet | |
| LENGTH | back to summary |
|---|---|
| protected static final int LENGTH Field LENGTH | |
| NAME | back to summary |
|---|---|
| protected static final int NAME Field NAME | |
| NULLABLE | back to summary |
|---|---|
| protected static final int NULLABLE Field NULLABLE | |
| PRECISION | back to summary |
|---|---|
| protected static final int PRECISION Field PRECISION | |
| procedureCatalog | back to summary |
|---|---|
| protected PyObject procedureCatalog Field procedureCatalog | |
| procedureName | back to summary |
|---|---|
| protected PyObject procedureName Field procedureName | |
| procedureSchema | back to summary |
|---|---|
| protected PyObject procedureSchema Field procedureSchema | |
| SCALE | back to summary |
|---|---|
| protected static final int SCALE Field SCALE | |
| Procedure | back to summary |
|---|---|
| public Procedure(PyCursor cursor, PyObject name) throws SQLException Constructor Procedure | |
| fetchColumns | back to summary |
|---|---|
| protected void fetchColumns() throws SQLException Get the columns for the stored procedure. | |
| getDefault | back to summary |
|---|---|
| protected PyObject getDefault() The value for a missing schema or catalog. This value is used to find the column names for the procedure. Not all DBMS use the same default value; for instance Oracle uses an empty string and SQLServer a null. This implementation returns the empty string.
| |
| getProcedureName | back to summary |
|---|---|
| protected String getProcedureName() Construct a procedure name for the relevant schema and catalog information. | |
| isInput | back to summary |
|---|---|
| public boolean isInput(int index) throws SQLException This method determines whether the param at the specified index is an IN or INOUT param for a stored procedure. This is only configured properly AFTER a call to normalizeInput().
| |
| normalizeInput | back to summary |
|---|---|
| public void normalizeInput(PyObject params, PyObject bindings) throws SQLException Prepare the binding dictionary with the correct datatypes. | |
| prepareCall | back to summary |
|---|---|
| public CallableStatement prepareCall() throws SQLException Prepares the statement and registers the OUT/INOUT parameters (if any).
| |
| prepareCall | back to summary |
|---|---|
| public CallableStatement prepareCall(PyObject rsType, PyObject rsConcur) throws SQLException Prepares the statement and registers the OUT/INOUT parameters (if any).
CallableStatement | |
| registerOutParameters | back to summary |
|---|---|
| protected void registerOutParameters(CallableStatement statement) throws SQLException Registers the OUT/INOUT parameters of the statement.
| |
| toSql | back to summary |
|---|---|
| public String toSql() throws SQLException Returns the call in the syntax: {? = call <procedure-name>(?, ?, ...)}
{call <procedure-name>(?, ?, ...)}
As of now, all parameters variables are created and no support for named variable calling is
supported.
| |