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

Details

    • EAP 7.1.1

    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.

      Attachments

        Issue Links

          Activity

            People

              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:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: