Synchronizing Column Comments from Relational Model to Data Dictionary?

I've changed/added column comments to a table in my Relational Model. When I try to sync the changes to the Data Dictionary of the Database the new/changed column comments are never included. I can actually see that the values in the Field "Comment in RDBMS" are different in the Compare Models Preview Window but the line is not highlighted in red as I expect, in fact it is even grayed out. I also can't check the corresponding checkbox "selected".
Is there a way to get the comments to synchronize? Do I miss any option I have to set first? Ist this a bug or expected behaviour?
I'm using version 4.0.3 x64 of Data Modeler.
Any help would be much appreciated,
Charlie

Hi Charlie,
The greying out of the "Comment in RDBMS" property would suggest that you have filtered out this property for Column objects in a previous Compare.
To unset the filtering, repeat the sync, and when it displays the Compare Models dialog, select the Options tab and then the Properties Filter tab below it.
Select "Columns" in the left pane, and then find the entry for the "Comment in RDBMS" property in the right pane.  The "Included" check box should be set.
You can then select the Refresh Trees button below these two panes.
If you then go back to the Details tab, any differences in the "Comment in RDBMS" property for Columns should now be highlighted in red.
David

Similar Messages

  • Engineering from relational model to logical model duplicated views

    Hi all,
    Several times, also in different projects, when I engineer from relational model to the logical model, the comparator tool show me de differences.
    In these differences there are no view differences, but when I finish the process everything goes right except that in the logical model under views, I see all the views duplicated with [view_name]v1.
    I've tried not selecting the view checkbox, in the compare dialog,but I get duplicated views also.
    I don't know fir sue if this happens with table also.
    What can I do to solve this problem? Is this a bug?
    Edited by: morfeo8marc on 04-abr-2012 2:02

    The problem is fixed in DM 3.1.1.703 and it's published. You can run following script and save design in order to get mappings for views recovered.
    Philip
    lmodel = model.getDesign().getLogicalDesign();
    rmodels = model.getDesign().getRelationalDesigns().toArray();
    for (var i = 0; i < rmodels.length; i++) {
    rm = rmodels;
    eviews = lmodel.getEntityViewSet().toArray();
    for (var k = 0; k < eviews.length; k++) {
    ev = eviews[k];
    tv = rm.getTableViewSet().getObjectByID(ev.getGeneratorID());
    if(tv == null){
    tv = rm.getTableViewSet().getObjectGeneratedBy(ev);
    if(tv != null){
    rm.getRMExtendedMap().createMapping(ev,tv);

  • Select schemas from relational model on import from data dictionary option

    Hi All,
    I have one relational model with 3 diferent schemas,
    I want to compare one of my schemas with the data dictionary I have in a database,
    I select the import option in the general file menu, select from data dictionary option,
    select the connection from my database,swap target model checked,select a physical model and select the objects i want to compare from the database,
    My problem is that the result is the comparison between all the objects in my model and the objects in the database that I have selected,
    what I really want is to compare a list of objects in my model to a list of objects in my database,
    this could be possible? or always need to compare all the objects of the model?
    Thanks in advance

    Hi jbellver,
    there is no any development in DM 3.1.0.691 on that problem. In production release you'll be able to compare objects in subview with database or just to select several objects and compare them with database. And of course "generate in DDl" filtering still can be used - it works at "Compare dialog" level.
    Philip

  • How to copy field comments from logical model to relational one?

    Dear gurus!
    I had a logical model without field comments. Then I made an engineering of logical model into relational one. Later I added field comments to logical model. How can I copy these values to relational model? Seems to me that when I use
    model.getTableSet().toArray()
    then I get list of relational model tables. How can I get a list of logical "tables" and to get a relations between those two lists?
    Thank you!
    Edited by: user12947051 on 12.01.2012 23:58
    Edited by: user12947051 on 12.01.2012 23:58

    You don't need to write and run script for that. Just use engineering to relational model. Use compare/copy options tab if you don't want something else to go into relational model
    Philip

  • Join data from various model / transpose data in models

    Hello there,
    is there a best practice or pattern to re-use data from a model when the original layout does not match the control's necessities right? Consider the following example:
    var oData = {
      "persons": [
        {"name": "Sonja Software", "phones": ["12345", "54321"]},
        {"name": "Conrad Coder", "phones": []},
        {"name": "Mike Mailinglist", "phones": ["6789"]},
        {"name": "Hugo Hacker", "phones": ["54321"]}]};
    This could be easily used to set up a table for example, see this gist here.
    What is the best way to also show a table of all telephone numbers? I could manually go over the data and set up another model to achieve this:
    var oDataTransposed = {
      "phones": [
        {"number": "12345", "persons": ["Sonja Software"]},
        {"number": "54321", "persons": ["Sonja Software", "Hugo Hacker"]},
        {"number": "6789", "persons": ["Mike Mailinglist"]}]};
    But this would make the two models get out of sync once, e.g. a name is changed. The above mentioned gist has three files. The `exampleTransposed.js` contains a manual inversion making the phone numbers the primary items. But there is certainly a more elegant way to achieve this, isn't it? Maybe by creating a model which itself is bound to the original model by some kind of databinding or some sort of calculated properties, see this comment on knockoutjs.
    M.
    PS: Maybe one should also add a
    {"number": undefined, "persons": ["Conrad Coder"]}
    In order to not to loose some of the persons but this is just a minor detail.

    Hello Martin,
    in the example https://gist.github.com/ricma/cf81829181cfd4e86354 the JSONModel is used. JSONModel is a client-side model. Each of the two tables (person table, phone table) needs its own data and model. In order to synchronize models after editing a table cell, two conversion functions are needed. One function converts person data into phone data, the other converts phone data into person data (see example for implementation):
    function makePhoneList(oPersonList) {
    function makePersonList(oPhoneList) {
    Furthermore, two callback functions are needed. These callback functions shall be called whenever a table cell is modified:
    function personModelChanged(oControlEvent) {
      oPhoneData = makePhoneList(oPersonData);
      oPhoneModel.setData(oPhoneData);
    oPersonTable.addColumn(new sap.ui.table.Column({
      label: new sap.ui.commons.Label({text: "Name"}),
      template: new sap.ui.commons.TextField({
        value: "{personModel>name}",
        change: personModelChanged})}));
    function phoneModelChanged(oControlEvent) {
      oPersonData = makePersonList(oPhoneData);
      oPersonModel.setData(oPersonData);
    oPhoneTable.addColumn(new sap.ui.table.Column({
      label: new sap.ui.commons.Label({text: "Phone Number"}),
      template: new sap.ui.commons.TextField({
        value: "{phoneModel>number}",
        change: phoneModelChanged})}));
    The solution works but has some disadvantages:
    data and models have to be synchronized manually
    for n models, 2n-2 conversion functions are needed
    every modification causes creation of at least n-1 data structures and models
    Best regards,
    Frank

  • Add column comments from excel spreadsheet

    Is there a way to add descriptions that are captured in excel spreadsheets into a relational model's tables and columns? Would it need to be a transformation script or is there another way? Does anyone have a sample of how to do this?

    I use excel all the time to do this since it's easy for me. basically what I do is get everything I need down. Then I use excel to build the sql. I'll add a column with comment on column and other column with the table name with a period. I assume I've got the column name in one excel column and the comment in another. So I'll put a column between the column name and the comment and put in is'. Then after the comment I'll put in ';. Once that's done I load it into a text editor drop all the unnecessary spaces save it and run it.
    Do this with a lot of things. Dump the stuff I need out of the data dictionary or where ever. save it in excel and then do the same trick

  • DM 3.0.0.665: How to remove arc from relational model

    When creating an arc in the logical model, "engineering to relational" will update the relational model so "DDL Preview" shows DDL for two triggers that enforce the arc.
    After removing the arc from the logical model and "engineer to relational" I still see the trigger code in "DDL Preview", as if the arc is still there.
    Where can I see the arc in the relational model, and how do I remove it from the model?
    / Marc de Oliveira
    Edited by: marc66 on 2011-03-01 06:49

    Marc,
    you can see the arc on diagram - probably it's hidden. You can move some of parent tables and probably it'll appear. If still invisible then you can create subview and put child table and two parent tables on it - arc should appear and you can delete it.
    Philip

  • SQL Developer Data Modeler Import Data Dictionary from Oracle 10g

    Whenever I try to import even one table from the data dictionary, it never completes. Is there any known issue with this?

    Hi Eric,
    we don't have such problem reported. Do you use Oracle driver (it comes with product) or it's another driver - JDBC-ODBC or something else? Can you provide more info?
    Best regards,
    Philip

  • Table properties doesn't propagate from Relational Model to physical model

    Hi all,
    I have a relationnal model with several tables and several schema.
    When i create a new table in the relational model with a specified schema, the table is created on the physicla model, but the schema is not prapagate.
    Is there a way to do this automatically ?
    Or do i have to specify the schema on the relationnal and on the physical.
    Thank you

    Hi,
    schema object in relational model needs to be implemented in physical model - user is the implementation of schema in Oracle physical model. User has property "implements schema". You also can omit this redirection and can assign directly user to table but in this case you'll lose the flexibility.
    Here is how DDL is impacted using different option (schema_1 and table_1 in relational model):
    1) physical model is not open - no implementation details
    CREATE TABLE Schema_1.TABLE_1
         Column_1 NUMBER
    ;2) physical model is open - Schema_1 is not implemented
    CREATE TABLE TABLE_1
         Column_1 NUMBER
        ) LOGGING
    ;3) physical model is open - Schema_1 is implemented by User1
    CREATE TABLE User1.TABLE_1
         Column_1 NUMBER
        ) LOGGING
    ;4) physical model is open - Schema_1 is implemented by User1; Table_1 is directly assigned to User2 in physical model
    CREATE TABLE User2.TABLE_1
         Column_1 NUMBER
        ) LOGGING
    ;Philip

  • How to extract data from a structure?(Data Dictionary)

    Hi all,
           This is regarding extracting data from a structure.
    For Eg:if we want to extract data from a structure ADDR1_DATA,How will we do that in report programming?Structures on its own has no existence unless it s attached to a database table or view.when am using 'Where used List' on that structure also I am not getting any database tables or views.What can I do about this?
    Thanking you,
    anjaly

    HI Anjaly,
    as you said structure does not have any value .. unless something is added to it..
    So just use the structure to define the type of the sttructure you want..
    Or to include it in your itab like..
    data : Begin of itab occurs 0.
           include structure ADDR1_DATA.
    data  i type i.
           end of itab.
    you cannot directly extract data from the  structure ADDR1_DATA..
    regards
    satesh

  • Compare model with Data Dictionary shows PK as index

    I know there was already a question about this, but there is no solution to that one.
    When I compare my model to the DB, those indexes created to enforce the PK (which were generated by my model, btw), keep appearing as differences, even if I mark the option to auto generate the PK indexes. How can I solve this?

    Hi,
    this problem is solved in next release. You won't get those support indexes when compare from model to database. You still will have them in opposite direction.
    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? :-/

  • Refresh whole relational model from database

    Version 3.2.09 - Build MAIN-09.30
    Hi,
    I have created a model of my database in SQL Developer using the Data Modeller component by dragging all the table objects from the Tables tree onto the relational and logical panes. As I make changes to the database is it possible to refresh the model. I have used the following method whereby I delete the table graphic in the Relational_x view and then dragging the object from the object browsing tree back into the relational diagram, but is there a button that I can push that will just rip through and refresh my relationship diagram as a whole?
    Ben

    Yes, on the main toolbar, there's a blue button that points to the LEFT. Read more about that here.
    By the way, there's another way to add the tables/views from your database, might be easier than doing the drag and drop. Use File > Data Modeler > Import > Data Dictionary.

  • Problem when engineering to relational model

    I have modeled everything in Logical model and then engineered it to the relational model. Now I have to make some changes, and I'm doing them in Logical model. When I'm engineering it to Relational, although I just altered one single item, I see that it's also bringing some other entities as altered. Inpecting these I see that all of them relate to identifying foreign keys with more than one column. For examplo, I have an entity with 2 columns as primary key, and a second entity with an identifying foreign key to the first, and a third column, based on a sequence, which, all three of them, are the second tables primary key. Everything is OK, I haven't changed anything on any of these entities, but when I'm engineering to relational, it creates a duplicate of one of the columns on the relational model, and alters it's name appendig a number 1 after it. If I try engineering again, it is going to create another column appending a number 2 and so on.... I think this is a bug.... am I right?
    My alternate solution is to drop the foreign key on the relational model, thus dropping both columns, and then engineering from Logical again. Everything keeps working fine, until I close my model. When I open it again, the same problem reappears....

    Philip,
    Sorry for my too late reply, as I forgot to flag this discussion to notify me via e-mail. Thanks for your response, but I was actually using DM 4.0.1.836 and this issue still persisted.
    I just downloaded DM 4.0.2.840, and the issue still persists. I just opened my original model and, without making any changes, tried to forward engineer from logical to relational, and it brings up differences on exactly the same tables.
    Wolf
    P.S.: I've gone through the motions of dropping the FKs on the relational model, dropping any orphaned columns (from these FKs) and re-engineering. Afterwards, I saved and closed all models, closed the application, opened it again and opened my model and the issue persists.
    I also created a new model, with some tables using the same principles, and no error occurred, although in this new model I didn't create a physical model.
    Is it possible that something is wrong with my original model?

  • Renaming Foreign Keys in the Relational Model

    Hi,
    I'm new to Data Modeler, we are using v 3.0.0.66.5 and Oracle 11g, and I'm trying to build a Logical and Relational model for a new application.
    We always name our Primary Keys as ID, this is causing me a problem with my Foreign Keys names in the Relational Model, as they are showing as ID#. Is there a way to add the abbr. of the table to the Foreign Key?
    Thanks in Advance
    Sue

    I always do that job using Naming Standard Templates. This sequence renames ALL FK COLUMNS for ALL TABLES only in RELATIONAL MODEL:
    -Preferences > Data Modeler > Naming Standards > templates
    -into the box "Column Foreign Key"
    -Put something like that: {ref table}_{ref column}
    -Then, go into your modeler tree, select the relational model, right click and use "Apply Naming Standards to Keys and Constraints"
    -deselect all
    -select the last option "Column Foreign Key"
    -Go.
    What if the names still collide? What if you want to do the job for some--but-not-ALL tables? forget the method above. A transformation script will do that.
    You'll need some of these building blocks:
    - table.getFKAssociations()
    - keys.getRemoteTable().getAbbreviation()
    - column.setName()
    I'm novice to script coding, sorry I can't assemble a scripted solution right now.
    Edited by: T. on May 31, 2011 8:50 AM

Maybe you are looking for

  • Problem with volume handle and external SWF

    Hello I'm having 2 problems. The first is that when loading an external swf in my main SWF I get this in the output window: TypeError: Error #1009: Cannot access a property or method of a null object reference. at audio_fla::list_1/frame1() at flash.

  • Conecting a JVC HDD GZ-MG150 to mac

    Can somebody give an idea what actualy JVC means " 1. Click on the "DOWNLOAD". 2. Double click on the "JVCVideoDecoder.sit" icon. 3. Drag the "JVC Video Decoder" icon to the "System Folder",then drop the icon there. 4. Click the "OK" button when the

  • Export BLOB to file system folder in Oracle 8i

    Hi Folks, I want export the doc and zip files from oracle column BLOB to folder on my desktop / network . Can anyone please suggest the easiest way . Thanks

  • Condition Exceptions

    Hi Im using the following API: CL_WS_HELPER=>get_proxy_abapkey_by_esrkey(   EXPORTING     esr_key   = l_t_esr_key   IMPORTING     abap_key  = l_t_abap_key EXCEPTIONS    not_found = 1 This API throws NOT_FOUND Exception. Questions: 1. I'm not able to

  • Restore data from windows to new ipad

    How do I restore data from windows to new  iPad please?