com.ziclix.python.sql

Class JDBC30DataHandler

public class JDBC30DataHandler extends FilterDataHandler

Support for JDBC 3.x additions, notably ParameterMetaData.

Version: $Revision: 2315 $

Author: brian zimmer last revised by $Author: bzimmer $

Constructor Summary
JDBC30DataHandler(DataHandler datahandler)
Handle JDBC 3.0 additions.
Method Summary
voidsetJDBCObject(PreparedStatement stmt, int index, PyObject object)
Use ParameterMetaData if available to dynamically cast to the appropriate JDBC type.

Constructor Detail

JDBC30DataHandler

public JDBC30DataHandler(DataHandler datahandler)
Handle JDBC 3.0 additions.

Method Detail

setJDBCObject

public void setJDBCObject(PreparedStatement stmt, int index, PyObject object)
Use ParameterMetaData if available to dynamically cast to the appropriate JDBC type.

Parameters: stmt the prepared statement index the index currently being used object the object to be set on the statement

Throws: SQLException

Jython homepage