SQL datamodeler: No repository?

Hello
I thought that the production version of SQL Datamodeler would contain a repository. In fact it was one of the question on the faq on the sql developer data modeler home page
(http://www.oracle.com/technology/products/database/datamodeler/html/datamodelerfaq.html#repository)
How are the models currently stored and will there be a repository?
SQL Developer Data Modeler stores each model in a standard directory with the model name as directory name with an additional main header file using the model_name.xml. You can store models locally or on a central file server. Many early adopter customers have successfully used open source version tools such as Subversion, to keep their models under source code control.
Currently the Repository is under development. Models will be stored in a standard relational Oracle database.
Are there still plans to use a repository ? I think osdm is a great product but I personally think you need a repository to make it a multi-user datamodeling tool.
Regards Erik

Yes, we plan to support both.
Erik,
You make my point exactly: Like many users you say you want a database repository for a multi-user environment, but now you say "In that case we could create productivity boosters and quality checks using pl/sql." What do you want here? This is different. The tool provides a full Design Rules section for quality checks and you can use the reporting repository for additional reports.
Today, the production release of the Data Modeler supports a reporting repository.
1. Take any design and select the export option to export it to the reporting repository.
2. The export dialog is a connection dialog.
3. If you have never exported the design before, the tables required will be created for you in the schema you provide. -We recommend you create a new schema for this purpose - Subsequent exports will be added to the same repository, unless directed.
You can now import the provided reports into SQL Developer and run these reports about your design. Because it's just a schema in the database, you can use SQL Developer to browse the tables and add your own reports.
There is a full tutorial on this on the [ Data Modeler|http://www.oracle.com/technology/products/database/datamodeler/index.html] site.
Sue

Similar Messages

  • SQL Datamodeling: importing sql

    Hello,
    I'm importing a ddl file to sql datamodeler. Columns, pks and uks are imported ok but the foreign keys are not imported allthough they are in the script.
    The script was created from sql developer.
    fragment:
    CREATE TABLE "DARWIN"."DUS_ALLOCATIES"
    (     "ID" NUMBER NOT NULL ENABLE,
         "PSN_ID" NUMBER,
         "ODT_ID" NUMBER NOT NULL ENABLE,
         "STARTDATUM" DATE NOT NULL ENABLE,
         "EINDDATUM" DATE,
         "UURTARIEF" NUMBER(6,2) NOT NULL ENABLE,
         "AFSPRAKEN" VARCHAR2(4000 BYTE),
         "OPMERKINGEN" VARCHAR2(100 BYTE),
         "INZET_PERCENTAGE" NUMBER(5,2) DEFAULT 100,
         CONSTRAINT "ALC_PK" PRIMARY KEY ("ID"))
         CONSTRAINT "ALC_PSN_FK1" FOREIGN KEY ("PSN_ID")
         REFERENCES "DARWIN"."DUS_PERSONEN" ("ID") ENABLE,
         CONSTRAINT "ALC_ODT_FK1" FOREIGN KEY ("ODT_ID")
         REFERENCES "DARWIN"."DUS_OPDRACHTEN" ("ID") ENABLE
    Regards Erik

    ArnoldH wrote:
    Hi Philip,
    Could you expand a bit on your reply? Do you mean the import will work in the current release if the quotes are stripped off? Do you mean that the next release will work with the quotes? (What about without the quotes too? As the normal output for DBMS_METADATA.GET_DDL is quoted ("owner"."object"), will the next release work with either? I hope so.)
    Thanks,Hi Arnold,
    on your questions - yes, yes (yes,yes).
    In current published release - it should work without quotes. With quotes, obviously it doesn't work when definition of foreign keys are embedded in "create table" statement. It's fixed and should work in next published release. I use should because parsing of scripts always can be surprising.
    Philip

  • Sql datamodeler: Design rules

    Hello,
    In sql datamodeler you can check your design against a number of design rules.
    Is there a way you can influence these design rules?
    - can you say wheter a design rule is applicable or not?
    - can you change the severity?
    - can you change the rule (for instance other naming convention rules)
    Regards Erik

    Not at this stage. We want to allow users to modify them in the future. There are ways you can influence some of these. So on the Model Properties dialog their are Naming Options. If you change these, you can influence the design rules. Also, in the General Options there is a naming Standards section. So you can set naming standards here and these are used in conjunction with the Designer Rules.
    I'm working on a document about all the naming standards and design rules and how they are used. It's not yet available, but I'll put it onto the Data Modeling page when it's ready.
    Sue

  • Where can I get SQL DDL script repository?

    Hello;
    Do you know where I can get the huge SQL DDL script repository?
    Thanks;
    Ornsiri

    Hi,
    Welcome , you can use dbms_metadata.get_ddl to get the Script.
    Example
    select dbms_metadata.get_ddl('TABLE','DEPT','SCOTT') from dual;
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:1794096300346327738
    thanks

  • Preferences in Sql Datamodeler are not saved

    Hello all,
    I seem to do something wrong: I would like to change certain preferences, but they SDM does not save their status.
    As soon as I open the preference menu option again, the preferences are in their previous state.
    Saving the complete design (before anything else) does not make a difference.
    This is what i did:
    Click Tools/Preferences menu
    In my case all the perferences are in the Checked state
    I can UNcheck the preferences under:
    data modeler / model logical / relation cadinality: Source optional and Target optional
    data modeler / model logical / primary key option for identifying relationships Use and set first Unique key as Primary Key
    data modeler / model logical / FK Attribute name synchronisation: Keep as the name of the Originating attribute..
    Then press the "OK" button
    and then save the Design by File/Save
    and subsequently closing SDM.
    When starting SDM again and opening the same model, the preferences are in their previous (checked) state.
    Can someone tell me if this is a real bug or point out what I am doing wrong?
    Thanks in advance for your time and effort
    regards
    Wouter
    win 7
    Java 1.6.0_31
    SDM 3.1.0.700 (32 Bits)

    Hi Dimitar,
    Well,.. I have found the file : product-preferenxce.xml on my disk in
    <snip>..AppData\Roaming\Oracle SQL Developer Data Modeler\system3.1.0.700\o.datamodeler
    I have tried the same recipe as before. Now this is what happens:
    After changing the preferences and as soon as I have pressed OK (without leaving DM) I open the product-preferences file
    The OS-timestamp of the file matches the moment of saving so permissions on OS level seem no problem.
    In the file at line 504 to 510 I find:
    <hash n="OSDDM_ModelLogicalPP">
    <value n="keep_fk_names_syncronized" v="false"/>
    <value n="pk_identifying_relation" v="false"/>
    <value n="source_optional" v="false"/>
    <value n="target_optional" v="false"/>
    </hash>
    To me, that looks like the preferences are Unchecked.
    Now I close DM (no saving). The file's timestamp is still unchanged. and the preferences are still all "false"
    Next I open DM and read the preferences file: timstamp unchanged and preferences unchanged.
    When I open the Tools/Preference menu and look at Datamodeler/model/logical
    The preferences are checked again...
    As soon as I push the "OK" button the preferences file gets updated and the preferences read as follws:
    <hash n="OSDDM_ModelLogicalPP">
    <value n="keep_fk_names_syncronized" v="true"/>
    <value n="pk_identifying_relation" v="true"/>
    <value n="source_optional" v="true"/>
    <value n="target_optional" v="true"/>
    </hash>
    It still baffles me, but it does look like "opening the tools/preferences menu" resets the preferences.
    Can you make any sense of this story?
    regards
    Wouter
    (and again thx for your time and effort)

  • Sql Scripts for Repository

    Hi All,
    We have an requirement to work on write the database tables for an repository.Do we have any commands for generating the db scripts,need not write tables manually
    if Yes can you please send the commands .
    Regards,
    Jyothi
    Edited by: 881786 on Sep 5, 2011 4:59 AM

    You can use startSqlRepository or the other easy way to generate the sql scripts is to through dyn/admin.
    Say you have all your repository xml structure in place and start your server. Let the table errors come in logs.
    Once the server is started completly, goto dyn/admin and navigate to the repository component.
    For example: To generate product catalog scripts, goto http://localhost:8080/dyn/admin/nucleus/atg/commerce/catalog/ProductCatalog
    Scroll all the way down to the bottom of the page where you ll find a link to the property "generateSql".
    Hit generateSql and it will provide you all the scripts needed to run in your database.

  • SQL Datamodeler ddl generation looses foreign keys

    My problem is that when I open my relational model, I select generate of DDL selection Oracle 10g as the physical. I can see the list of referential contraints under the Foreign Key tab. I generate once and all is fine, save the model and exit. I then restart the model and go through the same procedure. This time I can still see the entries under foreign keys tab but when I generate there are no foreign key entries. If I select 11g on the generate then they re-appear. Save it and go back in, select 11g and generate and they have gone again. Select 10g and generate and they are back.
    This means I cannot use the physical model attributes (users, synonyms etc) because I keep jumping from 10g to 11g generation models.
    Any ideas?
    Sql Modeler 2.0.0. build 584.

    Hi,
    I've got exactly this behaviour - and the exact same workaround to fix it. i.e. Save, change Physical to 11g and save again.
    Re-open, won't generate some physical parts correctly i.e. fk constraints.
    Swap to 10g and regenerate fine.
    You may have to import some fks manually from a DDL file into the physical model to make this happen? Modelled ones seem to work?
    If there a switch variable in the DM code gone awry?
    Nigel

  • SQL DATAMODELER DOCUMENTATION?

    Friends,
    I am working as a Oracle DBA. I've got opportunity to work in Datamodeling tool. I don't find any basic documentation for Oracle Datamodeling tool. Could you please guide me or send me the link to work basic datamodeling tool. I downloaded DM 3.1 version..
    Thanks in advance
    Regards
    Rocky

    Hi Rocky,
    You can browse DM documentation page at http://www.oracle.com/technetwork/developer-tools/datamodeler/documentation/index.html.
    Also there are demos at DM main page http://www.oracle.com/technetwork/developer-tools/datamodeler/overview/index.html

  • SQL Datamodeler: Importing Domains

    Hello,
    I see that you can easily import domain definitions.
    How can you export them?
    Wouldn't it be a good idea to seperate user defined domains and the predefined ones?
    Regards Erik

    Hi,
    Got round this limitation as follows:
    (Please keep a copy of the default system domains XML file before you proceed. The file is $SQLModeler_Install_Home\datamodeling\domains\defaultdomains.xml).
    First delete all the default system domains and then create your new domains.
    After saving the model, the new domains will be written into defaultdomains.xml.
    You can now copy and rename this as your customized domains file while can be imported for other uses.
    You can restore the original system domains file from the backup copy you made earlier.
    Enjoy.
    Chiedu

  • Sql datamodeler: DDL Generation

    Hello
    Can anybody explain the difference between advanced interactive DDL and advanced CL DDL?
    regards Erik

    Erik,
    they should do the same job, difference is explained at the beginning of scripts (see below) - interactive v. command line parameters. The second option is oriented to be executed by other tools.
    Best regards,
    Philip
    -- ODM advanced script with support for
    -- interactive (SQL/Plus or SQLDeveloper)
    -- settings of input parameters for:
    -- start step, stop step, log file and log level (1,2 or 3)
    =========================
    -- ODM advanced script with support for
    -- command line (SQL/Plus only)
    -- settings of input parameters for:
    -- start step, stop step, log file and log level (1,2 or 3)
    -- The script can be executed as follows (all parameters are required):
    -- sqlplus user/passw@name @script_name start_step stop_st log_file log_level
    -- Examples:
    -- sqlplus scott/tiger@orcl @e:\adv_script.sql 0 0 e:\adv_script.log 2
    --

  • Oracle SQL DataModeler and XSD transformation

    Hi,
    i want to create a Logical Data Model and have a already defined XML schema, how a can i import the XML elements, data types and documentation of each xml element or attribute and then create the Entities, data types and relatioships?
    Pedro.

    So, in the meantime, the best way to get started is to copy the examples, like the ones in the wiki entry and adapt them to do what you want to do. The places to add your own SQL and your own names are pretty easy to figure out with a little study. There are a few more examples in the Oracle Wiki, and some on the SQL Developer pages on OTN. Many thanks to Sue Harper and Dermot O’Neill. Find their articles at:
    http://www.oracle.com/technology/oramag/oracle/07-jul/o47sql.html
    http://www.oracle.com/technology/oramag/oracle/07-may/o37sql.html
    http://www.oracle.com/technology/obe/hol08/sqldev_srccodexmlext/xmlext_otn.htm
    http://wiki.oracle.com/page/SQL+Dev+SDK+Getting+Started
    Also, if you want to create an EDITOR style extension, start by creating a User Defined Report and export it as an XML file. There are only a few differences between the two formats, mostly an extra attribute to tell SQL Developer where to hook the editor to the navigator.
    Finally - I wrote my own paper on extending SQL Developer: http://www.smdi.com/employee/JohnF/articles/Extending%20SQL%20Developer.zip

  • Integrating any database (oracle or sql) for user repository of EP6.0

    Hi all,
         We have a EP6.0 SP9 installation.
         <b>Has one tried integrating any db like oracle or sql with EP6.0?</b>
         Suppose, I have a user table in some xyz database (like Oracle or SQL) with all user main information as the fields like fname, lname, ***, age etc and then try connecting your SAP EP to this database for user management. Like if any user want to login to SAP EP the user id and password should be matched against this DB .. and if I create a new user it should be created in this DB.
         I think we need to change one xml file called "<b>dataSourceConfiguration_database_only.xml</b>". Is this the right data Source Configuration file? I don't know what/how to change in it to make point to my ORACLE or SQL database.
         What else should i do? Any ideas?
    Please help regarding this.
    Thanks in advance,
    <b>Regards,
    Sai Krishna.</b>

    Hi All,
      Any idea??? Any solutions???
    Please help me..
    <b>Regards,
    Sai Krishna.</b>

  • Sql datamodeler: Engineer to relational model: General Options

    Hello
    When you engineer your logical model to a relational model you get a wizard. In lower part of this wizard byou have several tabs, one of the tabs is called general.
    On this general tab you have check box: Apply Name Translation
    The corresponding help text:
    Apply Name Translation: Controls whether formal names are translated to abbreviated names when the logical model is forward engineered to a relational model, and whether abbreviated names are translated to format names when a relational model is reverse engineered to the logical model. Name translation is applied only for valid names. In addition, translations between the words entity/attribute/key and table/column/index are performed.
    Does anybody have a clue what is meant here?
    Regards Erik

    Erik,
    you have to create glossary (tools>Glossary editor) with words permitted for usage in names in logical model. For each word you can define abbreviation that will be used in transformation process.
    Example:
    Employee - EMP
    Salary - SAL
    Attribute "Employee Salary" will be transformed to column "EMP_SAL".
    You can define preferred abbreviation for entities and attributes and it can be used instead of glossary definitions.
    You also have to set your glossary in "Tools>General Options>Naming standards>Glossary"
    Best regards,
    Philip

  • SQL Datamodeler: Transform super/sub-entities to tables

    Hello,
    Suppose I have the following situation:
    Super entity A
    with sub-entities B and C
    Sub-entity B has a mandatory attibute.
    When transforming this to a relational model I expect he following result:
    1. One table A, no table B and C
    2. a discriminator column (to distinguish between B and C)
    3. All attributes of entity A transformed into table A with same optionality
    4. All attributes of entities B and C transformed to optional columns in table A
    Unfortunately this is not the case. I get one table, I do NOT get a discriminator column.
    Furthermore the required attribute of sub-entity B is transformed to a mandatory column of table A.
    Is there a way I can influence this (in my opinon wrong) behaviour?
    Regards Erik

    Hi Erik,
    you cannot influence the process. Enhancement request and bug are logged for that.
    Best regards,
    Philip

  • SQL Datamodeler: Relational model: column properties: formula description

    Hello
    When I navigate to the column properties of a formula column I can add a formula description.
    This formula description is not picked up by the DDL generator (Oracle).
    What am I missing?
    Regards Erik

    Hi Erik,
    if you put something there it will appear on diagram instead of data type (for good or bad). There will be more usage when support for virtual columns in Oracle 11g is implemented.
    Best regards,
    Philip

Maybe you are looking for