Extra iformation: sun.jdbc.odbc.JdbcOdbcDriver MySQL 5 JDK 1.5
I think the other poster is correct, that the 2nd call to getObject for the same column is the problem. Some drivers allow that and some don't (the JDBC allows this difference).
In particular, I think the native MySQL driver will allow it and the JDBC-ODBC bridge that you're using won't.
Joined: Sep 23, 2004
Thank�s Vallidevi. You was completle write. Stu derby, you are write also. On the first version of the application, I was using the native MySQL driver. There was no problem with the posted code. When I changed de driver for sun.jdbc.odbc.JdbcOdbcDriver, this problem started to happen (not because it�s a bad driver, off course; it simply dosen�t support what I was trying to do).