Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-2600

Modeler DbImport: Can't retrieve schema for databases with no catalog support

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.1.B2
    • 4.1.RC1, 4.2.M1
    • Modeler
    • None

    Description

      I am trying to db-import model for Hana DB. DB Import itself ("Run Import" button) works, if I manually add all the settings. However "Refresh DB Schema" button results in an empty schema.

      The cause of it seems to be the implementation of DatabaseSchemaLoader.load method. It looks for catalogs, and if none found, returns an empty result. Hana does not support catalogs, but supports schemas. And we need to support this case.

      I guess in general we need to support all combinations of schema and catalog presence across different databases:

      1. Schema and Catalog
      2. Catalog only (MySQL)
      3. Schema only (Hana ... who else?)
      4. No schema or catalog (any DBs like this?)

      Attachments

        Issue Links

          Activity

            People

              aarrsseni Arseni Bulatski
              andrus Andrus Adamchik
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: