The DatabaseMetaData methods getExportedKeys and getImportedKeys
return column names that aren't JDBC compliant. The following shows
the column names being returned by the H2 JDBC driver for these
methods while the name after -> is what JDBC specifies:

PKTABLE_CATALOG    -> PKTABLE_CAT
PKTABLE_SCHEMA     -> PKTABLE_SCHEM
PKTABLE_NAME
PKCOLUMN_NAME
FKTABLE_CATALOG    -> FKTABLE_CAT
FKTABLE_SCHEMA     -> FKTABLE_SCHEM
FKTABLE_NAME
FKCOLUMN_NAME
ORDINAL_POSITION   -> KEY_SEQ
UPDATE_RULE
DELETE_RULE
FK_NAME
PK_NAME
DEFERRABILITY

There may be other DatabaseMetaData methods that need to be verified.

This is tested with:

H2
1.2.127 (2010-01-15)
H2 JDBC Driver
1.2.127 (2010-01-15)

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to