Top Description Constructors Methods
com.ziclix.python.sql

public Class JDBC30DataHandler

extends FilterDataHandler
Class Inheritance
Imports
org.python.core.PyObject, java.sql.PreparedStatement, .SQLException, .ParameterMetaData

Support for JDBC 3.x additions, notably ParameterMetaData.
Author
brian zimmer

Constructor Summary

AccessConstructor and Description
public
JDBC30DataHandler(DataHandler datahandler)

Handle JDBC 3.0 additions.

Method Summary

Modifier and TypeMethod and Description
public void
setJDBCObject(PreparedStatement
the prepared statement
stmt
,
int
the index currently being used
index
,
PyObject
the object to be set on the statement
object
)

Overrides com.ziclix.python.sql.FilterDataHandler.setJDBCObject.

Use ParameterMetaData if available to dynamically cast to the appropriate JDBC type.

Inherited from com.ziclix.python.sql.FilterDataHandler:
__chain__getPyObjectgetRowIdpostExecutepreExecutesetJDBCObject

Constructor Detail

JDBC30DataHandlerback to summary
public JDBC30DataHandler(DataHandler datahandler)

Handle JDBC 3.0 additions.

Method Detail

setJDBCObjectback to summary
public void setJDBCObject(PreparedStatement stmt, int index, PyObject object) throws SQLException

Overrides com.ziclix.python.sql.FilterDataHandler.setJDBCObject.

Use ParameterMetaData if available to dynamically cast to the appropriate JDBC type.

Parameters
stmt:PreparedStatement

the prepared statement

index:int

the index currently being used

object:PyObject

the object to be set on the statement