Using DEBUG Mode in Oracle SQL Developer Data Modeler to Log SQL

Hello,
I am looking for the possibilty to enable the logging of SQL in Data Modeler.
Jeff Smith wrote an article how to do this for SQL Developer, for Data Modeler there are other configuration files. Does anyone have an idea?
Best regards,
Joop

Hello Philip,
the URL to the article of Jeff is: http://www.thatjeffsmith.com/archive/2012/10/using-debug-mode-in-oracle-sql-developer-to-log-sql/
in the install directory of Data Modeler 3.3.0.734 exists a file datamodeler\datamodeler\bin\datamodeler.conf. This analogue the situation for sql Developer.
However in this file there is no reference to a (non)debug file.
In ide/bin directory there is a ide-logging-debug.conf and ide-logging.conf file. But they are not referenced. Should one of them be included?
Joop

Similar Messages

  • How can I find out what is causing this error in SQL Developer Data Modeler

    Friends,
    I am trying to import entities into into SQL Developer Data Modeler from Oracle Designer 10.1.2.3.
    In case of need I perform these steps to perform the import:
    File --> Import --> Oracle Designer Model --> Select database connection --> Select work area --> select application system --> select one entity --> Click finish --> Import starts
    During the import process I see an alert dialog box with the message:
    There are errors in import - check Log file Clicking Ok dismisses the alert box and I see the following summary screen:
    Oracle SQL Developer Data Modeler Version: 2.0.0 Build: 584
    Oracle SQL Developer Data Modeler Import Log
    Date and Time: 2010-08-09 14:27:26
    Design Name: erdtest
    RDBMS: Oracle Database 10g
              All Statements:           32
              Imported Statements:      32
              Failed Statements:           0
              Not Recognized Statements:      0The Entity is then displayed in the Logical View within SQL Developer Data Modeler.
    Upon checking the log file I see the following entry:
    2010-08-09 13:50:34,025 [Thread-11] ERROR ODExtractionHandler - Error during import from Designer Repository
    java.lang.NullPointerException
         at oracle.dbtools.crest.imports.oracledesigner.logical.ODORelation.createArcs(Unknown Source)
         at oracle.dbtools.crest.imports.oracledesigner.logical.ODORelation.generate(Unknown Source)
         at oracle.dbtools.crest.imports.oracledesigner.ODExtractionHandler.generateDesign(Unknown Source)
         at oracle.dbtools.crest.imports.oracledesigner.ODExtractionController$Runner.run(Unknown Source)
         at java.lang.Thread.run(Thread.java:619)Can anyone shed any light on this error?
    Thanks in advance for any help you may be able to provide.

    No this helps a lot. It's not strange. Firstly, in a versioned repository you should see Private Workareas and Shared workareas, so your workarea may be in either of these. It won't be in the Global Shared Workarea, as this only for non-versioned repositories. (I like to open the RON by selecting the full Repository, that way I can see the private and shared worlareas and the configuration and containers all in the same tree.
    Now your workarea is defined by a set of rules, so when you expand the workarea in the RON, and select the object, then that's the workarea and object you'll see in the import dialog in the Data Modeler. So if you check it out and check it back in, and can't see it in the RON, then the rule is not seeing this object. (Did you refresh the workarea in the RON?) If you can't see it in the RON, you can't see it in the Data Modeler. If you're working in a versioned repository, you need to work in the specific work area, i.e V27 and this is what you need to select in the Data Modeler.
    It looks like you are selecting the wrong workarea in the Data Modeler.
    Sue

  • Oracle SQL Developer Data Modeler 3.0 Bugs, Resolution and workarounds

    The purpose of this thread is to list bugs discovered while using ORACLE SQL Developer Data Modeler 3.0
    Mainly with SQL SERVER 2005 and ORACLE 10g models.

    SQL Server Physical model doesn't save table identity column.
    here are the steps to get this bug:
    1. create a table in relational model with a column as an integer to be used as an identity.
    2. create or open a physical model for SQL-SERVER 2005
    3. open the table in the physical model
    4. edit the integer column property dialog
    5. tick the identity check box and close the property dialog
    6. save the model and close it
    7. open it again, you will find the identity check is removed! (probably not saved from the start)

  • Oracle SQL Developer Data Modeler Versus SQL Developer

    Friends,
    I'm trying to understand the differences between Oracle SQL Developer Data Modeler and the ability to use the Data Modeler in SQL Developer.
    I've looked at both products home pages on OTN, http://www.oracle.com/technology/products/database/datamodeler/index.html & http://www.oracle.com/technology/products/database/sql_developer/index.html and would appreciate your comments on my findings so far
    1) The Oracle SQL Developer Data Modeler is a stand-a-lone chargeable product whereas the use of the Data Modeler functionality of SQL Developer is free
    2) The Data Modeler functionality within SQL Developer is basically a "viewer" I can create ERD's of my existing tables by dragging them into the modeler from the object navigator but that's about it. I can't save the diagram for later use or use it to change the structure of the table(s)
    3) If I need to have "Oracle Designer" like ERD capabilities then I need to use Oracle SQL Developer Data Modeler (after purchase!)
    4) Are there any other differences I have missed?
    Thanks in advance

    You can open any diagram created in the stand-alone product in the SQL Developer Data Modeler Viewer and navigate through all property dialogs and the full navigator, just like you can in the stand-alone product, but with no update capabilities. This allows developers to fully review the model and all properties, without making changes.
    Sue

  • Oracle SQL Developer Data Modeler start up error

    Hi All,
    I just downloaded Oracle SQL Developer Data Modeler (2.0.0.57.0) [Released 1 July 2009] by selecting the option "Oracle SQL Developer Data Modeler for Windows (This zip file includes the JRE)"
    After I installed the same and tried to run it by clicking datamodeler.exe, I get the following error message
    "unable to create an instance of the Java virtual machine located at path:..\jdk\jre\bin\client\jvm.dll"
    On the same machine I can successfuly run the Oracle SQL Develper with no errors. My machine is having Windows XP Professional SP3.
    Any ideas? If there was a problem with Java, than the Oracle SQL Developer should also not run. But as stated it runs with out any error but the Oracle SQL Developer Data Modeler gives the above error.
    Regards,
    JAA149

    1 - The above problem has nothing to do with the memmory. I tried on a 400 MB RAM, 900 MB RAM, 1.5 MB RAM & 2 MB RAM with the same arror.
    "unable to create an instance of the Java virtual machine located at path:..\jdk\jre\bin\client\jvm.dll"
    http://i30.tinypic.com/9vkwf6.jpg
    2 - There are two "datamodeler.exe: files
    One is at D:\datamodeler\datamodeler.exe
    2nd is at D:\datamodeler\bin\datamodeler.exe
    The same error occurs with both the files.
    3 - The Oracle SQL Developer Data Modeler version is "Oracle SQL Developer Data Modeler (2.0.0.57.0) [Released 1 July 2009]" and the file I downloaded is "Oracle SQL Developer Data Modeler for Windows (This zip file includes the JRE) - (57M)"
    If I look in "D:\datamodeler\jdk\jre\README.txt" I find
    "Java(TM) Platform, Standard Edition Runtime Environment Version 6"
    If I run "D:\datamodeler\jdk\jre\bin\javacpl.exe" I get
    http://i30.tinypic.com/mt8ocn.jpg
    If I run "D:\datamodeler\jdk\jre\bin\jureg.exe" I get
    http://i28.tinypic.com/30boiyo.jpg
    If i check at the control panle add/remove program
    http://i30.tinypic.com/1428tba.jpg
    If I go to "http://www.java.com/en/download/manual.jsp" and download "jre-6u16-windows-i586-s.exe" and run it.
    If I go to "C:\Program Files\Java\jre6" I find the same files as in "D:\datamodeler\jdk\jre"
    I am able to run Oracle SQL Developer with out any kind of error let alone the above one. But with Oracle SQL Developer Data Modeler I get the above mentioned error no matter what I try.
    As the error states "unable to create an instance of the Java virtual machine located at path:..\jdk\jre\bin\client\jvm.dll". The file "jvm.dll" is located at two places. One at "D:\datamodeler\jdk\jre\bin\client\jvm.dll" and the second at "D:\datamodeler\jdk\jre\bin\server\jvm.dll"
    A similiar problem occurs with JDeveloper with the fllowing solution
    http://forums.oracle.com/forums/thread.jspa?threadID=506339&start=0&tstart=0
    Which states the following
    "hello!
    in the problem with JDeveloper i have a solution. The jdk have a file jvm.dll in the path: jdk/jre/bin/client/jvm.dll this is the problem ... now in the path:jdk/jre/bin/client/ojvm has a file with the same name if you copy and paste this file to the another path, now its works fine your Jdeveloper.
    Jdeveloper use two files to jvm.dll to work one in the folder /client and other in /server copy the same file to the two locations for precaution
    for me work fine thanks..."
    I tried to do the same (Copy from client folder to server folder)
    D:\datamodeler\jdk\jre\bin\client\jvm.dll
    COPIED THIS FILE TO
    D:\datamodeler\jdk\jre\bin\server\jvm.dll
    Nada. So I reversed it (copied from server folder to client folder)
    D:\datamodeler\jdk\jre\bin\server\jvm.dll
    COPIED THIS FILE TO
    D:\datamodeler\jdk\jre\bin\client\jvm.dll
    Does not work. So I tried another solution stated at the same forum entry
    "Well,
    i solved the problem by this way :
    <SQLDEVELOPER>/jdev/bin/ide.conf
    In this file, change this line :
    AddVMOption -Xmx512M
    by
    AddVMOption -Xmx256M
    Now, the executable is lauching correctly. No more errors with Java Virtual Machine.
    But is it a good thing to solve it like that ?"
    But the ide.conf file is only at "D:\sqldeveloper\ide\bin\ide.conf" which is for the SQL Developer and not the SQl Developer Data Modeler
    Correct me if I am wrong but
    JRE = Java Run Time Envoirment
    JDK = Java Development Kit
    And Oracle SQL Developer Data Modeler needs JRE and not JDK. In any case I download JDK
    jdk-6u14-javafx-1_2-windows-i586.exe (121,306 KB) and installed it but no succcess.
    I tried every thing except completely re-install my whole PC.
    Any help will be much appreciated.
    Cordially,
    Jawad

  • "Oracle SQL Developer Data Modeler reporting repository required"

    Hi all,
    Trying to make use of Data Modeler Reports from within SQL Dev EA 2.1, but every time I try to connect to a DB I get the following message "Oracle SQL Developer Data Modeler reporting repository required."
    Any idea how to go about sorting this out?
    Thanks

    Hi i have the Oracle SQL Developer Data Modeler version 2.0.0 installed.
    When i try to export one diagram to the reporting schema, i get the following error : "Error occurred while exporting to Reporting Schema.See the log file for details".
    The log file has no errors.
    The repository owner is DBA.
    The connection is ok.
    Can you help me?
    Thanks in advance
    Paolo.

  • Import of ERwinR8 data models into Oracle SQL Developer Data Modeler

    Hi!  My site want to move off ERwin R8 and use Oracle SQL Developer Data Modeler.  When will Oracle SQL Developer Data Modeler support the import of ERwin R8data model xml?
    Thanks very much,  Patty

    Hi,
    You can add the classic SCOTT schema with EMP/DEPT tables to a 10g Express Edition DB by running this script as SYSTEM:
    C:\oraclexe\app\oracle\product\10.2.0\server\RDBMS\ADMIN\scott.sql
    Also, you may wish to upgrade to the current version of SQL Developer:
    http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html
    As for importing a .dmp file, you import it to the database, not SQL Developer. Please post that question to the appropriate forum.
    Regards,
    Gary Graham
    SQL Developer Team

  • Oracle sql developer Data Modeler -er diagram

    Hi
    I tried to Oracle sql developer data modeler for show relational ER diagrams.
    Tables are came on data modeler but not shown relations between tables.
    like this
    How can show relations between tables?
    http://i54.tinypic.com/30wxq1e.jpg

    SDDM cannot create an ER diagram with only simple table definitions. It requires that primary keys (PKs) and foreign keys (FKs) be defined first. My guess is you imported these table designs from an existing database. If so, that database does not contain those constraints. (I have found this to be an issue in many organizations over the last 20 years - including my current job). You will have to determine:
    1. The PKs for each table (either via data profiling or talk to someone who "knows" what they are supposed to be, or by reading application logic/code used to manage the tables).
    2. The FKs between the tables. You may be able to guess some of that based on column names, otherwise you will have to figure them out (same as above)
    Then you can update the model in SDDM with the PK definiions (manually). You must do that first before you draw in the FKs between the tables. Now if you want a true Entity Relationship model you need create a logical model from this relational model. The SDDM utility for that will convert the tables to entities and the FKs to relationships.
    I have the basic steps with screen shots outlined in a presentation I gave in Denver in late 2009. It was an earlier version of SDDM but the basics are the same. You can find the presentation is here: http://www.rmoug.org/QEW2009/SQL%20Developer%20Data%20Modeler%20(2).pdf. Start at about slide 12.
    HTH
    (FYI - I no longer work at that company so the contact information not correct anymore).
    Edited by: Kent Graziano on Apr 25, 2011 1:13 PM
    Edited by: Kent Graziano on Apr 25, 2011 1:14 PM

  • Oracle SQL Developer Data Modeler

    Hi Guys,
    Is it possible to generate the data model design with Oracle SQL Developer Data Modeler and save such that other programs can open it?
    For example visio and how can I achieve that?
    Thanks

    no,
    Philip

  • MySQL functionality within Oracle SQL Developer Data Modeler

    Hi all,
    I've read a few forum posts here that lead me to believe that MySQL is not currently supported by the data modeler tool (Link #1 I got to by clicking on the Statement Of Direction link on the main page SQL Developer Data Modeler&lt;/title&gt;&lt;meta name=&quot;Title&quot; content=&quot;SQL Developer Data Modeler&quot;&g… Link #2 I got to by doing a search on the word MySQL within the forum search):
    Link 1:
    SQL Developer Data Modeler Statement of Direction
    Link 2:
    Can datamodeler be used with MySQL?
    SQL Developer (not the Data Modeler tool, but the database admin-type tool not for modeling) does support MySQL using the latest MySQL Connector J 5.1 driver but, strangely,  it doesn't seem the Data Modeler supports it, though.  Can anyone please confirm that MySQL is currently unsupported for the Data Modeler tool?  Thanks in advance.

    Hi,
    it doesn't seem the Data Modeler supports it, though.
    Data Modeler doesn't have specific support for MySQL - i.e you cannot generate DDL for MySQL. Though you can import form MySQL server using JDBC connection in standalone DM or using created MySQL connection if you are using DM inside SQL Developer.
    You can import definitions for tables(columns, PK and UK constraints, indexes, foreign keys) and views.
    Philip

  • SQL Developer Data Modeling - import from Oracle Designer Model

    Hi,
    I do want to try to import model from a Designer repository.
    The first step is to create connection to the repository (9i version).
    I have created the one, however any attempt to test the connection or to go to the next step simply finishes with error "4", without any valueable message.
    Any idea or suggestion ?
    Thanx.

    A clarification of the Data Modeling feedback application and this forum. The developers are part of the SQL Developer development team, but as for all our features, each developer has a focus area, so the Data Modeling developers will tend to answer those questions. There will not be a separate Data Modeling forum, so once we're production all SQL Developer Data Modeling questions will be on this forum. We want to encourage all users to get into the habit of tagging posts. Having the posts tagged means that users can skip them if they're not their focus area and users can search using the tags. The more tags are used in all the forums the better. You may well find find the answers to your questions are outside this forum!
    As SQL Developer Data Modeling in in its first early adopter phase, we have provide a feedback application, where users can provide feedback, log bugs and ask questions. We did the same for SQL Developer before it's initial production release and found this to be very useful for the product.
    I'm happy for "How To" questions to be on this forum, as the answers benefit the broader community.
    Sue Harper

  • SQL Developer Data Modeler - Relation to Foreign Key Generation

    SQL Developer Data Modeler 2.0.0 Build 584.
    I am having trouble with Relations to Foreign Keys when Forward Engineering a Relational Model from a Logical Model.
    First of all, the Naming Standard is not applied to the Foreign Keys when I perform the Engineer to Relational Model.
    So I right click on the Relational Model from the Browser and Apply Naming Standards to Keys and Constraints.
    I uncheck everything but Foreign Keys.
    Now, Foreign Keys are named according to my Naming Standards.
    However, this process also performs renames on the Column Foreign Keys even though I specifically unchecked that option.
    This appears to be a BUG in the software and I haven't found a way around it.
    I tried using {column} instead of {ref column} in the Naming Standard Template for Column Foreign Key, but that simply resulted in renaming my columns to "{column}".
    Please confirm and/or let me know of any work-around for this.
    Thanks,
    Dan

    Hi Philip,
    Thanks for the reply.
    Is this recorded as a bug to be addressed in the future?
    Should I submit this problem via Oracle Support?
    The other work-around I came up with is to override every Relation name in the Logical Model with the name I want to use in the Relational Model.
    When the Relational Model is Engineered, this becomes my Foreign Key name.
    Of course, this is not how I want to do things, so I am hoping for a bug fix someday.
    Regards,
    Dan

  • Domains usage in SQL Developer data MODELER

    Hi,
    I'm trying to understand how to use Domains in Oracle SQL Developer Data Modeler. We use version 3.1.3 .  before I used Toad Modeler  where domains are just part of your main design.
    Oracle data modeler has some different concept.
    let's assume I'm working on 2 designs:  DesignA and DesignB that include relational models.
    DesignA and Design B should use domains but list of domains in design A is very different than in design B.
    Default domain file is located on c: drive where SqlModeler is installed. It is obviously unacceptable , so I need to change Default System Type directory in preferences.
    And of course I want to have different domain directories for DESIGN A and DESIGN B.
    So when I open design A then I changed   Default System Type directory  let's say to x:\AAA.   Then i close design A and open Design B and change Default System Type directory to x:\BBB
    I checked folders AAA and BBB and they  have necessary XML files there:  defaultdomains.xml, defaultRFDBSSites and so on....
    Now questions:
    can I rename defaultdomains.xls to something else like AAAdomains.xls?  Domain administration can edit any domain file with any name , but how  can I associate certain domain file with my design?  My wish , when I open my design , then corresponding domain file will be open automatically.  Is it possible?
    If I open 2 designs in Sql Modeler and switch between designs  then corresponding domain files should be changed automatically as well.  Currently   I shouldn't forget to change default System Type directory every time when I switch models.  Is it the only way to handle it?
    Thanks
    vitaliy

    Hi Vitaliy,
    We use version 3.1.3
    I recommend always to use the latest version. If you don't want to use beta (DM 4.0 EA is out) you can use DM 3.3.
    Otherwise Oracle SQL Developer Data Modeler supports two types of domains:
    1) DM installation domains - those in file defaultdomains.xml
    2) Design level domains - they are stored in design directories and are visible to particular design only. They can be created in following ways:
    2.1 Manually - there is a property "Domains file" and you id it's not set "defaultdomains" domain will become design level domain and will be stored in file with provided name (without .xml extension)
    You can change later the file for design level domains, however you cannot change file for domain already in defaultdomains.xml.
    2.2 Using types to domains wizard you can generate design level domains
    2.3 Design level domains are created during import of  DDL files (controlled in preferences)
    2.4 You can import domains from specific file with domains using "File>Import>Domains" - you need to rename the source file if it's named defaultdomains.xml otherwise you'll get domains as installation domains
    If the list with domains is too long you can define  a list with preferred domains (or/and logical types) in "Preferences>Data Modeler>Model" and you can use shorter list in Table/Entity dialog if check "Preferred" check box next to "Type:" combo box.
    If I open 2 designs in Sql Modeler and switch between designs  then corresponding domain files should be changed automatically as well
    If you open 2 designs in one instance of DM they will use the same file with default domains i.e. you'll lose domains in one of design depending of setting for "system data type directory". You need to go with design level domains.
    Philip

  • Does SQL Developer Data Modeler fit-in??

    Hi Everyone,
    Wish you happy new year 2011.
    Does SQL Developer Data Modeler support conceptual, logical and physical in our modeling or only logical and physical?
    We all use Erwin for modeling. Erwin works without database repository storing models in desktop folders and provide additional reporting. I find some place SQL Developer Data Modeler talked about repository need.
    Does SQL Developer Data Modeler store the models in local/network folders instead of Database server?
    What are the functions need database based repository to work with SQL Developer Data Modeler?
    We are thinking of using SQL Developer Data Modeler for our conceptual, Logical, and data dictionary need. Will it help in our need?
    Do we need to face any surprises on using SQL Developer Data Modeler for our need?
    Thanks in sharing your experience and helping me out.
    RI

    1) Do we need to have Oracle database at back end to work with SQL Developer Data Modeler?No, Data Modeler use Oracle database only if you create reporting repository.
    Data Modeler is free, you need database license only if you want to log service request
    2) Will SQL Developer Data Modeler create any tables (as backend repository ) in Oracle database to store Model details? no
    3) Do we need to create reporting schema in backend oracle database to generate reports of SQL Developer Data Modeler's items such as Entity/attributes etc?no, reports can be created out of current loaded design. However having reporting repository will give you additional benefits - history (reports can be generated for every snapshot of your designs there) and multi-user usage, you can create your own reports
    4) Do we to use SQL Developer Data Modeler reverse engineer from DB2, SqlServer, Terra data etc?Data Modeler has full support for Oracle, DB2/390, DB2/UDB(LUW) and MS SQL Server. Reverse engineering from other databases (including Terra Data) is at generic JDBC level - you'll get some and some will be missing (no check constraints for example).
    You can read release notes http://www.oracle.com/technetwork/developer-tools/datamodeler/ea2-releasenotes-185793.html
    Philip

  • New To SQL Developer Data Modeler - Data Dictionary Report

    I am new to Data Modeler and I am currently learning what I can do and can't with it. Is there a way to generate a "Data Dictionary" report? We would like a report we can distribute that describes all tables and columns with descriptions and comments. We used to use an old version of Power Designer and we could do this from the data model we created. Is it possible to do something like this from SQL Developer Datas Modeler?

    Hi,
    Saxon is just an option, you don't need it by default.
    Could be permissions problem. What are you working on i.e. OS? What java version do you use?
    Even though you have specified directory for the reports do you have permissions to write there?
    Report generation directories priority is:
    1. Custom directory if specified in Settings->Data Modeler->Default Reports Directory
    2. /datamodeler/reports/
    3. User home directory
    You must have permissions somewhere on these directories. On the other hand you are saying that report_data.xml is generated so you have permissions.
    Okay. Now I saw a bug in 710. When you click "Generate report" there are progress dialogs and result dialog, but if you meanwhile click somewhere or change focus, these dialogs are hiding below main "Reports" dialog i.e. you are not seeing them. If you use Alt+Tab the result dialog will popup. This bug is fixed in the next release.
    So you must see either result dialog or error dialog at the end of report generation. If not check with Alt+Tab if it is not hidden somewhere below and if there is no such dialog close the DataModeler and check the log file for some error.
    There is SQL Developer Data Modeler 3.3 Early Adopter Available.
    http://www.oracle.com/technetwork/developer-tools/datamodeler/downloads/datamodeler-33-ea-1869055.html
    Above issue is fixed there and report is opening automatically.
    Edited by: Dimitar Slavov on Nov 29, 2012 11:53 PM

Maybe you are looking for

  • I have an Pioneer HD TV, but it does not have the HDMI port and it only has a USB connection?  Can I still hook up my Apple TV to my TV?

    I just got an Apple TV (the newest black one) and I have an older Pioneer HD TV.  I noticed that I don't have a HDMI port on the TV and only a USB connection.  My question is, can I still hook up the AppleTV to my TV with other connection wires and w

  • Substitution parameter in File format

    Hi Experts, I had defined substitution parameter as [$$gv_xxx_dir] as '\\\abc\def\cca\sample\Test'. When I specify the substitution parameter as root directory in file format input BODS job is taking the path of the directory as '///abc/def/cca/sampl

  • Connecting camera handycam with labview

    Hi everybody !! I'm beginner,  and I'm trying to develop some image processing programs in with Labview , and the quality of the webcam that i use is very bad (the resolution) so i want to use the Handycam of sony (digital video camera recorder). but

  • Changing a boolean inside a movieclip via the main stage.

    I have a movieclip and within it is a bit of actionscript and a couple of different movieclips to make it function like the button on a ball point pen (you click it and it stays clicked until you click it again). var booleanClick:Boolean = false; var

  • Unable to view AdobeTV tutorials on Lightroom

    I recently purchased LR 3 since I kept hearing rave reviews about it being more useful than PS.  However, I seem to have a stumbling block about getting started using it. I was able to watch several of the PS CS4 tutorials, but have only been able to