Bug #3520 DatabaseMetaData.getSQLStateType() does not return the correct SQLStateType
Submitted: 20 Apr 2004 21:36 Modified: 27 Apr 2004 10:26
Reporter: Tat Leung Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / J Severity:S2 (Serious)
Version:3.0.11 OS:Any (All)
Assigned to: Mark Matthews CPU Architecture:Any

[20 Apr 2004 21: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 10: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