public class PostgresqlDataHandler extends RowIdHandler
| Constructor and Description |
|---|
PostgresqlDataHandler(DataHandler datahandler)
Decorator for handling Postgresql specific issues.
|
| Modifier and Type | Method and Description |
|---|---|
PyObject |
getPyObject(java.sql.ResultSet set,
int col,
int type)
Override to handle Postgresql related issues.
|
protected java.lang.String |
getRowIdMethodName()
Return the name of the method that returns the last row id.
|
void |
setJDBCObject(java.sql.PreparedStatement stmt,
int index,
PyObject object)
Method setJDBCObject
|
void |
setJDBCObject(java.sql.PreparedStatement stmt,
int index,
PyObject object,
int type)
Provide fixes for Postgresql driver.
|
getRowId__chain__, postExecute, preExecutecheckNull, createUnsupportedTypeSQLException, getMetaDataName, getProcedure, getPyObject, getSystemDataHandler, read, read, registerOut, toStringpublic PostgresqlDataHandler(DataHandler datahandler)
datahandler - the delegate DataHandlerprotected java.lang.String getRowIdMethodName()
RowIdHandlergetRowIdMethodName in class RowIdHandlerpublic PyObject getPyObject(java.sql.ResultSet set, int col, int type) throws java.sql.SQLException
getPyObject in class FilterDataHandlerset - the result setcol - the column numbertype - the SQL typejava.sql.SQLException - thrown for a sql exceptionpublic void setJDBCObject(java.sql.PreparedStatement stmt,
int index,
PyObject object,
int type)
throws java.sql.SQLException
setJDBCObject in class FilterDataHandlerstmt - index - object - type - java.sql.SQLExceptionpublic void setJDBCObject(java.sql.PreparedStatement stmt,
int index,
PyObject object)
throws java.sql.SQLException
FilterDataHandlersetJDBCObject in class FilterDataHandlerstmt - the current PreparedStatementindex - the index for which this object is boundobject - the PyObject in questionjava.sql.SQLException