DataModeler: import of the data dictionary table comments

Hi, I begin barely using SQL DataModeler and seems to have a problem with regard to the comments of reverse engineering table.

When you use Import > data dictionary, I have no trouble importing column comments, but the comment table always seem to come up empty. I see no obvious option for y understood/off table/column comments so am puzzled as to why column comments import very well but the comments in the table are not (Yes, the tables, I'm importing have comments on the tables and columns).

What Miss me? Any help is appreciated.

-Andy.

Hi Andy,.

There is no option for this. They should be included, but unfortunately there is a bug and not included.

Philippe

Tags: Database

Similar Questions

  • Can I use the data dictionary tables based on RLS policy?

    Hello guys, I use the package level security line to limit certain lines to some users.

    I created several roles, I want to just enable certain roles to see all the columns, but the other roles, I'm not that they see all the lines. I mean to do this I use the session_roles table data dictionary however it did not work.

    What to do in order to not allow rows of user roles?
    Can I use the data dictionary tables in RLS?


    Thank you very much.

    Polat says:
    What to do in order to not allow rows of user roles?
    Can I use the data dictionary tables in RLS?

    Ensure that:

    SQL> CREATE OR REPLACE
      2    FUNCTION no_sal_access(
      3                           p_owner IN VARCHAR2,
      4                           p_name IN VARCHAR2
      5                          )
      6      RETURN VARCHAR2 AS
      7      BEGIN
      8          RETURN '''NO_SAL_ACCESS'' NOT IN (SELECT * FROM SESSION_ROLES)';
      9  END;
     10  /
    
    Function created.
    
    SQL> BEGIN
      2    DBMS_RLS.ADD_POLICY (
      3                         object_schema         => 'scott',
      4                         object_name           => 'emp',
      5                         policy_name           => 'no_sal_access',
      6                         function_schema       => 'scott',
      7                         policy_function       => 'no_sal_access',
      8                         policy_type           => DBMS_RLS.STATIC,
      9                         sec_relevant_cols     => 'sal',
     10                         sec_relevant_cols_opt => DBMS_RLS.ALL_ROWS);
     11  END;
     12  /
    
    PL/SQL procedure successfully completed.
    
    SQL> GRANT EXECUTE ON no_sal_access TO PUBLIC
      2  /
    
    Grant succeeded.
    
    SQL> CREATE ROLE NO_SAL_ACCESS
      2  /
    
    Role created.
    
    SQL> GRANT SELECT ON EMP TO U1
      2  /
    
    Grant succeeded.
    
    SQL> CONNECT u1@orcl/u1
    Connected.
    SQL> select ename,sal FROM scott.emp
      2  /
    
    ENAME             SAL
    ---------- ----------
    SMITH             800
    ALLEN            1600
    WARD             1250
    JONES            2975
    MARTIN           1250
    BLAKE            2850
    CLARK            2450
    SCOTT            3000
    KING             5000
    TURNER           1500
    ADAMS            1100
    
    ENAME             SAL
    ---------- ----------
    JAMES             950
    FORD             3000
    MILLER           1300
    
    14 rows selected.
    
    SQL> connect scott@orcl
    Enter password: *****
    Connected.
    SQL> GRANT NO_SAL_ACCESS TO U1
      2  /
    
    Grant succeeded.
    
    SQL> connect u1@orcl/u1
    Connected.
    SQL> select ename,sal FROM scott.emp
      2  /
    
    ENAME             SAL
    ---------- ----------
    SMITH
    ALLEN
    WARD
    JONES
    MARTIN
    BLAKE
    CLARK
    SCOTT
    KING
    TURNER
    ADAMS
    
    ENAME             SAL
    ---------- ----------
    JAMES
    FORD
    MILLER
    
    14 rows selected.
    
    SQL> 
    

    SY.

  • Import of the data dictionary trigger definitions

    Hi I just installed Oracle SQL datamodeler and try to import the schema definition. It import all the elements (tables, views, stored procedures, functions and so) except trigger
    Please notify

    Best regards
    Virgil

    Hi, Virgil,.

    Triggers associated with Tables or views must be imported. If you expand the node of the Table or view in the part of the physical model of the browser tree relevant, you should find the triggers there.

    System triggers are not currently imported.

    Note that there is a forum specifically for the SQL Developer Data Modeler: SQL Developer Data Modeler

    Kind regards
    David

  • Technical details of the package in the data dictionary

    Hi can u tell someone in what data dictionary table func or procedure declared in the package specification is stored?

    For ex.

    CREATE OR REPLACE PACKAGE IN THE PKG_TEST

    F_1 FUNCTION RETURN NUMBER;

    F_2 FUNCTION RETURN NUMBER;

    F_3 FUNCTION RETURN NUMBER;

    -----------------------------

    -----------------------------

    -------------------------------

    FUNCTION F_10 RETURN NUMBER;

    END PKG_TEST;

    Now the data dictionary tables, I want to know what are the functions created in PKG_TEST.i.e. He me F_1 would list at F_10.

    I checked in User_Source, but finding not useful.

    user_procedures

  • Problems with synchronization model with the data dictionary

    Let me start by saying that I do something wrong (there not much documentation on this product so far...).

    I designed my whole from scratch in SDDM 3 and then put model upgraded to SDDM 4. There is already a problem with the sync option from the data dictionary model, in which it works only if first import you an object any in the data dictionary for the model for the reverse to work. I did, and now I can't start the synchronization successfully. The thing is, but I have all the objects already created in my database, according to a specific schema, each time I start the synchronization, it always tells me that none of my model objects exist on the destination! I've tried setting the owner on the physical model, remove, modify the connection to connect with the owner objects, but nothing seems to work.

    Any ideas?

    Hello

    You need clear information source banner and rename the schema in the relational model if you want to use the Sync feature, otherwise, you can use import wizard of data dictionary (possibly to check 'target swap') and to

    don't check box "use schema property in compare features" If your schema is changed.-"preferences > Data Modeler > DOF > compare > ' or to compare options in compare dialog.

    You can clear information source banner by selecting all the objects on the diagram (Ctrl-A) and use 'Clear stamp source' in the context menu for the selected objects.

    In the next version - there are options to work around the source schema and the name of the source object, and you can use different user and change the name of the table in the physical model in order to synchronize with a different schema or even track changes in table name.

    Philippe

  • SDDM 4.0 - synchronize the data dictionary can not detect existing CF

    I started a data model implemented in version 3 of SDDM somewhere, then had to ask for about 9 months and pick it back up.  When I picked up back, 4.0 RC3 shone, so I used to work on the old model.  Some problems have emerged, and one that is currently more frustrating is when I use the "Sync data dictionary" feature to create the DDL to change the physical table based on changes to the model that I made.

    I used to be able to just do a right-click on the table, choose Synchronize the data dictionary, and then only the changes I made would be generated.  Now, however, the function Compare seems to not be able to detect certain properties of the physical implementation table he is comparing it to.  For example, there is a table with FK 3 and compare it detects that one of them, then it attempts to create them from scratch.  Of course fails because there are actually the CF.  I tried not to drop and re-create the keys in the comics because I don't want to go to this effort for each table.

    I can post screenshots if you illustrate the problem like this.  Does anyone have advice?  It seems that there is a bug in the software.  Thank you.

    Hi Mike,.

    Thanks for reporting the problem. I logged a bug for this.

    The synchronization works without problem if all of the tables involved are included in the sync operation. The problem is caused by PK/UK constraints with system-generated names.

    You can call the synchronization on a selection of objects (one or more), on a subview or the entire model. You can use "Select neighbors" in order to obtain selected related objects or

    'Create subview with neighbors' available in the context menu for the table in the browser.

    Philippe

  • Import ONLY the DATA without the firering triggers

    Hi, I'm on 10.2.0.4 on windows 2008. I did a (EXPDP) Export with data a USER ly, I want to import (IMPDP) data to the user with the option TRUNCATE.

    Everything looks ok before seeing that the trigger of my paintings are triggered because import no INSERTS...

    There are my settings:


    DUMPFILE = "DESTRUCTION_DATA.dmp"
    LOGFILE = "imp_DESTRUCTION_DATA.log"
    DIRECTORY = DATA_PUMP_DIR
    CONTENT = DATA_ONLY
    TABLE_EXISTS_ACTION = TRUNCATE
    JOB_NAME = 'xxxxxx '.

    What is the best way to EXPORT and IMPORT only the data of a user without when everything is triggered.

    What I want to do is to update my database to test with productiomn data. I don't want to DROP the user and re-create all of its objects.

    Edited by: Jpmill 2010-11-09 12:01

    As the destination tables have already created triggers, you must disable it manually before the impdp and allow it after.

    To disable triggers, simply run the output of the following query connected as the user owner of the data:

    SELECT 'ALTER TRIGGER ' || trigger_name || ' DISABLE;'
    FROM user_triggers;
    

    Or do the same thing with pl/sql:

    BEGIN
      FOR i IN (SELECT trigger_name FROM user_triggers) LOOP
          EXECUTE IMMEDIATE 'ALTER TRIGGER ' || i.trigger_name || ' DISABLE';
      END LOOP;
    END;
    /
    

    To allow them to return is almost the same, just change DISABLE to ACTIVATE.

    The steps are:

    1. disable triggers
    2 - impdp
    3 activate the triggers

    Concerning

  • How to save the data in table 1 d to Excel in continuous

    Mr President.

    How to save the data in table 1 d to Excel at all times, so that all the data of the first scan must be placed first thought and all the data from the second analysis must be placed on the second Board and continue on the street...

    Sy@m...

    Hi Sy@m

    Here is a vi that might give you a few ideas to try:

  • Get the data in table of javafx

    Bat I can get the data in table as:

    [code]

    for (int i = 0; i < dtm.getRowCount (); i ++)

    {

    for (int j = 0; j < dtm.getColumnCount (); j ++)

    dtm.getValueAt (i, j);

    [/ code]

    But how can I do this with javafx table? I google and google and google and no luck.

    In JavaFX make data are stored on a basis per line. Each line contains an element of type T (where you have a TableView), and each column specifies a value using a callback function that determines the value of the column of the value of a particular line.

    You can browse the data simply by practice

    for (T item : table.getItems()) {
      // ...
    }
    

    And then get the value of each column for each element of the given line, since you "know" what each column represents.

    For example, in the example of JavaFX documentation, you could do:

    for (Person person : table.getItems()) {
      String firstName = person.getFirstName(); // value in firstName column
      String lastName = person.getLastName(); // value in lastName column
      String email = person.getEmail(); // value in email column
    }
    

    If you want something really generic, you can try

    for (T item : table.getItems()) {
      for (TableColumn col : table.getColumns()) {
        Callback, ObservableValue> cellValueFactory = col.getCellValueFactory();
        CellDataFeatures cdf = new CellDataFeatures(table, col, item);
        Object cellValue = cellValueFactory.call(cdf).get();
        // do something with cellValue...
      }
    }
    

    If you have little chance to this need, unless you write some kind of framework. (I just typed it here, you may have get dirty you with guys a little to make things).

  • Delete the data in table dumy ABC if I logout, click sign OUT

    Hi friend

    I want to delete all the data in table dumy ABC if I logout in click the LOGOUT link in Upper right side.

    How can I do that.


    Thank you

    Just tried original link, I've included a few... after the link: http://dgielis.blogspot.com/2007/07/oracle-apex-behind-scenes-logout.html

    Try it now...

    Thank you

    Tony Miller
    Webster, TX

  • all export and import and the data files location

    Hi guys,.

    can someone please confirm...

    If I export the entire base and my X tablespace uses the loc * 1 data file * / test1.dbf, in the database where I matters now in the data file is in loc * 2 * / test1.dbf, it does make a difference and the data gets imported correctly, Yes?

    If I export the entire base and my X tablespace uses the loc * 1 data file * / test1.dbf, in the database where I matters now in the data file is in loc * 2 * / test1.dbf, it does make a difference and the data gets imported correctly, Yes?

    No, it makes no difference and the import of the data correctly.

  • Comments not imported SQL Server data dictionary. SDDM 3.3.0.747

    Hello

    SDDM 3.3.0.747 32-bit on Windows 7 64 bit.

    Comments are not imported from the SQL Server 2008 data dictionary. Connection via Microsoft JDBC Driver for SQL Server jTDS 1.2.7 4.0

    What did I try? In generation SDDM DDL, comments in DBRMS for SQL Server are generated with ' EXEC sp_addextendedproperty 'MS_Description', 'Test comment'...» "so I added an extended property named 'MS_Description' in the database SQL, both on the table and column. None of them have been imported from the SSDM data dictionary. I tried the above two pilots. Is this a bug or am I missing something?

    I found the similar question thread Re: data dictionary import does not import comments from the column for SDDM 3.0.0.665, so I guess it's a bug when importing with JDBC drivers.

    MiGli

    Edited by: MiGli_1006342 may 25, 2013 08:32

    Edited by: MiGli_1006342 may 25, 2013 09:02

    Extended properties have been imported correctly no database SQLServer to DM 3.3.0.747.

    Calls to sp_addextendedproperty and fn_listextendedproperty have changed.

    I don't think it's a problem with JDBC drivers.

    One bug fix should be available in the next version of the DM.

  • Synchronization of the comments of the column from the relational model to the data dictionary?

    I changed/added comments of column to a table in my relational model. When I try to sync the database data dictionary changes are never included the observations of the new column. In fact, I see that the values in the field 'Commentary in RDBMS' are different in the preview window to compare, but the line is not highlighted in red I guess that, in fact it is even dimmed. Also, I can not check the check box "selected".

    Is there a way to get comments to synchronize? I don't miss any option that I first? Is this a bug or an expected behavior?

    I use the version 4.0.3 x 64 of the Data Modeler.

    Any help would be appreciated,

    Charlie

    Hi Charlie,

    but the line is not highlighted in red I guess that in fact it is grayed out even.

    "that means property is excluded from the comparison - the same dialog box click on tab -" Options > properties filters '-you can control the properties to include in compare it it is to say ' comment in RDBMS ' must be checked.

    Press the button "Refresh trees" after the properties are set correctly.

    Philippe

  • Synchronize the data dictionary

    Hello

    In the New/Select database connection I have defined JDBC tab as follows:

    JDBC URL: jdbc:sybase:Tds:10.0.1.4:2638? ServiceName = Hades & CHARSET = utf8

    Driver class: com.sybase.jdbc3.jdbc.SybDriver

    to connect to a Sybase SQL Anywhere database. This works as expected.

    In my original design, I have a few attributes/columns defined on the varchar data type (5000). Now, when I do not synchronize the dictionary of data (a table, for example), I get a difference on property > Data Type (in the dialog box compare models), although in my column a varchar data base (5000) data type. This works perfectly for varchar (255) and below.

    What could cause this behavior?

    Best regards

    Robert

    PS: In the dialog box properties from the table, field summarized, I see the report mentioned above.

    Hi Robert,.

    It seems that Import or synchronize using JDBC no matter the size of the column if it is greater than 4000.

    Thanks for reporting the problem.  I connected a bug on this issue.

    Kind regards

    David

  • Problem with transmission of the data in table between a driver and a method.

    I'm having a problem with a project for school. We want to take the data in a table, we create in our driver, pass it to the method, do something for her and return the data to the driver. Well, I still get the same error message and after looking at dozens of sites, it seems that I think that I have the correct code... but I still get the same error message. Here is the error message that I've been doing.
    * ola1driver.java:35: get() in ola1method may apply to (char [] [])
    x.get (Dar);
    (upwards arrow pointing between x and get) *.

    I'd appreciate any help I'm leaving research to simply looking at my code to try to find the error. My wife things I'm going nuts at the moment.

    Here are my two files, the first is the driver and the second method

    Take a 2D array and send the data to a method, and then put it back
    import java.util.Scanner;
    class ola1driver
    {
    Public Shared Sub main (string args [])
    {
    Entrance to the parser = new Scanner (System.in);
    ola1method x = new ola1method();
    Char [] [] dar = new char [10] [100];
    char dat_input;

    Set up the loop at the entrance a table of 10 x 100 with data imported from a dat file
    for (int i = 0; i < 10; i ++)
    {
    for (int j = 0; j < 100; j ++)
    {
    dat_input = input.next () .charAt (0);
    Dar [i] [j] = dat_input;
    }
    }
    Send the array to the method and displays the original table to compare the return data
    x.Set (Dar);
    for (ip int = 0; ip < 10; ip ++)
    {
    for (int jp = 0; jp jp; < 100 ++)
    {
    System.out.printf ("%n", dar [ip] [jp]);
    }
    }

    To get the data of the method and then print the data in the table opposite
    x.get (Dar);

    for (int r = 0; r < 10; r ++)
    {
    for (int c = 0; c < 100; c ++)
    {
    System.out.printf ("%n", dar [r] [c]);
    }
    }
    }
    }

    Now the method;

    Method to receive a 2D painting, reverse the data and then put it back
    class ola1method
    {
    Char [] [] ar = new char [10] [100];
    Char [] [] rar = new char [10] [100];

    public void set (char [] [] ar)
    {
    / * To reverse the entries in the table
    to prove that real return
    data was transferred between the driver
    and the method * /
    IR int = 0;
    for (int i = 9; I have > 0; i-)
    {
    for (int j = 100; j > 0; j-)
    {
    int jr = 0;
    RAR [ir] [Jr.] is ar [i] [j];.
    Jr ++;
    }

    IR ++;
    }
    }
    Return the data to the driver
    public char [] [] get()
    {
    return of rar;
    }
    }

    Published by: Seamus on February 20, 2011 08:25

    Published by: Seamus on February 20, 2011 08:26

    Seamus wrote:
    I thought that I sent my method by using the x.set table, and then by calling the reversed with the x.get table.

    x.Set (someArray) in fact to 'send an array to the method '.

    And if x.get () is declared to return an array, then, Yes, it indeed 'retrieve a table. "

    However, these are two completely different methods. The get method doesn't know something on the table sent via the set method unless the game puts a place who knows himself. For example, something like this:

    public class X {
      private int[] arr;
    
      public void set(int[] arr) {
        this.arr = arr;
      }
    
      public int[] get() {
        reverse arr and return it
      }
    }
    
    public class Main {
      public static void main(String[] args) {
        int[] arr1 = {1, 2, 3};
        X x = new X();
        x.set(arr);
        int[] arr2 = x.get();
      }
    }
    

    However, this seems a bit unusual. It is not clear from your initial post, but looks like it is supposed to be a single method that takes the array and it reverses. If so, you could either simply invert the table and returns nothing, since the variable of the appellant and the parameter of the method will all be pointing to the same table object, or you could return a reference to the table that you have received and reversed, or you can copy the table, reverse the copy and return a reference to that.

    I don't know what your needs are, but the point is that it is more common to call a single method to do something like that, rather than separate set() and get() methods.

    Edited by: jverd February 20, 2011 09:36

    Edited by: jverd February 20, 2011 09:37

Maybe you are looking for