cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Adamchik (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAY-2600) Modeler DbImport: Can't retrieve schema for databases with no catalog support
Date Thu, 15 Aug 2019 13:30:00 GMT

    [ https://issues.apache.org/jira/browse/CAY-2600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16908072#comment-16908072
] 

Andrus Adamchik commented on CAY-2600:
--------------------------------------

[~aarrsseni] Great. I am going to try it on Hana and MySQL soon. Curious which databases we
were able to test this with?

> Modeler DbImport: Can't retrieve schema for databases with no catalog support
> -----------------------------------------------------------------------------
>
>                 Key: CAY-2600
>                 URL: https://issues.apache.org/jira/browse/CAY-2600
>             Project: Cayenne
>          Issue Type: Bug
>    Affects Versions: 4.1.B2
>            Reporter: Andrus Adamchik
>            Priority: Major
>             Fix For: 4.1.B3, 4.2.M1
>
>
> 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?)



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Mime
View raw message