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

SynonymValidationTest fails because JdbcMetadaAccessStrategy.GROUPED doesn't work with synonyms in Oracle

XMLWordPrintable

      This test runs on Oracle DBs only. It fails with:

      org.hibernate.tool.schema.spi.SchemaManagementException: Schema-validation: missing column [id] in table [test_entity]
      

      It is fixed if the JdbcMetadataAccessStrategy is changed to INDIVIDUALLY. Seems like GROUPED strategy doesn't work properly with synonyms in the database - Oracle driver retrieves the columns of the synonym, but not the physical table.

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

                Created:
                Updated:
                Resolved: