3

I'm trying to create a datamodel in the Oracle Data Modeler module that is available in Oracle SQL Developer. I would like to maintain my data dictionary from this model. To do this (I think) I need a generated DDL file for which the attributes are not longer than 30 characters.

I have just discovered Oracle SQL Developer and am completely new to creating these kind of models. What I have done so far. I have created a logical model and have engineered it to a relational model. From the relational model I can then generate DDL scripts that I can run on the database to make the changes I want.

When doing this I run into a problem. When engineering the logical model to a relational model I can see that the foreign keys I have made become more than 30 characters. This is because it seems to generate the name as (see picture)

From searching it seems you should be able to fix this with naming standard templates. I have looked for this menu option but can't find it. I have found the name abbreviations functionality for which you can upload .csv files but I think this is for something different.

Rightclicking on the logical model in the datamodeler browser view gives me the opportunity to Apply naming standards, but this gives me a message that I should turn off the keep as the name of the originating attribute option (see picture). I have looked for this but can't find this option.

My version of Oracle SQL Developer is 4.1.3.20, Build MAIN-20.78.

Please let me know if my story is not clear. Thanks.

Generated column name Applying name standards message

MT0
  • 143,790
  • 11
  • 59
  • 117
pSi
  • 31
  • 2
  • 1
    Actually I have found the naming templates now. Opening the data modeler browser and then rightclicking on the overall (expandable) datamodel shows this option. I rightclicked on the logical and the relational model but not this one... I have also found the setting for the naming standards problem in Tools>Preferences>Model>Logical It helps for getting the right names in the logical model but when I engineer it to relational model I still get the long name for the foreign key. Does it use a different template for this? – pSi Aug 22 '17 at 10:25

1 Answers1

0

You will find the option under Tools/Preferences/Data Modeler/Model/Logical

enter image description here

Dharman
  • 30,962
  • 25
  • 85
  • 135