Book a Demo

Author Topic: How update database repository  (Read 2764 times)

StefanoD

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
How update database repository
« on: August 06, 2012, 06:32:02 pm »
Good day,
I would like to know how update my database EA-repository (in Oracle) from whole working directory without run EA (for example: using java applets ...). Thank you very much :)

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: How update database repository
« Reply #1 on: August 06, 2012, 06:39:00 pm »
Ok, you need to be more specific.
Do you which to update the database directly (in that case see your DBA) or do you want to create a script/add-in using the EA API?
(in that case check the Automation part of the help file, and/or my tutorial on EA add-ins: Tutorial: Create your first C# Enterprise Architect addin in 10 minutes)

Geert

StefanoD

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: How update database repository
« Reply #2 on: August 06, 2012, 07:45:59 pm »
Ok, I try to explain my idea (my english is very bad ...):
I have a working directory with a lot of java classes.
The first time I used EA reverse engineering to charge that classes in a db-based repository in Oracle.
Now, if I have changed some classes java, it is possible to update the repository, without passing necessarily
through EA ? Of course using scripts in java or C# or in some other kind of language.
Your tutorial in all that I need ?
Thanks.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: How update database repository
« Reply #3 on: August 06, 2012, 08:45:36 pm »
My tutorial will help you get started.
To synchronise code with the EA model see
Project Interface.SynchronizePackage() at http://www.sparxsystems.com/enterprise_architect_user_guide/9.3/automation/project_2.html


Geert