Andrus Adamchik created CAY-2347:
------------------------------------

             Summary: 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


Existing Schema:

Table A
  id PK

New Schema Additions:

Table B
   id PK

Table A_B
  a_id PK/FK
  b_id PK/FK

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)

Reply via email to