Book a Demo

Author Topic: repositories: complete connection string  (Read 2896 times)

ingeniero

  • EA Novice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
repositories: complete connection string
« on: September 13, 2010, 02:48:25 am »
Hello,

I need some guidance. I am developing an Java application using the API 8.0.

The application should be able to connect both projects EAP (Microsoft ACCESS) and repositories (Oracle and MySQL). To choose a type of project and another, I use three radio-button in the GUI.

To choose a type of project and another, I use three radio-button in the GUI, but for the case of the repositories I do not know how to build the complete connection string that I pass as parameter to OpenFile2 to access the repository.

Can you help me?

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: repositories: complete connection string
« Reply #1 on: September 13, 2010, 02:59:41 pm »
Hi,

Try "Save As" when connected to one of those repositories.
This will create an .eap "shortcut" file that contains the connection string.
Alternatively use Repository.ConnectionString when connected tot the repository.

Geert