Skip to content
krequena edited this page Jan 4, 2019 · 5 revisions

After importing the library in a Java project, it can easily be used as follows:

    import pro.requena.ea.modeltransfer.ModelTransfer;
    [...]
    ModelTransfer modelTransfer = new ModelTransfer();
    modelTransfer.transfer(source, target, batchInsert);

The transfer() method receives 3 parameters:

  • source: EAP file path or JDBC connection string pointing to a source Enterprise Architect database.
  • target: EAP file path or JDBC connection string pointing to a target Enterprise Architect database. Please, note that the original content of the target database will be deleted.
  • batchInsert: enables inserting the database rows in batch mode, improving the performance of the operation.

Clone this wiki locally