You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Andrus Adamchik (JIRA)" <ji...@apache.org> on 2017/09/10 11:45:00 UTC

[jira] [Updated] (CAY-2347) cdbimport - can't get all relationships on the first pass

     [ https://issues.apache.org/jira/browse/CAY-2347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrus Adamchik updated CAY-2347:
---------------------------------
    Fix Version/s:     (was: 4.0.B1)
                   4.0.B2

> cdbimport - can't get all relationships on the first pass
> ---------------------------------------------------------
>
>                 Key: CAY-2347
>                 URL: https://issues.apache.org/jira/browse/CAY-2347
>             Project: Cayenne
>          Issue Type: Bug
>         Environment: 4.0.B1, MySQL 5.6
>            Reporter: Andrus Adamchik
>            Assignee: Nikita Timofeev
>             Fix For: 4.0.B2, 4.1.M1
>
>
> Existing Schema:
> {noformat}
> Table A
>   id PK
> {noformat}
> New Schema Additions:
> {noformat}
> Table B
>    id PK
> Table A_B
>   a_id PK/FK
>   b_id PK/FK
> {noformat}
> When I run cdbimport, all looks good except relationship from A to A_B is not created, and as a result A_B is not flattened. 
> When I run cdbimport for the second time without changing the schema, the missing relationship is created, but of course flattenning does not occur (as there's already an AB ObjEntity).
> Expected: that missing relationship should be picked up on the first run.
>   



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)