[
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)