In 2001 there is a new feature.
Before tranforming you object to data model, go into Rose browser,
hightlight the class attribute you wish to be the PK, right click,
Data Modeler:Part Of Object Identity.
This will now be the PK.
Otherwise Rose will generate one for you, which it sounds like what
you are seeing.
Patrick Kennedy
Rational Support
On Mar 16, 12:58, Maheswari Subburaman wrote:
> Subject: (ROSE) Problem in Migrating Foreign Keys in Data Modeler.
>
> Hi Everybody,
>
> I was using 2000e and now 2001. But this problem is
> existing in both.
>
> Suppose I have a Table A with primary key P1 and having
> a table B . Now if a association is established between the two
> tables then P1 is not getting migrated to B automatically. I have to
> make P1 as an non-key and then again revert it to PK. But
> during this process it is creating some extra foreign keys in B like
> COL_26 and COL_27 etc.
>
> Is there any other way to migrate a foreign key from a table?
>
> Thanks
> Maheswari
>
>
> ************************************************************************
> * Rose Forum is a public venue for ideas and discussions.
> * For technical support, visit http://www.rational.com/support
> *
> * Admin.Subscription Requests: [EMAIL PROTECTED]
> * Archive of messages:
http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
> * Other Requests: [EMAIL PROTECTED]
> *
> * To unsubscribe from the list, please send email
> *
> * To: [EMAIL PROTECTED]
> * Subject:<BLANK>
> * Body: unsubscribe rose_forum
> *
> *************************************************************************
>-- End of excerpt from Maheswari Subburaman
************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages:
http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************