Hi,

> Because I'm re-creating SQL from the information returned by the JDBC
> driver, and using the index name is not the same thing as using the
> name supplied by the user during creation of the table. It's more a
> cosmetic thing as all other databases return the name that was
> specified by the user. Except for MySQL - but then I don't expect
> anything to work properly with MySQL when it comes to referential
> integrity :)

In the next release, the column PK_NAME of
DatabaseMetaData.getPrimaryKeys will contain the constraint name
instead of the index name.

Regards,
Thomas

--~--~---------~--~----~------------~-------~--~----~
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