Package com.ziclix.python.sql
Class JDBC30DataHandler
java.lang.Object
com.ziclix.python.sql.DataHandler
com.ziclix.python.sql.FilterDataHandler
com.ziclix.python.sql.JDBC30DataHandler
Support for JDBC 3.x additions, notably ParameterMetaData.
- Author:
- brian zimmer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setJDBCObject
(PreparedStatement stmt, int index, PyObject object) Use ParameterMetaData if available to dynamically cast to the appropriate JDBC type.Methods inherited from class com.ziclix.python.sql.FilterDataHandler
__chain__, getPyObject, getRowId, postExecute, preExecute, setJDBCObject
Methods inherited from class com.ziclix.python.sql.DataHandler
checkNull, getMetaDataName, getProcedure, getPyObject, getSystemDataHandler, read, read, registerOut, toString
-
Constructor Details
-
JDBC30DataHandler
Handle JDBC 3.0 additions.
-
-
Method Details
-
setJDBCObject
Use ParameterMetaData if available to dynamically cast to the appropriate JDBC type.- Overrides:
setJDBCObject
in classFilterDataHandler
- Parameters:
stmt
- the prepared statementindex
- the index currently being usedobject
- the object to be set on the statement- Throws:
SQLException
-