Book a Demo

Author Topic: generation of data base  (Read 14878 times)

feres

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
generation of data base
« on: March 14, 2013, 01:30:39 am »
Hello everyone :)

During the realization of my class diagram. I encountered a problem

I have a binary association between two class with class association

during the generation of the database given. Association class appears alone and does not have the 2 keys 2 class foreign why?

Does anyone have any tips / advice for me?

Thank you in advance

Sunshine

  • EA Practitioner
  • ***
  • Posts: 1353
  • Karma: +121/-10
  • Its the results that count
    • View Profile
Re: generation of data base
« Reply #1 on: March 14, 2013, 09:34:10 am »
Its probably and oversight in the generation script for that particular scenario. You'll need to change the script to fix it.
Happy to help
:)

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: generation of data base
« Reply #2 on: March 14, 2013, 10:38:49 am »
There is currently no support for association classes in transformations.

feres

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: generation of data base
« Reply #3 on: March 14, 2013, 07:22:36 pm »
thank you all. I think I have to do it manually  :(

Sunshine

  • EA Practitioner
  • ***
  • Posts: 1353
  • Karma: +121/-10
  • Its the results that count
    • View Profile
Re: generation of data base
« Reply #4 on: March 15, 2013, 11:04:56 am »
If you have some programming skills you can automate doing this sort of thing via JavaScript or via the API using your favorite programming language.
Happy to help
:)

Sunshine

  • EA Practitioner
  • ***
  • Posts: 1353
  • Karma: +121/-10
  • Its the results that count
    • View Profile
Re: generation of data base
« Reply #5 on: March 15, 2013, 11:08:05 am »
The other alternative of course is to model without using association classes. I know a few people who've changed their model in just such a way so they can leverage the PIM -> PSM(DDL)-> Database generation of Sparx EA. :)
Happy to help
:)

feres

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: generation of data base
« Reply #6 on: March 15, 2013, 07:29:04 pm »
Thank you for your cooperation sunshine  :) but as I told you I build my model database manually. Because I'm not professional enough in this area  :-[

Sunshine

  • EA Practitioner
  • ***
  • Posts: 1353
  • Karma: +121/-10
  • Its the results that count
    • View Profile
Re: generation of data base
« Reply #7 on: March 18, 2013, 01:06:39 pm »
Quote
Thank you for your cooperation sunshine  :) but as I told you I build my model database manually. Because I'm not professional enough in this area  :-[
- To the darkside you have gone. Save you I thought. Too late I fear.  :(
Happy to help
:)