Gilles Magnier wrote:[snip]
I think having identical error code for unsuported exception and bad parameter error is a bit confusing, for me at least ...
Thanks for any help,
These definitely look like typos. After the holidays, I will look into a fix for these using constants in SQLError so that typos will no longer be a problem.
Thanks,
i've an other question : it's looks like there is an other possible problem in SQLStates error code usage in Connector/J. Error code "08003" witch means "using a closed connection" according to both sqlstate.h and SQLError.java is used in Connection.java (function setAutoCommit line 576) when transaction is not supported but i don't know if it's the good error code to use or if not wich one shoud be used.
throw new SQLException("MySQL Versions Older than 3.23.15 " + "do not support transactions", "08003");
Could you take a look on that while fixing typos ?
Again thanks a lot,
Gilles.
-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]