DatabaseMetadata with quoted names

Description

I am trying to use your org.hibernate.tool.hbm2ddl.DatabaseMetadata in my own purposes. I found that it works more or less well when table names are unquoted. But it does not work correctly in case of using quoted identifiers. E.g. it does not work in HSQLDB. In method getTableMetadata you use methods storesUpperCaseIdentifiers and storesLowerCaseIdentifiers to uppercase or lowercase the table names. But it is not correctly for quoted identifiers.

Possibly we should have some tag (boolean quoted) which will specify using quoted identifiers in system and use the following methods instead: storesUpperCaseQuotedIdentifiers, storesLowerCaseQuotedIdentifiers and possibly supportsMixedCaseQuotedIdentifiers.

Environment

HSQLDB 1.8.0.3

Assignee

Unassigned

Reporter

Andrey Grebnev

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Minor
Configure