We're updating the issue view to help you get more done. 

DatabaseMetaData#getIndexInfo can return column names enclosed in quotes on PostgresPlus

Description

PostgresPlus returns column names enclosed in quotes if the field was enclosed in quotes when the index was created; other DBs apparently don't return quotes column names. Hibernate assumes that the column names are not quoted, resulting the excepton:

"org.hibernate.boot.model.naming.IllegalIdentifierException: Identifier text should not contain quote markers (` or ")"

This is reproduced by SchemaUpdateTest.testSchemaUpdateAndValidation on PostgresPlus.

Environment

None

Status

Assignee

Gail Badner

Reporter

Gail Badner

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Affects versions

5.2.10
5.1.9

Priority

Major