com.ziclix.python.sql
Class JDBC30DataHandler
java.lang.Object
com.ziclix.python.sql.DataHandler
com.ziclix.python.sql.FilterDataHandler
com.ziclix.python.sql.JDBC30DataHandler
- public class JDBC30DataHandler
- extends FilterDataHandler
Support for JDBC 3.x additions, notably ParameterMetaData.
- Version:
- $Revision: 1.1 $
- Author:
- brian zimmer, last revised by $Author: bzimmer $
Method Summary |
void |
setJDBCObject(java.sql.PreparedStatement stmt,
int index,
PyObject object)
Use ParameterMetaData if available to dynamically cast to the appropriate
JDBC type. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JDBC30DataHandler
public JDBC30DataHandler(DataHandler datahandler)
- Handle JDBC 3.0 additions.
setJDBCObject
public void setJDBCObject(java.sql.PreparedStatement stmt,
int index,
PyObject object)
throws java.sql.SQLException
- Use ParameterMetaData if available to dynamically cast to the appropriate
JDBC type.
- Overrides:
setJDBCObject
in class FilterDataHandler
- Parameters:
stmt
- the prepared statementindex
- the index currently being usedobject
- the object to be set on the statement
- Throws:
java.sql.SQLException
Jython homepage