Reverse engineering data model

Can rational rose reverse enginner data model from database (i.e. read the schema in db and then generate the ER diagram)?

Yes you can reverse engineer datamodel from database. Following steps will help you in doing it. I did it using Rational Rose 2001(a) Enterprise suite edition.
1. Go to Tools->DataModeler->Reverse Engineer option
2. Reverse engineering wizard dialog box will be shown.
3. Select Reverse engineer from Database
4. Select your target database. Enter username/password and service name
for your database.
5. Test connection option is also provided. You can test the connection using this option.
6. Available schemas in the selected database will be displayed.
7. Select the schema of your choice and it will generate the datamodel.
Hope it helped you.

Similar Messages

  • Reverse Engineering a Model

    I am using SQL Data Modeller to reverse engineer an Oracle database to produce a diagram for a data model that was made a while back now. I created the diagram successfully and was very pleased with the results and the process.
    However, since creating that initial diagram the data model has again changed and I would like the recent changes to be reflected in the relational model I created in SQL Data Modeller.
    Is there an easy way to update the model? I click File > Import > Data Dictionary (which is the original method I used) I followed the steps and was presented with a list of changes and asked to merge into the model. This seemed fine. However the new tables were not added to the diagram and when I dragged them on to the diagram from the list of tables I was not shown the relationships?
    How can I easily added these new tables to the model?
    Thanks, Mike

    Check to see if the FKs between the tables you are referring to were captured in the reverses engineering. If they were, they would appear on the diagram when you drag in the new tables. If they were not captured, make sure they actually exisit in the database.
    I beleive that in order to capture a FK in the reverse engineering you must select both tables to be captured. If you only selected the "new" table, I do not think the FKs will come in but rather only the table structure, PK, and indexes on that table.

  • Reverse engineer data model

    I was trying to reverse engineer database information into a data model diagram in visio 2000.
    I received the following error :
    Encountered a fatal error during reverse engineer of information from database
    My Database version is
    Oracle9i Enterprise Edition 9.2.0.5.0 64bit
    Is it true that Visio does not support Oracle 9i (as I was told) ? If so, is there any freeware on internet where I can do the same (reverse engineer)
    Thanks

    You can use most any ERD product to reverse engineer an existing system: oracle designer, ERWin ,ER/Studio, etc....
    But it is likely to be a very manual process.
    If the application does not make use of database defined FK, UK, and PK then you will likely be forced into reading source and/or running traces on application processes to follow the DML.
    HTH -- Mark D Powell --

  • Issue in reverse engineering the model source is excel

    Hi Everyone,
    I am new to ODI, i am trying to export the excel file data into oracle table. For doing this created physical and logical schema for Excel file and Oracle database.
    Tried to created a Model and reverse engineer the excel file to get the fields in it. But when i do them it says its done, but does not show the excel datastore in it.
    Please help me to rectify it. Excel file is .xls format and ODI is standalore 11.1.1.
    If you thing i have any thing please let me know the step by step procedure to export excel file to oracel table in ODI 11.1.1 version
    Thanks in advance.
    Regards
    Sandeep

    Hi Sandeep,
    have you created a name for the range of data cells ?
    Follow the steps given in this websource:
    http://john-goodwin.blogspot.com/2009/03/odi-series-excel-functionality.html
    "So the object of this exercise is to get the information from the excel file into the above database table. To achieve this the structure of the excel file has to be reversed in the ODI datastore format but before this is done named ranges have to be created in the file, this is because the ODI excel technology works on the basis of turning named ranges into datastores."
    Naming a Cell or Range in Excel 2007:
    Read more: http://www.dummies.com/how-to/content/naming-a-cell-or-range-in-excel-2007.html#ixzz1RXrOBXkv
    http://www.dummies.com/how-to/content/naming-a-cell-or-range-in-excel-2007.html
    If you have already done this please disregard my reply.
    Regards,
    kk

  • Can "trigger" management be addressed in the data modeler?

    Please add an easier way to add/modify triggers.
    I reverse-engineered my model into the data modeler and my triggers all migrated correctly to the model but, for the life of me, had no idea how to view, modify or create triggers.  After extensive research, I found that they can be accessed in the left-hand Browser by drilling some 8 levels to view the triggers for each table - why?  Why can't this functionality be added to properties context menu for the table.  I'm not a big advocate for triggers but if I need to work on one, the current methodology is tedious at best.
    Of course, if there's some other way to do this, please inform...
    Accessing Triggers via the Browser
    Design -> Relational Model -> APEX_DEMO -> Physical Model -> Oracle Database 11g -> Tables -> ACTIVITY_LOG -> Triggers

    Thanks Joop and Phillip...
    While I occasionally use SQL Developer, I currently use PL/SQL Developer (Allround Automations) as my development tool of choice and bringing a 3rd tool as SQL Developer into the mix, makes no sense to me.
    I completely agree that managing a trigger via a development tool is much easier but one occasionally wants to quickly add a trigger either manually or via a template and this is not easy currently.
    While functions, procedures, package, etc. are all important to a data model, the existence of most triggers are completely dependent on a table and are a critical component in any model that uses them.  The ability to access and modify them easily in Data Modeler is important and shouldn't be an afterthought as is perceived here.  If trigger access cannot be added to the Table Properties (as noted in the image below), at the very least, please provide a shortcut methodology to do so.

  • ODI Reverse-Engineering Question

    We've been using ODI 10.3.5.1 for about a year now. The current load process was set up for us during implementation of Hyperion Planning. We are now trying to add a new dimension to our hierarchy, and I mistakenly went in and added the columns manually to all the models I could think of. I also added the columns into the source and target datastores in the interfaces manually.
    Naturally, the load did not work. I keep getting the error "invalid column name 'Cost_Center'. I have been told by the installer (over email) that i should have reverse-engineered the models, and let the program build all the datastores. I tried to do the reverse-engineering, and am now getting an error for the HYP_PLANNING model, and the HYP_ESSBASE model runs and runs and runs, without doing anything noticeable.
    How long should a reversal run? I don't believe our hierarchy is extraordinarily huge.
    This is all in the TEST environment right now, but I need to put things in LIVE for August financials, so I have until 9/9/09 to figure this stuff out. Any insights would be greatly appreciated.

    Thanks for the quick response.
    Like I said, it was done by the consultant, so I don't even know what an agent is.
    As for the error, it was:
    org.apache.bsf.BSFException: exception from Jython:
    Traceback (innermost last):
    File "<string>", line 41, in ?
    com.hyperion.odi.planning.ODIPlanningException: Failed to sync with user provisioning. Check Planning log for details
         at com.hyperion.odi.planning.wrapper.PlanningWrapper.login(Unknown Source)
         at com.hyperion.odi.planning.ODIPlanningConnection.connect(Unknown Source)
         at com.hyperion.odi.common.ODIModelImporter.importModels(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java)
         at org.python.core.PyMethod.__call__(PyMethod.java)
         at org.python.core.PyObject.__call__(PyObject.java)
         at org.python.core.PyInstance.invoke(PyInstance.java)
         at org.python.pycode._pyx0.f$0(<string>:41)
         at org.python.pycode._pyx0.call_function(<string>)
         at org.python.core.PyTableCode.call(PyTableCode.java)
         at org.python.core.PyCode.call(PyCode.java)
         at org.python.core.Py.runCode(Py.java)
         at org.python.core.Py.exec(Py.java)
         at org.python.util.PythonInterpreter.exec(PythonInterpreter.java)
         at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:144)
         at com.sunopsis.dwg.codeinterpretor.k.a(k.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.i(e.java)
         at com.sunopsis.dwg.cmd.g.y(g.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Unknown Source)
    Caused by: com.hyperion.planning.HspRuntimeException: Failed to sync with user provisioning. Check Planning log for details
         at com.hyperion.planning.HspJSImpl.synchronizeUserWithProvisioning(Unknown Source)
         at com.hyperion.planning.HspJSImpl.login(Unknown Source)
         at com.hyperion.planning.HspJSImpl.login(Unknown Source)
         at com.hyperion.planning.HyperionPlanningBean.Login(Unknown Source)
         at com.hyperion.planning.HyperionPlanningBean.Login(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java)
         at java.lang.reflect.Method.invoke(Method.java)
         at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:279)
         at sun.rmi.transport.Transport$1.run(Transport.java:164)
         at java.security.AccessController.doPrivileged1(Native Method)
         at java.security.AccessController.doPrivileged(AccessController.java)
         at sun.rmi.transport.Transport.serviceCall(Transport.java:160)
         at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:505)
         at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.handleRequest(TCPTransport.java:837)
         at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:911)
         at java.lang.Thread.run(Thread.java:570)
         at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
         at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
         at sun.rmi.server.UnicastRef.invoke(Unknown Source)
         at com.hyperion.planning.HyperionPlanningBean_Stub.Login(Unknown Source)
         ... 34 more
    com.hyperion.odi.planning.ODIPlanningException: com.hyperion.odi.planning.ODIPlanningException: Failed to sync with user provisioning. Check Planning log for details
         at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
         at com.sunopsis.dwg.codeinterpretor.k.a(k.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.i(e.java)
         at com.sunopsis.dwg.cmd.g.y(g.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Unknown Source)

  • Data Modeler : Generate direct to a schema / Reverse engineering

    Hi everybody,
    I searched for informations in the help but I didn't found any interesting information.
    I would like to know :
    - If it's possible to generate the relation model directly to a schema? If yes, where can I found documentation?
    - Is it possible to create some scripts with reverse engineering (as Designer)?
    Thanks in advance!

    Hi Cedric,
    If it's possible to generate the relation model directly to a schema?no
    Is it possible to create some scripts with reverse engineeringYou can generate DDL script for objects in relational and physical model - press "Generate DDL" icon when you are in relational model or use "File>Export>DDL File".
    You also can generate "alter statements" when you compare relational model to database, DDL files or another design.
    You can look at available demonstrations http://www.oracle.com/technetwork/developer-tools/datamodeler/overview/index.html
    Philip

  • 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.

  • How to do reverse engineering to a sybase model?

    Hi,
    I´m new with sybase ase technology and i don´t now how to create a sybase model in ODI. I´m alredy created the data server and logical schema in topology manager but when i try to do the reverse engineering on designer module i can´t see the tables. What are the requirements for do this?
    Help me please!!!
    Regards

    Hi
    Pl. use Return Purchase Order process, transaction code ME21N
    At the item details, look for the Return columns and tick it.
    MIGO_GR - Goods Receipt for Return Purchase Order
    Movement type will be 161 to deduct the stock and 162 for reversal.
    During Goods Receipt for Return Purchase Order, you do not have to change the movement type from 101 to 161 as the system will automatically assign the movement type to 161 upon saving the postings.
    However, before saving, check if there is a tick in the Return Column to ensure that it is a return Purchase Order.
    you can also do the outbound delivery ..
    Outbound delivery with VL01n and do shipment with VT01N by referencing to the Out bound delivery.
    I hope this helps,
    if found usefull pl . award points
    Thanks
    Prasanna

  • JDeveloper capabilities for Reverse Engineering existing instances and data

    We are experiencing difficulty obtaining the indexes, synonyms, and triggers via reverse-engineering capture of existing 10g DB's. Does JDeveloper have the capabilities for Reverse Engineering all objects from existing DB's ?
    Will 10g JDeveloper handle reverse-engineering large 300 table schemas rich with large quantity of indexes, synonyms, & triggers?
    And last, how can a listing of the Data Dictionary be extracted /exported in CSV or excel format for review distribution? Via JDeveloper? We have a large distributed development, test, quality, and integration team which prefers to review various elements of schema updates and changes in excel.
    Thanx.

    Vicki-
    Thanks for the additional info. I was thinking you were most concerned with reverse-engineering existing schemas. I did not realize you were designing new schemas.
    When you mention ERDs, are you interested in logical ERDs (as compared to physical tables and foreign keys)? If you are interested in doing pure logical ERD modelling, then Designer is the way to go. It has been years since I worked with Designer, but it has ooodles of capabilities to forward and reverse engineer between databases, physical models, and logical models of schemas. It sounds like you might be using Designer today and are hitting some snags. Is this the case? If so, I suggest you see if Oracle Support or the Designer forum can help you get past the specific Designer issues. The forum for Oracle Designer is here: Designer
    Sue mention that JDeveloper does support database modelling. Here is a how-to for JDeveloper 11g that shows how it works:
    http://www.oracle.com/technology/obe/obe11jdev/11/db_dev/obe_%20databasedevmt.htm
    The how-to is pretty complete showing you forward and reverse engineering capabilities.
    A few more minor notes:
    1.The JDeveloper schema modelling features work on a physical (not logical) level. In other words, they work on tables not entities.
    2.The SQL Developer report features certainly work on "DATA". But, the "DATA" they work on can certainly be the data dictionary data. In other words, I can write a report in SQL Developer that queries all of the column names, column data types for a subset of tables. Then I can export that "DATA" into excel and use it for whatever your downstream needs are. The potential capabilities are practically unlimited.
    Cheers,
    -dave

  • Designer 6i : Server Model Generation Error while reverse engineering

    Hi there,
    I am Creating a DB Model from exising database (Reverse
    Engineering ). When I am trying to generate capture design of
    Server Model. I am getting below errors and operation fails.
    --------------------------------------------- Error Message start
    Internal API error - ORA-20291: integrity constraint
    (FK_OTB_TO_OSP) violated - parent key not found
    ORA-06512: at "REP_USER.SDD_OTB_VAL", line 22
    ORA-04088: error during execution of
    trigger 'REP_USER.SDD_OTB_VAL'
    RME-00020: Internal API error - ORA-20291: integrity constraint
    (FK_OTB_TO_OSP) violated - parent key not found
    ORA-06512: at "REP_USER.SDD_OTB_VAL", line 22
    ORA-04088: error during execution of
    trigger 'REP_USER.SDD_OTB_VAL'
    CDR-01052: Tablespace HHNEWBUILD/HHNEWBUILD.USERS is referencing
    invalid Storage Definition (ref =
    2105528996887633452799620949781640613).
    RME-00011: Operation 'ins' on TABLESPACE has failed
    RME-00222: Failed to dispatch operation to Repository
    RME-00222: Failed to dispatch operation to Repository
    --------------------------------------------- Error Message End
    My init.ora is created according to Installation guide.
    Could anyone please help me with this ???
    Your earliest action would highly appreciated.
    Thanks & regards,
    Bhavesh Doshi

    1. Bounce the Repository's DB Instance. Usually an indication
    of RME errors.
    2. Goto RAU and perform all of your maintenance
    a. Compute Statistics
    b. View Objects and Recompile all 'INVALID' objects
    c. Clear temporary tables.
    3. If you are reverse engineering with DBA privileges then you
    are going to retrieve alot of uneccessary objects. Be explicit
    in your retrieval.
    Any questions? Arnold Angel, [email protected]

  • Reverse engineering tool from the uml modeling tutorial

    My problem arises at the point where the tutorial wants you to generate code. I generate the code for the bankAccount.java and the accountTest.java and that works fine. I add setBalance(getBalance()+amount); to bankAccount.java. I then add the main class to the AccountTest.java and reformat the code. That all works fine. Then when I do the reverse engineering going through steps 8-10, the Model Element Overwrite Authorization dialog box, never appears, and the main() method never gets written back into the AccountTest class. Does anyone have any suggestions as to why this is happening?

    What version (or build) of UML are you using? You can find out by going Tools->Module Manager, find a uml module under UML category, right click on the module and bring up Properties, build number is listed under "Expert" section. What's your system platform? JDK?
    In step 9, is the target uml project selected? Do you have other uml projects open at the same time?

  • Reverse Engineering Synonym from Oracle data base

    Hi All
    I am using ODI 10.1
    i want to reverse engineer synonames from my oracle database .
    When i am reverse engineering the tables and views the datastore is showing the Columns in Columns tab.
    But for Synonyms the the Column names are not available.However it is showing the data in viewdata.
    Please help me

    Hi,
    * In Topology Manager, open your Oracle Data Server and go to "Properties" tab.
    * Add a new property with key "includeSynonyms" and value "true".
    ODI only reverse engineer Private Synonyms .
    Thanks,
    Sutirtha

  • UML Modeling / Reverse Engineering Tool: Rational Rose orSELECT?

    Can anyone comment on the relative strengths and weaknesses of the Forte
    modeling / reverse engineering tools from Rational and SELECT? A brief
    discussion of tools for reverse engineering Forte applications appeared in
    June '98, but it was not clear how these products compared.
    Regards,
    Rob
    Robert Black
    Descartes Systems Group Inc.
    Waterloo, Ontario
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    What version (or build) of UML are you using? You can find out by going Tools->Module Manager, find a uml module under UML category, right click on the module and bring up Properties, build number is listed under "Expert" section. What's your system platform? JDK?
    In step 9, is the target uml project selected? Do you have other uml projects open at the same time?

  • UML modeling by reverse-engineering a JAVA project

    I can't seem to get over a basic hurdle to get started with UML modeling. I open an existing JAVA project. I then start a new project and choose "UML" and "-Platform model by reverse-engineering a JAVA project". Next I give the UML project a name and try to open my existing JAVA project. But the wizard does not show any project!
    Appreciate your help.
    Phil

    UML in JSE8 can reverse engineer all 4 built-in types of Java project defined in IDE. To prove that, I just downloaded apache ant source 1.6.5 from http://ant.apache.org/srcdownload.cgi and successfully reverse engineered it with JSE8.
    If you have a project with existing ant script , it's extremely easy, you absolutely don't need to hand-create a java project from scratch to specify source, library dependency etc. Just follow the wizard "create a Java project with existing ant script" to specify your Java project location, the ant script location, and * don't forget * to specify the source location. Any project without source folder specified is not considered a valid candidate for Reverse Engineer, and you won't see it listed under the project chooser in UML wizard when trying to associate the current UML project with a Java project. Please right click to bring up your source project properties to verify if you have source package folder correctly spelled out.
    It IS a supported feature, do let us know if you still have troubles to RE your project.

Maybe you are looking for

  • Can you have two itunes accounts on a single phone?

    Is it possible on an iphone 5s to have two itunes accounts? My child is getting to an age, where they should have their own itunes account.  We share music and applications and i do not want to have to re-buy everything?

  • UD Connect Generated SQL Statement

    Hi All, Can anyone tell me if it's possible to influence the generated SQL statement?  We need to be able to use the order by clause so as to get the records in the correct order. Any help much appreciated. Thanks Craig

  • Possible to toggle/animate between 2 sizes using jQuery 2.1.0?

    I have a button and a div, just want to change the height of the div between 100px to 200px when click on that button, is it possilbe? I tried to google it but those codes only work on the older version of jquery but not 2.1.0.

  • Multi-columned report

    Helllo, I"m using Application Express 3.1.2.00.02 I want to do a 3 columned report. I just saw this thread ( from 2005 - that's why I started a new) Multi-columned report When I applied the template to my report region, I got the following error:    

  • 3-finger Swipe Bug where certain apps disable this feature

    I seem to have this bug where whenever I use three fingers to go back in certain applications, in this case the new iTunes 11 store, it completely shuts down the feature until I go into systems settings, turn it off and on. It will work until I do it