Book a Demo

Author Topic: Colums and keys duplicated after XMI import  (Read 3020 times)

Matt Hall

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Colums and keys duplicated after XMI import
« on: July 15, 2008, 01:54:31 am »
I have a package containing four data modeling diagrams and a number of tables, which I want to move from a project created using EA 7.0 to another created using EA 7.1.

Using EA 7.1, I exported the package to XMI using the default options:

Format XMI Output
Write Log File
Enable full EA Routrip
XMI Type UML 2.1

I imported the file to the new project using default options:

Import Diagrams
Write Log file

When I do this I notice two problems:

1. The diagrams are created but are blank - I have to add the tables to the diagram and redo the layout.
2.  All of the properties and attributes of the tables are duplicated (apart from foreign keys).  For example one of my tables has the following columns and keys:

mailpack_id
mailpack_id
mailitem_id
mailitem_id
sequence
sequence

<<FK>>
FK_mailpack_items
<<PK>>
PK_mailpack_items_ids
PK_mailpack_items_ids
<<index>>
mailpack_mailitem
mailpack_mailitem
mailitem_mailpack
mailitem_mailpack

I checked the XML file and the properties and keys only appear once.

Any idea what went wrong here?  Is it a 7.0/7.1 thing?  I've done imports of this type before and never seen this problem.

Matt Hall

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Colums and keys duplicated after XMI import
« Reply #1 on: July 15, 2008, 04:06:50 am »
I deleted the imported project and re-imported it under a new root node and both issues did not occur.  The original import was to a sub-package of an existing root node.