Engineering to and from logical and relational models

I have tried to modify a logical model entity by adding an attribute or two, tried to engineer to the associated relational model, only to have the engineering process create a brand new table rather than adding the new column or two to the existing table.
Creating the column in the table first and engineering back to the logical model didn't appear to do anything, although I might have missed a new logical entity.
Is this how the product is supposed to work?

Hello,
I'm sorry but your steps are not evident for me.How it works - you can start from table or entity, it doesn't matter which one is first you should be able to synchronize changes.
Let's assume you have two relational models RM1 and RM2 and table TABLE_1 in RM1. if you engineer RM1 to logical model then entity will be created that corresponds to TABLE_1 in RM1 (and it will be named TABLE_1 if you don't use glossary that provides replacement of TABLE with something else).
You can add attribute to entity and engineer logical model to other relational model (RM2) - new table will be created in RM2.
Add one more attribute to entity and engineer to RM1 - two attributes will appear showing that two new columns can be created - they are not selected and you have to select them if you want columns to be created.
You'll get only one new attribute (column) if you engineer to RM2 - the first added attributed is already there as column.
Of course you can add columns in tables and can synchronize them with entity in logical model.
Philip

Similar Messages

  • Delete rule from logical to relational model

    hello!
    I use data modeler Version 3.1.0.700 and I have some problems with delete rule.
    I have set delete rule in logical model on every relation (NO ACTION) but when i engineer it to relational there is everything randomized.
    How do i change this to be as it is in logical model?
    Thank you for your answer in advance!
    Grega

    as I explained in previous post "delete rule"in logical model is used in only one case:
    the setting in logical model is used only when relationship will be transformed into optional foreign key with non mandatory FK columns.Settings in compare/copy options" tab are used to exclude some properties from compare and engineer process.
    Philip

  • Column Prefix from Logical to Relational Model

    Hi,
    is there any option, that data modeler append an prefix (table short name) to a column, when the logical model will be transformed to relational model? (Same behavior as Oracle Designer)
    Example:
    Logical Model
    TABLE: PERSON
    TABLE-SHORT: PERS
    COLUMN-1: ID
    COLUMN-1: NAME
    Relational-Model
    TABLE: PERSON
    COLUMN-1: PERS_ID
    COLUMN-2: PERS_NAME
    Kind Regards,
    Stefan

    Thanks for your answer!
    This Script is not really working for me, because of our foreign keys.
    All our Foreign-Keys are named "ID" (for nummeric column) or "INDEX" (for a varchar column). After the transformation form logical to relational all the foreign-keys are named like "ID1", "ID2", "ID3", "INDEX1", "INDEX2" etc.
    There is no way to apply this script before the foreign-keys where added in the tables?
    The Second Way is to create a new script for this task.
    am i the only one with this problem? :-/

  • Views always appear as different when engineering from Logical to Relational

    I created some views in my logical model. After I engineer them to relational model, they appear in relational with an exclamation mark near the upper left corner. If I try to generate ddl for them, I get an error (--  ERROR: Invalid View VwTest). I realized that I have to "validate selected views", in order for the eclamation mark to disappear, and then I am able to generate ddl for them. After that, when I engineer from logical to relational again, it always shows me that my views are different. The difference is that in logical, my entities are shown between double quotes ("), while in relational, after the validation, the tables are not between double quotes. Is there a way to overcome this?
    Thanks

    Hi,
    Thanks for reporting this problem.  It appears that this is happening when the Entity name contains lower-case letters.
    David

  • Help!!! I can not make or receive calls! other functions itself. Internet, sms, whatsapp work. I restored as new iphone from the phone and from itunes and still not working.

    I can not make or receive calls! other functions itself. Internet, sms, whatsapp work. I restored as new iphone from the phone and from itunes and still not working.
    Sorry for my english i'm spanish

    I have not tried that...I will look up the process so that I can do it correctly (and still transfer all of my files, contacts, etc).  Any suggestions?  What is the advantage of restoring as a new device..is this more akin to a complete wipe of a hard drive?

  • FWDEngineering.execute() nullpointerException when engineering from logical to physical model

    Dear Community,
    During the "engineer to relational model" from the logical model I got a long time the correct behaviour.
    Now I get the following error in the log file: "ERROR FWDEngineering - FWDEngineering.execute()" NullpointerException
    The model is not that large but contains a number of entities with sub-entities for which I set the way of implementation to generate a single table.
    Test 1: Restart
    Removing the model has not solved the problem for this ... (delete entire relational model)
    Test 2: reset subtype implementation to default behaviour
    So on the level of the super entity the following settings are set on the subtype property page:
      - subtree do not preset
      - No Discriminator column
      - no 'use attribute' selected
      - no column name set,
    The model generates the foreign keys ... and gives no error.
    Test 3 : setting discriminator.
    Juglin' around with the properties I noticed that when after starting from test 2 and setting the property "generate discrimator" *and* selecting the name of the discriminator colomn the error can be reproduced. Currently I do not know fit the setting subtree together with discriminator column is logically correct ... but I get the stacktrace ;-)
    Test 4 : can the subtree generation mode solve it -> Seems I'm not able to set it to an other value than "do not preset" anymore.
    Version datamodeler is 4.0.0.833
    Test 5 : Created a smaller model ... and tested if the foreign key generation in itself caused the problem. Removing the relationship with a subentity does not cause the problem to not occur ...
    At this moment in time ... it seems to me I cannot set the mode to generate the master entity and its subs to one table anymore.
    What am I doing wrong?
    ... and anyway ... there is a stacktrace ;-)
    Has anyone some solution/experience with this?
    For the completeness ... the stacktrace, which shows a processDiscriminatorColumn ....
    Oh yes ... also for completeness: in the test with a subentity not having a relationship the method calling the processDescr... is a different one inheritancePostProcessingNew() ...
    Thanks you all.
    2014-01-30 18:35:39,795 [AWT-EventQueue-0] ERROR FWDEngineering - FWDEngineering.execute()
    java.lang.NullPointerException
      at oracle.dbtools.crest.model.design.engineering.FEEntityHierarchy.processDiscriminatorColumn(FEEntityHierarchy.java:592)
      at oracle.dbtools.crest.model.design.engineering.FEEntityHierarchy.createFKeysNew(FEEntityHierarchy.java:921)
      at oracle.dbtools.crest.model.design.engineering.FEEntityHierarchy.inheritancePostProcessingNew(FEEntityHierarchy.java:861)
      at oracle.dbtools.crest.model.design.engineering.FWDEngineering.processEntities(FWDEngineering.java:275)
      at oracle.dbtools.crest.model.design.engineering.FWDEngineering.execute(FWDEngineering.java:107)
      at oracle.dbtools.crest.model.design.Design.forwardEngineer(Design.java:895)
      at oracle.dbtools.crest.swingui.engineeringcompare.EngineeringCompareDialog.engineer(EngineeringCompareDialog.java:992)
      at oracle.dbtools.crest.swingui.engineeringcompare.EngineeringCompareDialog.access$3200(EngineeringCompareDialog.java:125)
      at oracle.dbtools.crest.swingui.engineeringcompare.EngineeringCompareDialog$22.actionPerformed(EngineeringCompareDialog.java:1777)
      at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
      at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
      at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
      at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
      at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
      at java.awt.Component.processMouseEvent(Component.java:6505)
      at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
      at java.awt.Component.processEvent(Component.java:6270)
      at java.awt.Container.processEvent(Container.java:2229)
      at java.awt.Component.dispatchEventImpl(Component.java:4861)
      at java.awt.Container.dispatchEventImpl(Container.java:2287)
      at java.awt.Component.dispatchEvent(Component.java:4687)
      at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
      at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
      at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
      at java.awt.Container.dispatchEventImpl(Container.java:2273)
      at java.awt.Window.dispatchEventImpl(Window.java:2719)
      at java.awt.Component.dispatchEvent(Component.java:4687)
      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
      at java.awt.EventQueue.access$200(EventQueue.java:103)
      at java.awt.EventQueue$3.run(EventQueue.java:694)
      at java.awt.EventQueue$3.run(EventQueue.java:692)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
      at java.awt.EventQueue$4.run(EventQueue.java:708)
      at java.awt.EventQueue$4.run(EventQueue.java:706)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
      at oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
      at oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:154)
      at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:182)
      at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:221)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:219)
      at java.awt.Dialog.show(Dialog.java:1082)
      at java.awt.Component.show(Component.java:1651)
      at java.awt.Component.setVisible(Component.java:1603)
      at java.awt.Window.setVisible(Window.java:1014)
      at java.awt.Dialog.setVisible(Dialog.java:1005)
      at oracle.dbtools.crest.swingui.engineeringcompare.EngineeringCompareDialog.show(EngineeringCompareDialog.java:1766)
      at oracle.dbtools.crest.swingui.browser.BrowserPanel$41.actionPerformed(BrowserPanel.java:1145)
      at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
      at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
      at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
      at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
      at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
      at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
      at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
      at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
      at java.awt.Component.processMouseEvent(Component.java:6505)
      at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
      at java.awt.Component.processEvent(Component.java:6270)
      at java.awt.Container.processEvent(Container.java:2229)
      at java.awt.Component.dispatchEventImpl(Component.java:4861)
      at java.awt.Container.dispatchEventImpl(Container.java:2287)
      at java.awt.Component.dispatchEvent(Component.java:4687)
      at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
      at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
      at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
      at java.awt.Container.dispatchEventImpl(Container.java:2273)
      at java.awt.Window.dispatchEventImpl(Window.java:2719)
      at java.awt.Component.dispatchEvent(Component.java:4687)
      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
      at java.awt.EventQueue.access$200(EventQueue.java:103)
      at java.awt.EventQueue$3.run(EventQueue.java:694)
      at java.awt.EventQueue$3.run(EventQueue.java:692)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
      at java.awt.EventQueue$4.run(EventQueue.java:708)
      at java.awt.EventQueue$4.run(EventQueue.java:706)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
      at oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
      at oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

    Hi ViForEver,
    thanks for detailed report. We also found the problem in engineering of entity hierarchy when existing attribute is used as discriminator column. No such problem when leave DM to create new discriminator column.
    Problem is fixed and fix is included in the forthcoming patch release.
    About your questions/observations:
    can the subtree generation mode solve it -> Seems I'm not able to set it to an other value than "do not preset" anymore
    Generation of table for given entity depends on "Engineer to" flag and it can have different value for each relational model. If the flag is checked then table will be generated for that entity
    otherwise attributes will be implemented by another entity down or up in the hierarchy. So two combo boxes in "Entity and sub-tree generation preset" help you to set that flag for entity
    and it's sub-tree. It's functionality behind them, not properties so they are always in initial state when you reopen dialog.
    Currently I do not know fit the setting subtree together with discriminator column is logically correct
    They are related - discriminator column won't be generated:
    1) if you go for sub-types implementation
    2)implement all entity but "References" is set to arc implementation.
    Philip

  • New Guy Question about Name Changes from Logical to Relational

    Sorry for the "New Guy" question. I am trying to do this the way I wished it worked rather than the way it does.
    Lets say I have an Entity named "Current Database" with an Attribute named "Current Database Name". All this is in plan english for the Logical Model. Now when I generate the Relational Model I would like the Table named "CDCD_CURRENT_DB" and the column named "CURRENT_DB_NAME".
    I have been working with a Glossary and some other features trying to get this to work. It kind of does but I do not fully get it and I think I am missing out on much of the power of the product. I have been forcing the Nickname "CDCD" (As we call it) and the "Database" to "DB" in the "Preferred Abbreviation" of the Entity.
    I am working with v3.3.0.734
    Thanks for the help.

    Hi Sky13,
    it can be done with glossary but it looks to me what you want is not that native to glossary approach.
    it's good to look here for basics http://www.oracle.com/technetwork/developer-tools/datamodeler/datamodelernamingstandards-167685.pdf
    Example here also could be useful if you want to go with glossary - Re: Data Modeler: Naming
    If you want to use preferred abbreviation then it should be CDCD_CURRENT_DB.
    For me CDCD_ is just a prefix - you can handle it separately in relational model - on whole model, on subview and in both cases classification types also can be used to determine how objects are prefixed.
    You don't want Current to be abbreviated then do not put it in glossary however you need to check "Incomplete modifiers" check box in glossary.
    Entity property "Short name" goes to table abbreviation during engineering. There is a transformation script which will prefix table columns with table abbreviation if you need it. And another one can remove the prefix.
    You can define plural name in glossary and if entity name is a single word then plural will be used during name translation.
    Philip

  • Propagate a deleted attribute from Logical to Relational

    SQL Developer Data Modeler 4.0.0.825
    Hi. From what I gather from the manual, when we delete an attribute from an entity in the Logical model, then Engineer the Relational model, the change should be detected and allow up to decide how the chage is handled in the "Synchronization of Deleted Objects" table of the Engineer to Relational wizard.
    But the deletion is not showing in "Synchronization of Deleted Objects" and it does not get deleted in the Relational Model.
    Here's what I am doing.
    Create the "Library" model in the SQL Developer Data Modeler tutorial
    Engineer a Relational Model
    Add a new attribute "Date of Birth" to the Patrons entity in the Logical
    Re-Engineer the Relational (new column is created)
    Delete "Date of Birth" from Patrons in the Logical model
    Re-engineer Relational
    There are no little "change" icons in the comparison screen - it looks like there are no changes at all
    Nothing appears in the Synchronization of Deleted Objects tab
    When I click "Engineer", there Date_of_Birth column is not deleted from the Relational model
    Am I doing something wrong?
    If I reverse engineer from Relational back to Logical, it DOES identify the Date_of_Birth column as a difference and it wants to copy it back to the Logical.

    Hi Ross,
    you need to download DM 4.0 production release (4.0.0.833) - it should work there.
    Philip

  • How to apply a change from logical to retional model without populate eryth

    How to apply a change from logical model to retional model without populate everything? Thanks!

    I know it. Thanks!

  • DM 3.0.0.665 / Can't delete schema information from PK in relational model

    I’m trying to erase schema infromation from primary keys in relational mode by opening Primary Key Properties window and selecting the empty line from “Schema” pull down menu. When I click OK I get the following: "There is a Foreign Key on this Key. The status cold be PK or UK only". I didn’t change anything else, only tried to clear the schema information. This does not happen with every primary key, only some of them, but I haven’t figured out how they differ from each other.
    I managed to clear schema information from some primary keys by deleting the schemaObject tag from the xml file. But I still have few primary keys left that didn’t have the schemaObject tag in xml and still have schema name in Primary Key Properties, and I’m not able to choose empty from the Schema pull down menu

    Hi,
    Thanks. I logged a bug on this. It looks like the problem is occurring if there is a Foreign Key relationship to the Table with the PK.
    David

  • Calls worked through Mac and from iPhone and Now Suddenly Don't Work at All

    After Monday's update, I was able to make and receive calls through my iPad 3 and iMac (about a year old) with no problems at all. Matter of fact, it was a little annoying to have all three devices ringing whenever I received a call. Then mid-week, this feature did not work at all.
    What I've Done:
    1) I've gone through the set-up guides and now my FaceTime doesn't even show the option to set-up this feature.
    2) I've signed out of FaceTime on both devices multiple times.
    3) I signed all the devices in on my iCloud e-mail to ensure they are on the same page.
    Now phone number don't even show the option to call when I was freely making phone calls just a few days ago from my Mac, a feature I love. It's as if the settings don't even reflect it's possible to set-up this feature. On the FaceTime settings it doesn't even have the check box for allowing calls to be connected through.
    Please help.

    Hi Brian,
    If you are having an issue with your iPhone and other devices not being able to make or receive phone calls I would suggest that you troubleshoot using the steps in this article - 
    Get help using Continuity with iOS 8 and OS X Yosemite
    Thanks for using Apple Support Communities.
    Best,
    Brett L 

  • Can't open attachments in firefox. Ok in i.e and from iphone and outlook

    When using firefox for email, I am now unable to open any attachments. It has happened during the last week, before this it was fine and I haven't changed any settings (that I am aware of).
    I have tried all the usual reboot stuff and looked at as many settings as possible, but nothing jumps out.
    The same email attachments open fine in outlook, from my iphone and in ie, but I prefer the firefox as I am used to using it for so long now. Also, old attachments that I have opened in the past will no longer open.
    Never had any problem before with opening attachments. All programmes are affected - word, excel, pdf etc.
    Thanks - Jacki

    Hello,
    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information. <br>
    '''Note''': ''This will cause you to lose any Extensions and some Preferences.''
    *Open websites will not be saved in Firefox versions lower than 25.
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!
    Thank you.

  • Problems sending audio to and from STP and then back into FCP

    I am having problems getting audio clips back into FCPro 5 after sending them to STP and editing them.
    This is my process: "Send" mono file to STP as new audio project file.
    Save it in the dialog that opens with "sent" at the end...then it opens in STP.
    Edit it.
    Save it and select include audio source files.
    Switch back to FCPRo and I have a warning "Some Files Went offline", namely the one I just sent to Soundtrack. The clip is now apparently offline and white colored but now has the file name with "sent" included.
    Where did I go wrong? This was working for me previously.
    Dave Beaty all the latest SW versions ect...
    imacs Dual G5's, G4's   Other OS  

    Hi Blearyeyes,
    I was just relaying what I've heard about the media going offline--I didn't claim that it made sense to me in these sorts of workflows where you know you are changing the media in STP, because you've just sent it to STP to be modified.
    I've since dug through the FCP manuals, and it looks like it's the FCP rules about when a clip is considered to be offline that we're hitting--in the User Manual Part 2, on pages 79-80 there are some details about what causes the clip to go offline.
    Here is one of the key statements from page 80--a clip is considered offline, "when a media file is modified, moved, or deleted, the modification date of the media file is changed, or the scratch disk becomes unavailable."

  • Engineering (logical to relational) does not do name translation/variable population as expected

    I am using OSDDM 3.3.0.747.
    I have set up the following template formats, e.g.
    Foreign Key: {table}_FK{seq nr}
    Unique Constraint: {table}_UK{seq nr}
    When I engineer from logical to relational model, I get generated names like the following:
    {TABLE}_FK3
    TENANTS_UK{SEQ_NR}
    TENANTS_UK{SEQ_NR}v1
    How do I stop this from happening?

    Hi,
    thanks for reporting the problem. I logged a bug for problem related to Unique constraint.
    For foreign key - there is no variable {table} in template  for FK. You can use {child} or {child abbr} instead.
    As workaround for Unique constraint - you can apply naming standards for whole relational model - "Apply Naming standards for Keys and Constraint" in context menu for relational model in browser, or at table level - table dialog
    Philip

  • Engineer to Relational Model case sensitive?

    I developed my database in the Logical Model using Upper and Lower case. When I`m engineering from Logical to Relational Model, it keeps showing me that all atributes have their names wrong and marks them for change in the relational model. Is there a way to inform data modeler to not consider the change in case as differences?

    The thing is that in the Relational Model, all objects are beeing generated in uppercase. When I'm going to update the relational model by enineering from Logical, the program always shows me that the column names are different, when they are not, because the only difference is case! There is already a parameter for the engineering not to test for different case in the entity's name, but no parameter for it in the atribute's name!

Maybe you are looking for