public class MySQLDataHandler extends RowIdHandler
Constructor and Description |
---|
MySQLDataHandler(DataHandler datahandler)
Decorator for handling MySql specific issues.
|
Modifier and Type | Method and Description |
---|---|
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,
int type)
Handle LONGVARCHAR.
|
getRowId
__chain__, getPyObject, postExecute, preExecute, setJDBCObject
checkNull, createUnsupportedTypeSQLException, getMetaDataName, getProcedure, getPyObject, getSystemDataHandler, read, read, registerOut, toString
public MySQLDataHandler(DataHandler datahandler)
datahandler
- the delegate DataHandlerprotected java.lang.String getRowIdMethodName()
RowIdHandler
getRowIdMethodName
in class RowIdHandler
public void setJDBCObject(java.sql.PreparedStatement stmt, int index, PyObject object, int type) throws java.sql.SQLException
setJDBCObject
in class FilterDataHandler
stmt
- 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.SQLException