Topic
6 replies Latest Post - ‏2006-07-11T19:12:15Z by SystemAdmin
SystemAdmin
SystemAdmin
3659 Posts
ACCEPTED ANSWER

Pinned topic Class diagram to Data Model transformation limitation

‏2006-06-23T13:38:30Z |
Hi,

I've created a Class Diagram and transformed it on a Data Model, then I put some informations on the documentation of each table on Data Model that belongs only to the escope of Data Model.

My wish is that when I do the transformation again, after add another attribute to a class on Class Diagram, for example, the generated schema do a merge on the new Class Diagram and the existing Data Model, without erase the informations created before.

Is that possible?

Thanks,

Cipriani
Advus Corp.
Updated on 2006-07-11T19:12:15Z at 2006-07-11T19:12:15Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    3659 Posts
    ACCEPTED ANSWER

    Re:Class diagram to Data Model transformation limitation

    ‏2006-06-26T07:19:10Z  in response to SystemAdmin
    Yes, This is possible. You will not loose any information while
    transforming.

    Thanks & Regards
    Mahadevi S Savalgi
    IBM Rational Software Group
    Ph: (91-80)25094-786
    Mobile: 9845726364
    email: msavalgi@in.ibm.com

    Cipriani <disadmin@us.ibm.com>
    Sent by: rose-bounces@lists.ca.ibm.com
    06/23/2006 07:08 PM
    Please respond to
    rose@lists.ca.ibm.com
    To
    rose@lists.ca.ibm.com
    cc

    Subject
    rose Class diagram to Data Model transformation limitation
    Hi,

    I've created a Class Diagram and transformed it on a Data Model, then I
    put some informations on the documentation of each table on Data Model
    that belongs only to the escope of Data Model.

    My wish is that when I do the transformation again, after add another
    attribute to a class on Class Diagram, for example, the generated schema
    do a merge on the new Class Diagram and the existing Data Model, without
    erase the informations created before.

    Is that possible?

    Thanks,

    Cipriani
    Advus Corp.
    _______________________________________________
    rose mailing list
    rose@lists.ca.ibm.com
    Unsubscribe:rose-leave@lists.ca.ibm.com

    http://att1.html
    _______________________________________________
    rose mailing list
    rose@lists.ca.ibm.com
    Unsubscribe:rose-leave@lists.ca.ibm.com
    • SystemAdmin
      SystemAdmin
      3659 Posts
      ACCEPTED ANSWER

      Re: Re:Class diagram to Data Model transformation limitation

      ‏2006-06-27T17:14:02Z  in response to SystemAdmin
      Ok, the problem is: I am losting ALL information while transforming. The Data Model is totally regenerated from Class Diagram for every transformation that I do.

      How I avoid this regeneration and just include the new changes on Data Models? There is an configuration option, or something like this?

      Thanks again,

      Cipriani
      • SystemAdmin
        SystemAdmin
        3659 Posts
        ACCEPTED ANSWER

        Re:Re: Re:Class diagram to Data Model transformation limitation

        ‏2006-06-28T05:37:43Z  in response to SystemAdmin
        While transforming you have to select the old schema name, by default it
        will generate a new schema. Hope this solves your problem

        Mahadevi S Savalgi
        IBM Rational Software Group
        Ph: (91-80)25094-786
        Mobile: 9845726364
        email: msavalgi@in.ibm.com

        Cipriani <disadmin@us.ibm.com>
        Sent by: rose-bounces@lists.ca.ibm.com
        06/27/2006 10:44 PM
        Please respond to
        rose@lists.ca.ibm.com
        To
        rose@lists.ca.ibm.com
        cc

        Subject
        rose Re: Re:Class diagram to Data Model transformation limitation
        Ok, the problem is: I am losting ALL information while transforming. The
        Data Model is totally regenerated from Class Diagram for every
        transformation that I do.

        How I avoid this regeneration and just include the new changes on Data
        Models? There is an configuration option, or something like this?

        Thanks again,

        Cipriani
        _______________________________________________
        rose mailing list
        rose@lists.ca.ibm.com
        Unsubscribe:rose-leave@lists.ca.ibm.com

        http://att1.html
        _______________________________________________
        rose mailing list
        rose@lists.ca.ibm.com
        Unsubscribe:rose-leave@lists.ca.ibm.com
      • SystemAdmin
        SystemAdmin
        3659 Posts
        ACCEPTED ANSWER

        Re:Re: Re:Class diagram to Data Model transformation limitation

        ‏2006-06-28T06:17:45Z  in response to SystemAdmin
        Hi Cipriani,

        When you are transforming from Object Model to Data Model, you need to
        select the same Schema that was created the first time when you did the
        transformation.

        Suppose you had a Package with NewClass which had attribute name of type
        DATE.
        On your first transformation to Data model, you get S_0 with table
        T_NewClass with column name.

        You then go and add a comment to your table.You also add another attribute
        name2 to your class.

        Now when you are doing the transformation from Object Model to Data
        Model,select the same schema which was created while transforming the
        first time(S_0) in the Destination Schema dropbox.

        The comment added in table will be preserved and your new attribute added
        in Class will be added as column to the table .

        I hope this addresses your issue.

        Thanks & Regards,
        Smith

        Cipriani <disadmin@us.ibm.com>
        Sent by: rose-bounces@lists.ca.ibm.com
        06/27/2006 10:44 PM
        Please respond to
        rose@lists.ca.ibm.com
        To
        rose@lists.ca.ibm.com
        cc

        Subject
        rose Re: Re:Class diagram to Data Model transformation limitation
        Ok, the problem is: I am losting ALL information while transforming. The
        Data Model is totally regenerated from Class Diagram for every
        transformation that I do.

        How I avoid this regeneration and just include the new changes on Data
        Models? There is an configuration option, or something like this?

        Thanks again,

        Cipriani
        _______________________________________________
        rose mailing list
        rose@lists.ca.ibm.com
        Unsubscribe:rose-leave@lists.ca.ibm.com

        http://att1.html
        _______________________________________________
        rose mailing list
        rose@lists.ca.ibm.com
        Unsubscribe:rose-leave@lists.ca.ibm.com
        • SystemAdmin
          SystemAdmin
          3659 Posts
          ACCEPTED ANSWER

          Re: Re:Re: Re:Class diagram to Data Model transformation limitation

          ‏2006-06-28T19:04:01Z  in response to SystemAdmin
          Hi Smith,

          Your explanation was very clear, thanks, but I do this (believe me, exactly like you described) on Rational Rose and all table comments are replaced by the comments from NewClass.

          I'm using Rational Rose 2003.06.15, I believe that is not a version problem. There is a configuration option to activate? I search in all configurations menus for an option, but didn't find nothing.

          Thank you again,

          Cipriani
          • SystemAdmin
            SystemAdmin
            3659 Posts
            ACCEPTED ANSWER

            Re: Re:Re: Re:Class diagram to Data Model transformation limitation

            ‏2006-07-11T19:12:15Z  in response to SystemAdmin
            Just finishing this post:

            We concluded that this is a limitation of the Rational Rose after hours trying to find a way to do the merge.

            If anybody is interested in what we have done, please email me.

            Thanks.

            Cipriani
            Advus Corp