You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Arseni Bulatski (JIRA)" <ji...@apache.org> on 2019/02/28 13:37:00 UTC

[jira] [Commented] (CAY-2546) Migrate DB Schema: migration fails for connection with no catalog specified in db url

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

Arseni Bulatski commented on CAY-2546:
--------------------------------------

This problem relates to auto pk generation. Auto pk generation doesn't use fully qualified name of table. If you choose catalog it can't find table in this catalog.

> Migrate DB Schema: migration fails for connection with no catalog specified in db url
> -------------------------------------------------------------------------------------
>
>                 Key: CAY-2546
>                 URL: https://issues.apache.org/jira/browse/CAY-2546
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Modeler
>    Affects Versions: 4.1.M3
>            Reporter: ana benko
>            Priority: Major
>             Fix For: 4.2.M1
>
>
> Preconditions: configure connection to db with multiple catalogs
> Datamap has db and obj entities with Catalog specified
>  # Select datamap, Run Migrate DB Schema
>  # Select connection with multiple catalogs
>  # Select your catalog, select To DB operations (eg. create table, add FK)
>  # Run Migrate
> -> No database selected message appears in Migration Complete window -> NOT OK
>  
> note: if user selects connection with catalog specified in DB URL, migration is successful.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)