4 messages in com.mysql.lists.javaRe: Confusion about SQLState
FromSent OnAttachments
Rhino21 Dec 2004 14:35 
Mark Matthews21 Dec 2004 14:55 
Mark Matthews21 Dec 2004 15:18 
Rhino21 Dec 2004 17:08 
Subject:Re: Confusion about SQLState
From:Rhino (rhi@sympatico.ca)
Date:12/21/2004 05:08:55 PM
List:com.mysql.lists.java

Okay, thanks for clarifying all that for me, Mark!

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

Mark Matthews wrote: [snip]

If you can, I'd upgrade to Connector/J 3.1.5 (.6 to be released soon), and the latest stable release of MySQL-4.1.x if you want to reliably use SQLStates.

Just looked at our code closer, it will map correctly in Connector/J 3.1.x with MySQL-4.0.x server as well. I've backported the changes to Connector/J 3.0.17, but they'll be disabled by default (in 3.1, we use SQL99 state codes correctly mapped by default, as that's how the server presents them as well).

iD8DBQFByK8+tvXNTca6JD8RAqaZAJ9GKv0xKdQLyPitrWnGfnqGvOBKogCgs+VB gFN7DNLhO+uY2JSb+WrySbg= =4WGM -----END PGP SIGNATURE-----