Entity relation diagram

Hello,
I'm using SQL Developper and veru satisfied.
Also, do you intend to provide an option to visualize the entity-relation diagram in a graphical view ?
If not, is Oracle provide any tool for such purpose ?
Thanks for any tips.
Yaakov Berkovitch

We were needing a tool to display many tables on one diagram (well over a hundred). The diagrammer in JDeveloper is excellent for up to a few dozen tables, but seems to struggle with more (it gets especially confused with self-referential links).
We used to use Designer but it doesn't like SDOGeometry data types.
All I needed was to be able to show the table names and their relationships for our production database (it's getting quite big now). I couldn't find anything suitable so spent a few evenings with JDeveloper and put together a little swing application. You can download it at www.patrickhaston.co.uk/Java/pdm.html if you like. I can't offer any support, so you can get it for free.
I'm sure the SQL Developer extension will be much better when it arrives, but this is proving helpful for us and may help you too.
Patrick.

Similar Messages

  • SBO - Entity Relationship Diagram

    Hi all,
    Is there an Entity Relationship Diagram for SAP Business One available in the SAP Portal?
    Thanks in advance.

    You don't get a graphical format. It is a Windows Forms application that shows you all the metadata of B1 tables including columns, their type, default values and also the link to other tables. You can see also children and log tables related to the current table. You can navigate table to table. All these metadata are dynamically obtained by the DB using SDK metadata functions. You can download also the source code and see how all of this is done. If you feel like you can use all these browsing functions and build your own ER diagram in the graphical form you prefer.

  • How to create table relation diagram?

    Hi.
    I need Gurus help!
    Before writing programs working with Database, scheme of used tables should be prepared.
    Which methods can be used in SAP to prepare tables scheme and
    their relations diagram for reports written in ABAP.
    Thanks.
    Mehman.

    I've got a screen shoot of a diagram made on SAP ([http://photos.l3.facebook.com/photos-l3-sf2p/v356/66/47/1016354007/n1016354007_159605_4849.jpg]).
    But unfortunately I don't know how to built it.
    I think it would be better to build it on SAP.
    Because there you can also see description of tables and fields.
    And it makes you work easier.

  • Entity relation ship

    Hi,
           If entity relationship 1:1 view will be preffered if 1:many Functionmodule will preffered.
    What is 1:1 & 1:many..
    Regards
    Ramesh

    Hi Ram,
    the entity relationship means the relation in between the fields present in the master and detail table fields.see for eg;
    employee and dept tables are the best examples for this,
    one department may contain many no of employees,but one employee must belong to only one department.so here the relation b/w emp and dept is many:1.
    like the same way the relation between emp and address(or telphone no) is 1:1
    Hope its clear now.
    please assign points if it helps..
    thanks & Regards,
    ashok.

  • Relational Diagram not showing Views column alias (R3.3)

    This seems to be a change as well? When I build views I often alias the columns in the view query builder. I would like the diagram to show those alias names rather than the name of the underlying column. Otherwise I have to look at the DDL to see if I got the names the way I want them.
    In previous version I thought it showed me the alias (I could be wrong?)

    Hi Kent,
    I logged a bug for that. It was added support for view header and unfortunately alias was lost.
    here is a script you can use to copy alias to header alias. If you have header alias for all columns then header will be included in generated DDL for that view.
    Philip
    views = model.getTableViewSet().toArray();
    for(var i=0;i<views.length;i++){
         cols = views.getElementsCollection().toArray();
         for(var k=0;k<cols.length;k++){
              col = cols[k];
              if("".equals(col.getHeaderAlias()) && !"".equals(col.getAlias())){
                   col.setHeaderAlias(col.getAlias());
                   views[i].setDirty(true);

  • Relational Diagram Issue

    I'm working with Oracle SQl Developer Data Modeler 3.2.20.09 on two machines (Windows XP 32 bit) with subversion support.
    After adding something in my model and comitting it to SVN, I can't see the new diagram objects on the other machine although I updated the local subversion copy.
    In the Data Modeler Browser I can see all my objects correctly.
    My question: What can I do to get rid of the old diagram information and make the diagrammer show me the real content???

    Hi,
    854688 wrote:
    I'm working with Oracle SQl Developer Data Modeler 3.2.20.09
    Thee is no such version of Data Modeler, this is version of Oracle SQl Developer. You need to check what is real version of Data Modeler - if it's  not DM 3.3 then use Check For Updates to upgrade to 3.3.
    How do you work on versioning - is it with DM's facilities only or you are using other tools including those in SQL Developer (not part of DM functionality)
    Philip

  • Does anyone have a SAP CRM Table Relations Diagram? !!

    Hello,
    For R/3 I have a document containing the relation between the most important database tables. Does anyone have a similar document for SAP CRM? (5.0).
    Since I'm new to SAP CRM I would really appreciate if someone could send such a document to me at <removed by SDN Forum Moderator>
    (To vikash krishna: I never received the document so I try by posting again...)
    Thanks,
    Jeroen

    Hi,
    https://websmp208.sap-ag.de/solutions
    In this navigate through, Business solutions and applications -> MySAP Business Suite -> MySAP CRM -> solution library -> CRM powered by Netweaver -> Process Integration -> Business objects.
    There you will find table relationships.
    Hope this helps.
    Regards,
    Karthik.

  • How can I obtain the primary key of a table for an entity relation?

    hello everybody
    I am doing a consultation to a table in my data base, good this table has alone two fields, the first one is the code or pk and the second one is the description, to be presisos they are names of city and code.
    From the beginning!!: This method this one in another class that is a Dialog that is going to call to the class SelecPlace ();
      SelecPlace sl = new SelecPlace();
    public void capturarLugar(){  //  Simple void method in the mentioned class
            String place = txtProcedencia.getText() ;  //  a JTextField
            sl.executeStatement(place) ;                  
        }ok, now we see part of the code of the class SelectPlace
    public class SelecPlace extends AbstractTableModel{
        Connection con = null;
        Statement sentencia = null ;
        ResultSet rs = null;
        ResultSetMetaData rsmd = null ;
        String[] nameColum = {} ;
        Vector datos = new Vector() ;
        public SelecPlace() { }
        public void executeStatement(String query){
          try{
             con = DBManager.getConnection() ;
             sentencia = con.createStatement(rs.TYPE_SCROLL_INSENSITIVE,
                                                                          rs.CONCUR_UPDATABLE) ;
             String sql = "select * from Place where descripcion like %"+query+"%'";
              rs = sentencia.executeQuery(sql) ;
              rsmd = rs.getMetaData();
              int nroColumnas = rsmd.getColumnCount() ;
              nameColum = new String[nroColumnas] ;
              //obtengo los nombres de columnas en cache
               for(int colum = 0; colum < nroColumnas; columna++){
                    nameColum[colum] = rsmd.getColumnLabel(columna + 1) ;
               datos = new Vector();
                while(rs.next()){
                    Vector newRow = new Vector();
                    for(int i = 0; i < getColumnCount(); i++){
                    newRow.addElement(rs.getObject("place_ID"));
                    newRow.addElement(rs.getObject("description"));
                    datos.addElement(nuevaFila);
                fireTableChanged(null);
            }catch(SQLException e){
                System.err.println(e);
                e.printStackTrace(System.err);
                System.out.println("error in statement");
            }catch(ClassNotFoundException cnfe){
                System.err.println(cnfe);
        }Ok, this code me works and I obtain in this case the field description of the table Place
    Now my question is, how can I obtain the primary field of my table?
    I need this value of this field that in the base of information in a bigint, and to take it to the first class before mentioned, for that I am working with a data base related

    Certain duffymo and everyone!!, good I give you my scheme:
    And generalizing my question, I want to obtain the value of the primary key of a table in the database, I obtain more values of the same row, but I need the primary key, and you see one with the primary key I want to turn a Long and it to insert with code java in foreign clave in another table of the database
    Good of this form I believe that it would not be breaking the integrity relacional of the tables

  • ER - Database related facilities in Database Diagrams (procedures/objects)?

    I am having a look at JDeveloper 11g Preview (11.1.1.0.0).
    Our environment is (still) very much a relational environment using Oracle Forms/Reports (and Designer for analysis/design, not generation).
    I am pleased to note, that materialized views can be "copied online" from a database, which was not possible in JDeveloper 10. But materialized views cannot be represented on a database diagram.
    The Database Diagram tool resembles the Server Model Diagram (SMD) tool in Designer, and it is fine when comparing the two tools. What I could have found useful in Designer, in the SMD tool or otherwise, is to be able to add database functions, procedures and packages to the database diagram.
    Also, representation of database types on the database diagram would be useful. This sort of "dropped out" in Designer :-}
    Taking this thought at step further, it would be useful to have a diagramming tool that could represent dependencies among database objects graphically.
    So, on the whole, a strengthening of the database related diagramming facilities would be appreciated.
    Regards
    Thomas Kirchhoff.

    Hi Thomas,
    Thanks for your feedback.
    In the next technology preview of 11g (TP3) you will be able to represent materialized views on the diagram.
    Unfortunately we cannot add functions, procedures and packages etc to the diagram.. But feedback from users like yourself is useful for future planning. When you talk of 'representation of database types' are you talking PL/SQL or the specific database (aag, XE...)
    What kinds of dependencies would you like to see? We have things like view usages and we are conscious of making diagrams 'too busy'. However, we do provide the diagram annotations: attachment, dependency, link and note for you to annotate your diagrams.
    rgds
    Susan

  • Relational Star Schema with oWB 10g

    Hi,
    It is an interesting forum. I like to explore the different approached to build ETL using OWB to load Star Schema built around Oracle 10g relational structures.
    How do we take advantage of additional features of Oracle DB 10g and OWB 10gR2?
    What features does help? Which one should stay away from?
    Thanks in advance.
    Ram

    Hi ,
    You can use Oracle SQL Developer Data Modeler .
    SQL Developer Data Modeler provides a full spectrum of data and database modeling tools and utilities, including modeling for Entity Relationship Diagrams (ERD), Relational (database design), Data Type and Multi-dimensional modeling, full forward and reverse engineering and DDL code generation. The Data Modeler imports from and exports to a variety of sources and targets, provides a variety of formatting options and validates the models through a predefined set of design rules.
    Oracle SQL Developer Data Modeler can connect to any supported Oracle Database and is platform independent
    http://www.oracle.com/technology/products/database/datamodeler/index.html
    Thanks,
    Sutirtha

  • Problem with 1-to-many relationship between entity beans

    Hi All!
    I have two tables TMP_GROUP and TMP_EMPLOYEE with following fields:
    TMP_GROUP: ID, CAPTION, COMMENT, STATUS.
    TMP_EMPLOYEE: ID, LOGIN, GROUP_ID.
    For this tables i create two entity beans GROUP and EMPLOYEE respectively.
    The relationship looks like this
    descriptor ejb.xml:
    <ejb-relation>
                <description>description</description>
                <ejb-relation-name>employeesOfGroup</ejb-relation-name>
                <ejb-relationship-role>
                    <ejb-relationship-role-name>com.mypackage.GroupBean</ejb-relationship-role-name>
                    <multiplicity>One</multiplicity>
                    <relationship-role-source>
                        <ejb-name>GroupBean</ejb-name>
                    </relationship-role-source>
                    <cmr-field>
                        <cmr-field-name>employees</cmr-field-name>
                        <cmr-field-type>java.util.Collection</cmr-field-type>
                    </cmr-field>
                </ejb-relationship-role>
                <ejb-relationship-role>
                    <ejb-relationship-role-name>com.mypackage.EmployeeBean</ejb-relationship-role-name>
                    <multiplicity>Many</multiplicity>
                    <relationship-role-source>
                        <ejb-name>EmployeeBean</ejb-name>
                    </relationship-role-source>
                </ejb-relationship-role>
            </ejb-relation>
    descriptor persistent.xml:
    <table-relation>
                   <table-relationship-role
                        key-type="PrimaryKey">
                        <ejb-name>GroupBean</ejb-name>
                        <cmr-field>employees</cmr-field>
                   </table-relationship-role>
                   <table-relationship-role
                        key-type="NoKey">
                        <ejb-name>EmployeeBean</ejb-name>
                        <fk-column>
                             <column-name>GROUP_ID</column-name>
                             <pk-field-name>ejb_pk</pk-field-name>
                        </fk-column>
                   </table-relationship-role>
              </table-relation>
    Now i implement business method:
    public Long addEmployee(String login, long groupId) {
              Long result;
              try {
                   EmployeeLocal employee = employeeHome.create(login);
                   GroupLocal group =
                        groupHome.findByPrimaryKey(new Long(groupId));
                   Collection employees = group.getEmployees();
                   employees.add(employee);
                   result = (Long) employee.getPrimaryKey();
              } catch (CreateException ex) {
                   result = new Long(0);
              } catch (FinderException ex) {
                   result = new Long(0);
              return result;
    When i call this method from web service, the following exception is raised:
    com.sap.engine.services.ejb.exceptions.BaseTransactionRolledbackLocalException: Exception in method com.mypackage.GroupLocalHomeImpl0.findByPrimaryKey(java.lang.Object).
    P.S.
    1) I have transaction attribute set to "Required" for all methods of all beans
    2) I have unique index for each table:
    TMP_GROUP_I1: CAPTION
    TMP_EMPLOYEE_I1: LOGIN (however i think GROUP_ID must be added here too)
    3) I tried many:many relationship with this tables and it works fine
    4) I try another implementation of addEmployee method with
    EmployeeLocal employee = employeeHome.create(login, groupId);
    without using GroupLocal cmr-field and GroupLocalHome findByPrimaryKey method, the result is same error.
    Can somebody help me with this problem?
    Thanks in advance.
    Best regards, Abramov Andrey.

    gimbal2 wrote:
    1: The @JoinColumn on the listOfDepartments collection in Company is wrong. It should be something like this for a bidirectional relationship:
    @OneToMany(mappedBy="company") // company is the matching property name in Department
    private List <Department> listOfDepartment = new ArrayList<Department>();Note that I removed the fetch configuration; onetomany is fetched lazy by design. Saves some clutter eh.
    2: use a Set in stead of a List (hibernate doesn't like lists much in entities and will break when you create slightly more complex entity relations)
    3: don't just slap cascades on collections, especially of type ALL. Do it with care. In the many years I've been using JPA I've only had to cascade deletes in very specific situations, maybe once or twice. I never needed any of the other cascade types, they just invite sloppy code if you ask me. When working with persistence you should apply a little precision.I made all changes as you mentioned but still compID in department table shows null value...

  • Trying to import .dmd file and want to see the logical & physical diagram

    Can some one guide me how to import a .dmd file which i got from client. In my local machine i downloaded datamodeller and installed.
    When i am trying to import the same, i am not able to see any logical or physical relationship diagram.
    Thanks inadvance..

    Hi,
    As well as the .dmd file, the folder containing the .dmd file should also contain a folder with the same name - e.g. MyModel.dmd plus folder MyModel.
    If you've only got the .dmd file, you will need to get the associated folder and all its contents as well - the most convenient way is to get your client to use Winzip to zip up the .dmd file and its companion folder.
    You can then unzip it and open the .dmd file in Data Modeler, using Open on the File menu.
    The Logical and Relational diagrams should then be shown on the Logical and Relational tabs in Data Modeler.
    David

  • Unable to generate Logical Model Diagrams through Reverse Engineering

    Hi,
    I am currently using SQL Developer Data Modeler Version-3.0.04.
    I have generated Logical Model Diagrams from Relational Model Diagrams through Reverse Engineering (Done by pressing an" engineer to Logical Model button" on top panel of sql developer) .I saved the DMD file (source file) once i had done generating the logical diagrams.Now if i reopen the DMD and open the logical diagram again I found that most of the tables had lost their relationships.So i tried to regenerate the Logical Model Diagram again from the same Relational Diagram but it is not being generated unless i create a new Relational Diagram.Is there a way to generate multiple Logical Diagrams for the same Relational Diagram rather than creating a new one for each Logical Diagram to be created.
    Regards .
    Thanks in advance.

    Any comments on this issue?. Please let us know.

  • Searching for a good relational database design tool

    Hi!
    I am designing an oracle database for our plant, and I want to use a entity-relationship diagram tool to create it.
    I want to design the data diagram with it, and generate creation code and run it to create the DB on our oracle server.
    I would appreciate that someone suggest good quality tools that can be used to do entity-relationship diagrams and implement the db not only on oracle, but to SQL server as well, as future designs for other projects may be implemented in SQL server.
    A small list of quality tools with their noteworthy features would be greatly appreciated.
    Best wishes to all!

    For Oracle database, Oracle Designer is the best.
    If you want to be able to use it for various databases you might think of:
    - ERwin
    - Embarcadero ER Studio
    - Sybase power designer

  • Generating Entity - RelationShip in Oracle SQL Developer.

    Is it possible to generate an Entity - RelationShip diagram from Oracle SQL Developer?
    Thanks in advance,
    Jaime.

    If you're willing to pay the 3000 quid per seat (+ annual support costs), take a look at [Oracle SQL Developer Data Modeler|http://www.oracle.com/technology/products/database/datamodeler/index.html].
    Have fun,
    K.

Maybe you are looking for

  • Error message when trying to copy a DVD with Roxio Toast v6.1.1

    I'm trying to duplicate a DVD I made via Final Cut Pro and DVD Studio Pro by using Toast Titanium ver. 6.1.1. About 3/4 of the way through the record process, I keep getting the following error message: "Couldn't complete the last command because the

  • Is this a possible setup? 3 AEBS - 2N 5GZ / 1 B/G

    I have a large single story home with a ton of walls and am looking for the best coverage and speed possible. The entire house is hard wired and I am now looking to blanket the home with 2 AEBS running at 5 GHz and 1 AEBS for B/G. Currently I have th

  • Optical drive acting up

    I have a G5 1.8 with the SONY U10A DVD/CD drive running Tiger 10.4.11. The drive will play a DVD but not a CD and just kicks it out. I When I try to burn a CD or DVD I get an error message - install a blank disc. I'm using Fuji discs and up till now

  • Transaction Variant for a Custom Report

    Hi Folks... I am trying to create a transaction variant for a custom report...and i am unable to do it. Have any one tried that before and got it worked..please let me know. Thanks in advance. Rajeev

  • After updating to Yosemite

    I'm now unable to Airprint from my iMac, but can Airprint from my iPhone & iPad. The printer in an Epson XP-410. I've installed all driver, s/w upgrades I can find to no avail. I deleted the printer & now can't add it. It says "An error occurred whil