IntervalDF moved to com.informix.lang
Posted in 2005
Topics: Connectivity: ODBC / JDBC / .NET, Java & JDBC Development
Hi everyone. In the Informix JDBC driver, the IntervalDF class was moved from com.informix.jdbc to com.informix.lang. Has anyone had a problem with their Java apps getting this error: Cannot load column class 'com.informix.jdbc.IntervalDF': java.lang.ClassNotFoundException: com.informix.jdbc.IntervalDF. I can't understand what is still looking in the com.informix.jdbc package. I downloaded and implemented the latest JDBC driver from IBM. None of my classes reference the IntervalDF class directly. None of the Jakarta packages I use (Struts, Commons, etc...) would attempt to reference an Informix class directly, so it has to be a reference in the Informix Driver jar files themselves. I am developing in Java 5.0 using Struts 1.2.7 and Netbeans 4.1. Hope somebody else is experiencing this. Thanks.
I can resolve my problem by casting the Interval as a VARCHAR in the SQL. Thanks anyway.