Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-12679

[QE](7.1.z) HHH-11915 DatabaseMetaData#getIndexInfo can return column names enclosed in quotes on PostgresPlus

XMLWordPrintable

    • EAP 7.1.1

      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.

              gbadner@redhat.com Gail Badner (Inactive)
              jmartisk@redhat.com Jan Martiska
              Jiří Bílek Jiří Bílek (Inactive)
              Jiří Bílek Jiří Bílek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: