-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bill Dodson wrote:
> First off, sorry if this is going to the wrong list.
> 
> I installed the new Connector J (mysql-connector-java-3.1.7-bin.jar). 
> Now some of my code does not work.  It seems that when I do a 
> ResultSet.getObject() on a Date field with the value 0000-00-00 (the 
> default value) I get an SQLException.  While I know that 0000-00-00 is 
> not a valid date, the old version of the driver 
> (mysql-connector-java-3.0.9-stable) works fine.
> 
> I have a work around, but my code seemed much cleaner without it. 
> 
> Does anyone know why this exception is now being thrown?
> 
> So far I have just been using the old version, but I would like to see 
> if there is any performance enhancements in the newer version, and I 
> don't want to get left behind.
[snip]

Bill,

Maybe you missed this section in the manual?

http://dev.mysql.com/doc/connector/j/en/cj-upgrading-3-0-to-3-1.html

        -Mark


- --
Mark Matthews
MySQL AB, Software Development Manager - Connectivity
www.mysql.com

MySQL User Conference (Santa Clara CA, 18-21 April 2005)
Early registration until February 28: http://www.mysqluc.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD4DBQFCL0/gtvXNTca6JD8RAouQAKCVsdL3alHJZMCg1kWvuA6RckKgnwCXTMTp
JUr/3gPkJuYajpmV0XKsgQ==
=8ZZl
-----END PGP SIGNATURE-----

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to