cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dzmitry Kazimirchyk (JIRA)" <>
Subject [jira] [Created] (CAY-2144) cdbimport fails for databases which don't support catalogs
Date Tue, 15 Nov 2016 17:44:59 GMT
Dzmitry Kazimirchyk created CAY-2144:

             Summary: cdbimport fails for databases which don't support catalogs
                 Key: CAY-2144
             Project: Cayenne
          Issue Type: Bug
          Components: Non-GUI Tools
    Affects Versions: 4.0.M3
            Reporter: Dzmitry Kazimirchyk

cdbimport maven goal fails if database doesn't support catalogs (e.g. postgres):

[ERROR] Failed to execute goal org.apache.cayenne.plugins:maven-cayenne-plugin:4.0.M4-SNAPSHOT:cdbimport
(default-cli) on project test-db: Error creating DataSource (org.apache.cayenne.datasource.DriverDataSource@4f8b4bd0)
or DbAdapter (org.apache.cayenne.dba.postgres.PostgresAdapter@4e904fd5) for DataNodeDescriptor
(org.apache.cayenne.configuration.DataNodeDescriptor@b18c4): Your database does not support
catalogs on reverse engineering. It allows to connect to only one at the moment. Please don't
note catalogs as param. -> [Help 1]

This seems to be due to this logic []
which is always adding empty catalogs to the reverse engineering configuration.

This message was sent by Atlassian JIRA

View raw message