zxJDBC

Database Connectivity in JPython

 
Home
 
News
 
FAQ
 
Download
 
Documentation
 
License
 
    

FAQ

How does zxJDBC provide functionality for vendor-specific drivers?

By implementing the DataHandler interface, any complexities of a specific JDBC driver type mapping implementation can be handled. This gives a considerable amount of freedom in the data mapping. For an example, look at the source for the InformixDataHandler. It demonstrates handling Informix's implementation of the Boolean type.

How does zxJDBC handle the differences between JDBC 1.2 and JDBC 2.0?

If zxJDBC determines a JDBC 2.0 runtime is available, it will utilize the additional functionality. In particular, this includes the type binding features of a PreparedStatement and access to CLOB and BLOB native types.

Does zxJDBC offer any connection pooling?

No. I want to add this at some point when I get more time. Making use of the new DataSource interface might be the solution.

How does zxJDBC handle dates?

zxJDBC utilizes the underlying java.sql.[Date|Timestamp|Time] objects. The DB API 2.0 spec calls for time in seconds since the epoch while the Java Date object returns time in milliseconds since the epoch. This module adheres to the python API and will therefore use time in seconds rather than milliseconds, so adjust any Java code accordingly.

Feel free to email me with questions or suggestions at bzimmer@ziclix.com


$Id: faq.html,v 1.3 2000/06/29 19:02:20 bzimmer Exp $