David Goodenough ([EMAIL PROTECTED]) reports a bug with a severity of 2
The lower the number the more severe it is.

Short Description
JDBC KEY_SEQ in getImportedKey starts at 0

Long Description
getImportedKey from DatabaseMetaData returns a ResultSet and in that
ResultSet are values with a key KEY_SEQ.  In Postgresql this starts
at 0, but DB/2 and MySql both start at 1.  I can find no document
which requires a particular start for JDBC, but the ODBC docs do 
require this to start at 1.

Change is needed to both jdbc2/DatabaseMetaData.java and the jdbc1
version.  There is a short seq = 0; which needs to be changed to
short seq = 1;

Sample Code


No file was uploaded with this report


---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly

Reply via email to