public class OracleDataHandler extends FilterDataHandler
| Constructor and Description |
|---|
OracleDataHandler(DataHandler datahandler)
Default constructor for DataHandler filtering.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMetaDataName(PyObject name)
Method getMetaDataName
|
PyObject |
getPyObject(java.sql.ResultSet set,
int col,
int type)
Provide functionality for Oracle specific types, such as ROWID.
|
void |
registerOut(java.sql.CallableStatement statement,
int index,
int colType,
int dataType,
java.lang.String dataTypeName)
Called when a stored procedure or function is executed and OUT parameters
need to be registered with the statement.
|
void |
setJDBCObject(java.sql.PreparedStatement stmt,
int index,
PyObject object,
int type)
Provide functionality for Oracle specific types, such as ROWID.
|
__chain__, getRowId, postExecute, preExecute, setJDBCObjectcheckNull, createUnsupportedTypeSQLException, getProcedure, getPyObject, getSystemDataHandler, read, read, toStringpublic OracleDataHandler(DataHandler datahandler)
public java.lang.String getMetaDataName(PyObject name)
getMetaDataName in class DataHandlername - public void setJDBCObject(java.sql.PreparedStatement stmt,
int index,
PyObject object,
int type)
throws java.sql.SQLException
setJDBCObject in class FilterDataHandlerstmt - the current PreparedStatementindex - the index for which this object is boundobject - the PyObject in questiontype - the java.sql.Types for which this PyObject should be boundjava.sql.SQLExceptionpublic PyObject getPyObject(java.sql.ResultSet set, int col, int type) throws java.sql.SQLException
getPyObject in class FilterDataHandlerset - the current ResultSet set to the current rowcol - the column number (adjusted properly for JDBC)type - the column typejava.sql.SQLException - if the type is unmappablepublic void registerOut(java.sql.CallableStatement statement,
int index,
int colType,
int dataType,
java.lang.String dataTypeName)
throws java.sql.SQLException
registerOut in class DataHandlerstatement - index - the JDBC offset column numbercolType - the column as from DatabaseMetaData (eg, procedureColumnOut)dataType - the JDBC datatype from TypesdataTypeName - the JDBC datatype namejava.sql.SQLException