Hi, if I create the following table:
CREATE TABLE person (id INTEGER not null, firstname VARCHAR(20), lastname VARCHAR(20)); ALTER TABLE person ADD CONSTRAINT pk_person PRIMARY KEY (id); DatabaseMetaData.getPrimaryKeys() will return the name of the underlying index for the column PK_NAME, not the name I supplied in ALTER TABLE In INFORMATION_SCHEMA.CONSTRAINTS.PK_NAME the correct name is stored. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
