Bug #3520 DatabaseMetaData.getSQLStateType() does not return the correct SQLStateType
Submitted: 20 Apr 2004 23:36 Modified: 27 Apr 2004 12:26
Reporter: Tat Leung
Status: Closed
Category:Connector/J Severity:S2 (Serious)
Version:3.0.11 OS:Any (All)
Assigned to: Mark Matthews Target Version:

[20 Apr 2004 23:36] Tat Leung
Description:
The DatabaseMetaData.getSQLStateType() returns 0.  The SQLError class seem to indicate the
error code is conform to the X/Open standard.  Looking at the JDBC Standard, the SQL State
Type should be 1 for X/Open.

How to repeat:
DatabaseMetaData.getSQLStateType();
[27 Apr 2004 12:26] Mark Matthews
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html