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

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: