You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/11/28 10:04:59 UTC

[jira] [Commented] (CAY-2151) Migrate Database Schema: issue when no db is specified

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

ASF GitHub Bot commented on CAY-2151:
-------------------------------------

GitHub user stariy95 opened a pull request:

    https://github.com/apache/cayenne/pull/143

    CAY-2151 Migrate Database Schema: issue when no db is specified 

    The problem is more complicated as simple catalog/schema selection.
    Some more problems still there see https://issues.apache.org/jira/browse/CAY-2156
    Partial fix:
     - added catalogs select along with schema
     - skip AUTO_PK_SUPPORT creation if DbEntity has generated or custom PK generation strategy

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/stariy95/cayenne CAY-2151

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cayenne/pull/143.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #143
    
----
commit 7ae559c799acc681d334a440292037bcda904c9b
Author: Nikita Timofeev <st...@gmail.com>
Date:   2016-11-28T09:04:50Z

    CAY-2151 Migrate Database Schema: issue when no db is specified
    The problem is more complicated as simple catalog/schema selection.
    Some more problems still there see https://issues.apache.org/jira/browse/CAY-2156
    Partial fix:
     - added catalogs select along with schema
     - skip AUTO_PK_SUPPORT creation if DbEntity has generated or custom PK generation strategy

commit 45593914338ad7c06a3fed4475dfd1c16bce964c
Author: Nikita Timofeev <st...@gmail.com>
Date:   2016-11-28T09:36:52Z

    CAY-2151 Migrate Database Schema: issue when no db is specified
    skip catalog check if DbAdapter doesn't support catalogs in metadata

----


> Migrate Database Schema: issue when no db is specified
> ------------------------------------------------------
>
>                 Key: CAY-2151
>                 URL: https://issues.apache.org/jira/browse/CAY-2151
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Modeler
>    Affects Versions: 4.0.M4
>            Reporter: ana benko
>            Assignee: Nikita Timofeev
>
> 1. Create new project, reverse engineer a db. Save
> 2. Open Migrate Database Schema and select connection (to your previously imported db) with no database defined in DB URL.
> -> Options window displays a list of operations to sync db and model
> Expected: list should be empty since model and db are identical
> note: if connection with db in DB URL is selected -> list is empty
> Also: under selected connection there are 2 DBs, my 'testdb' and some default 'sys' db. Why when we select connection with no db in URL, it does not offer a db selection (as on Reverse Engineering)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)