public class InformixDataHandler extends FilterDataHandler
Constructor and Description |
---|
InformixDataHandler(DataHandler datahandler)
Decorator for handling Informix specific issues.
|
Modifier and Type | Method and Description |
---|---|
PyObject |
getPyObject(java.sql.ResultSet set,
int col,
int type)
Override to handle Informix related issues.
|
PyObject |
getRowId(java.sql.Statement stmt)
Returns the serial for the statement.
|
void |
setJDBCObject(java.sql.PreparedStatement stmt,
int index,
PyObject object)
Provide fixes for Ifx driver.
|
void |
setJDBCObject(java.sql.PreparedStatement stmt,
int index,
PyObject object,
int type)
Provide fixes for Ifx driver.
|
__chain__, postExecute, preExecute
checkNull, createUnsupportedTypeSQLException, getMetaDataName, getProcedure, getPyObject, getSystemDataHandler, read, read, registerOut, toString
public InformixDataHandler(DataHandler datahandler)
datahandler
- the delegate DataHandlerpublic PyObject getRowId(java.sql.Statement stmt) throws java.sql.SQLException
getRowId
in class FilterDataHandler
stmt
- java.sql.SQLException
public void setJDBCObject(java.sql.PreparedStatement stmt, int index, PyObject object, int type) throws java.sql.SQLException
setJDBCObject
in class FilterDataHandler
stmt
- index
- object
- type
- java.sql.SQLException
public void setJDBCObject(java.sql.PreparedStatement stmt, int index, PyObject object) throws java.sql.SQLException
setJDBCObject
in class FilterDataHandler
stmt
- index
- object
- java.sql.SQLException
public PyObject getPyObject(java.sql.ResultSet set, int col, int type) throws java.sql.SQLException
getPyObject
in class FilterDataHandler
set
- the result setcol
- the column numbertype
- the SQL typejava.sql.SQLException
- thrown for a sql exception