Is this a BUG???  Database Export not including Foreign Key Constraints

I'm using SQL Developer 1.5.4 with both the 59.47 and 59.59 patches installed. I want to do a database export from a 10g XE schema, and include all objects in the resulting DDL. So, I select ALL the checkboxes in the export wizard and when I get to Step 3 to specify objects, I don't see any of my constraints in the listbox... no foreign key constraints, no primary key constraints, no check constraints, nothing. Is this a bug, or is there a workaround, or what could I possibly be doing wrong? We want to be able to use the database export feature to easily transport and track modifications to our entire schema using source control compare.
Any help or alternate suggestions would be apprieciated.
Thanks,
Matt

Thanks skutz, we just figured that out this morning. Also, it should be noted that you need to be logged in as the owner of the schema otherwise selecting nothing in the filter will give you nothing, but selecting items in the filter will give you those items even if you're not connected as the schema owner. I wonder if that is the detail of the Bug 8679318.
Edited by: mattsnyder on Jul 14, 2009 9:24 AM

Similar Messages

  • Database diagram not displaying foreign keys

    I've created a database diagram by importing tables from a database, and then manually creating the Foreign Keys on the diagram ( they're logical FKs, but not actually on the database ).
    Now, when I reopen the diagram, the 'Structure' tab in the bottom LHS initially displays a list of all of the FKs and tables, and then the list shrinks to just 3 of the 15 or so FKs ( plus the tables ), and only these 3 are displayed on the diagram!
    I can post the diagram file if someone wants to go through it and find out the problem.
    The diagram was created in 10.1.3.1, and will not open correctly in either 10.1.3.1 or SU4.
    *

    Liam,
    Can you zip me up you project so that I can take a look?
    Can you rename the zip file extension to '.zap' to get it through the mail server.
    My email address is [email protected]
    Regards,
    Lisa
    JDev QA

  • Using FOreign key constraints on tables in database.

    I am student and novice in the field of ORACLE and PL/SQL and Database Creation. I had created a database consisting tables and got problem while applying foreign key constraints.
    CUST_MSTR
    CREATE TABLE "DBA_BANKSYS"."CUST_MSTR"("CUST_NO" VARCHAR2(10),
    "FNAME" VARCHAR2(25), "MNAME" VARCHAR2(25), "LNAME" VARCHAR2(25),
    "DOB_INC" DATE NOT NULL,      "OCCUP" VARCHAR2(25), "PHOTOGRAPH" VARCHAR2(25),
    "SIGNATURE" VARCHAR2(25), "PANCOPY" VARCHAR2(1),      "FORM60" VARCHAR2(1));
    (CUST_NO is PRIMARY KEY, )
    -- EMP_MSTR
    CREATE TABLE "DBA_BANKSYS"."EMP_MSTR"("EMP_NO" VARCHAR2(10),
    "BRANCH_NO" VARCHAR2(10), "FNAME" VARCHAR2(25), "MNAME" VARCHAR2(25),
    "LNAME" VARCHAR2(25), "DEPT" VARCHAR2(30), "DESIG" VARCHAR2(30));
    (EMP_NO is primary key )
    --NOMINEE_MSTR
    CREATE TABLE "DBA_BANKSYS"."NOMINEE_MSTR"("NOMINEE_NO" VARCHAR2(10),
    "ACCT_FD_NO" VARCHAR2(10), "NAME" VARCHAR2(75), "DOB" DATE,
    RELATIONSHIP" VARCHAR2(25));
    (NOMINEE_NO is primary key )
    --ADDR_DTLS
    CREATE TABLE "DBA_BANKSYS"."ADDR_DTLS"("ADDR_NO" NUMBER(6),
    "CODE_NO" VARCHAR2(10),      "ADDR_TYPE" VARCHAR2(1), "ADDR1" VARCHAR2(50),
    "ADDR2" VARCHAR2(50), "CITY" VARCHAR2(25), "STATE" VARCHAR2(25),
    "PINCODE" VARCHAR2(6));
    ( ADDR_NO is primary key )
    Problem: I want to apply foreign key constraints on ADDR_DTLS table so that Before inserting value in ADDR_DTLS table it must check, VALUE in ADDR_DTLS.CODE_NO must be PRESENT either in attribute value CUST_MSTR.CODE_NO or EMP_MSTR.CODE_NO or NOMINEE_MSTR.CODE_NO table .
    I applied the foreign key constraints using this syntax
    CREATE TABLE "DBA_BANKSYS"."ADDR_DTLS"("ADDR_NO" NUMBER(6),
    "CODE_NO" VARCHAR2(10),      "ADDR_TYPE" VARCHAR2(1), "ADDR1" VARCHAR2(50),
    "ADDR2" VARCHAR2(50), "CITY" VARCHAR2(25), "STATE" VARCHAR2(25),
    "PINCODE" VARCHAR2(6),
    constraints fk_add foreign key CODE_NO references CUST_MSTR. CODE_NO,
    constraints fk_add1 foreign key CODE_NO references EMP_MSTR. CODE_NO,
    constraints fk_add2 foreign key CODE_NO references NOMINEE_MSTR.CODE_NO);
    (foreign key)
    ADDR_DTLS.CODE_NO ->CUST_MSTR.CUST_NO
    ADDR_DTLS.CODE_NO ->NOMINEE_MSTR.NOMINEE_NO
    ADDR_DTLS.CODE_NO ->BRANCH_MSTR.BRANCH_NO
    ADDR_DTLS.CODE_NO ->EMP_MSTR.EMP_NO
    When I applied foreign key constraints this way, its gives a error called foreign key constraints violation. (I understand that, its searches the attribute value of ADDR_DTLS.CODE_NO in all the three tables must be present then the value will be inserted. But I want, if the value is in any of the three table then its should insert the value or its gives an error.)
    Please help me out, though i put the question and i want too know how to apply the forign key in this way. and is there any other option if foreign key implementation is not pssible.

    If you are on 11g you can use ON DELETE SET NULL:
    CREATE TABLE addr_dtls
    ( addr_no          NUMBER(6)  CONSTRAINT addr_pk PRIMARY KEY
    , addr_cust_no     CONSTRAINT addr_cust_fk    REFERENCES cust_mstr    ON DELETE SET NULL
    , addr_emp_no      CONSTRAINT addr_emp_fk     REFERENCES emp_mstr     ON DELETE SET NULL
    , addr_nominee_no  CONSTRAINT addr_nominee_fk REFERENCES nominee_mstr ON DELETE SET NULL
    , addr_type        VARCHAR2(1)
    , addr1            VARCHAR2(50)
    , addr2            VARCHAR2(50)
    , city             VARCHAR2(25)
    , state            VARCHAR2(25)
    , pincode          VARCHAR2(6) );In earlier versions you'll need to code some application logic to do something similar when a parent row is deleted, as otherwise the only options are to delete the dependent rows or raise an error.
    btw table names can be up to 30 characters and don't need to end with MSTR or DTLS, so for example CUSTOMERS and ADDRESSES might be more readable than CUST_MSTR and ADDR_DTLS. Also if the Customer/Employee/Nominee PKs are generated from a sequence they should be numeric.
    Edited by: William Robertson on Aug 15, 2010 6:47 PM

  • When I send e-mail messages with file by using a POP3 in Exchange 2010 I received delivered message with file. How I can disable this functions that file do not include to delivery message. I use Exchange 2010 only local users.

    When I send e-mail messages with file by using a POP3 in Exchange 2010 I received delivered message with file. How I can disable this functions that file do not include to delivery message.  I use Exchange 2010 only local users.

    I think there is not native rule for this, but you could try a transport rule which removes all attachments over a very small file size like 1KB.
    http://blogs.technet.com/b/exchange/archive/2009/05/11/3407435.aspx
    CRM Advisor

  • Doing queries in view objects that do not include primary keys of entities

    Is it possible to create a view object based on an entity that doesn't include the primary key from that entity object. For instance I want to do something like "select distinct (attrib1) from sometable" and obviously attrib1 is not the primary key for that table so I get an error that says, you must include a primary key in your view object. How would I implement something like this in bc4j?

    You just need to go into expert mode and create the statement directly with the relevant SQL
    e.g. in 9.0.3:
    Context Menu -> New View Object
    Select no entities in Step 2
    Next through to Step 5 of the wizard and enter you expert mode SQL there. E.g. Select distinct deptno from emp
    Assign the new VO to the AM data model and away you go.

  • .SubmitChanges does not update foreign key to the database

    My problem occurs in a Windows Phone 8.1 Silverlight VB application. The CatDataContext defines a table Books with items Title and a foreign key _seriesID, with belongs to a table Series.
    Updating of the field Title alone, or the fields Title and _seriesID works fine. However when I only change the _seriesID then no update of the underlying database is done. In this case .GetModifiedMembers shows no modifications.
    A demo project with this problem is available.

    Your demo project url is missing, check it.

  • SQL Developer Data Modeler not drawing foreign key relationships

    I'm having trouble with SQL Developer Data Modeler when I importa a DDL that has foreign keys. I export DDL files from SQL developer and choose various subsets of files. Sometimes Data Modeler will not recognize a foreign key if I include say a dozen files in the DDL file, but it will if I include just a few. Worse, even if the foreign key is recognized, sometimes it is not drawn in the Data Modeler and I have no way to make it be drawn. To be specific, I import a file containing the DDL for just two tables -- I see the foreign key! I import a file containing the DDL for a dozen tables including the two, I don't! Is there something I am not understanding about when Data Modeler will draw foreign keys or is the tool simply quite buggy?
    Much thanks!
    -ttamon

    Hi Philip,
    I believe I have isolated the problem. Apparently if a field is named "FOREIGN..." it interferes with the tool recognizing foreign keys. Try to import a DDL file containing the following text:
    CREATE TABLE "SAMPLE"."SAMPLE_ONE"
    (     "ID" VARCHAR2(255 CHAR) NOT NULL ENABLE,
         "VALUE" VARCHAR2(255 CHAR),
         PRIMARY KEY ("ID")
    TABLESPACE "SAMPLE_DATA" ;
    CREATE TABLE "SAMPLE"."SAMPLE_TWO"
    (     "ID" VARCHAR2(255 CHAR) NOT NULL ENABLE,
         "FOREIGN_NAME" VARCHAR2(255 CHAR),
         PRIMARY KEY ("ID")
    TABLESPACE "SAMPLE_DATA" ;
    CREATE TABLE "SAMPLE"."SAMPLE_THREE"
    (     "ID" VARCHAR2(255 CHAR) NOT NULL ENABLE,
         "VALUE" VARCHAR2(255 CHAR) NOT NULL ENABLE,
         "ALT_ID" VARCHAR2(255 CHAR),
         PRIMARY KEY ("ID")
    TABLESPACE "SAMPLE_DATA" ENABLE,
         CONSTRAINT "FK6DF8294F2288190D" FOREIGN KEY ("ALT_ID")
         REFERENCES "SAMPLE"."SAMPLE_ONE" ("ID") ENABLE
    TABLESPACE "SAMPLE_DATA" ;
    You will discover the foreign key is not recognized or drawn! Now, if you swap the location of the third table (put it up first) everything works fine. This is how I discovered the problem, various subsets would work, others would not. To confirm the problem is with the field named "FOREIGN_NAME" use the DDL as specified above but change the first letter in the word "FOREIGN" to something else, and it will recognize the foreign key. Looks like a bug to me (took me about 4 hours to isolate this!). I am using Oracle SQL Developer Data Modeler version 2.0.0 Build 584.
    -ttamon

  • Determine if database view column is foreign key in underlying table

    Hi,
    I have posted this same question to the General Database Discussions and JDBC forums.
    I am using Oracle database 10g (10.1.0.4.0 - 64 bit production) standard edition on Red Hat Enterprise Linux AS release 3, JDK 1.4.2 and the latest Oracle JDBC (thin) driver.
    We have a java GUI application that is a front-end for our database. Some of the data entry screens display data from database views. If a column in the view is a foreign key in the underlying table, we want to display a combo-box with the valid values so that the user can choose a correct value.
    Is there some way to know whether a column in a view is a foreign key in the view's underlying table?
    Thanks,
    Avi.

    I take that back.. I did figure something out for ya.. After reading some elses post I wrote this code... but its time to go home... I believe this will show you all the constraints and constraint types for the underlying tables of all the views for a user. You can mess with it and get it to return only FK (constraint_type = 'R') and only for a single view if ya like... The all_dependencies data dictionary view is the key to this whole operation...
    select con.table_name, ucc.column_name, con.constraint_name, con.constraint_type
    from all_constraints con, all_cons_columns ucc
    where con.owner = user and
    con.owner = ucc.owner and
    con.table_name = ucc.table_name and
    con.table_name in
    (SELECT referenced_name
    FROM all_dependencies
    WHERE referenced_owner = USER
    AND referenced_type = 'TABLE'
    AND type = 'VIEW');

  • Not use foreign keys.

    I would like to know if is it bad if I don't want to use foreign keys? is it just a constraint? Is it useful? If I wont use delete on cascade for example is it mandatory to use foreign keys? Please help me with this doubt.
    Thanks.

    A Small example:
    DROP TABLE T_TABLES ;
    CREATE TABLE T_TABLES AS
    SELECT ROWNUM AS ID, OWNER, TABLE_NAME
    FROM   ALL_TABLES;
    ALTER TABLE T_TABLES ADD CONSTRAINTS PK_TABLES PRIMARY KEY(ID);
    DROP TABLE T_TABLE_COLUMNS ;
    CREATE TABLE T_TABLE_COLUMNS AS
      SELECT T.ID, TC.OWNER, TC.TABLE_NAME, TC.COLUMN_NAME, TC.DATA_TYPE
      FROM   ALL_TAB_COLS TC
               JOIN T_TABLES T ON (T.OWNER = TC.OWNER AND T.TABLE_NAME = TC.TABLE_NAME)
      WHERE  T.TABLE_NAME NOT IN ('T_TABLES', 'T_TABLE_COLUMNS'); -- EXCEPT THESE TWO TABLES
    EXPLAIN PLAN FOR
    SELECT *
    FROM   T_TABLE_COLUMNS
    WHERE  ID IN (SELECT ID FROM T_TABLES);
    SELECT * FROM TABLE(DBMS_XPLAN.DISPLAY);
    | Id  | Operation          | Name            | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT   |                 | 27823 |  3586K|    63   (7)| 00:00:01 |
    |   1 |  NESTED LOOPS      |                 | 27823 |  3586K|    63   (7)| 00:00:01 |
    |   2 |   TABLE ACCESS FULL| T_TABLE_COLUMNS | 27823 |  3233K|    60   (2)| 00:00:01 |
    |*  3 |   INDEX UNIQUE SCAN| PK_TABLES       |     1 |    13 |     0   (0)| 00:00:01 |
    --ADD FOREIGN KEY
    ALTER TABLE T_TABLE_COLUMNS ADD CONSTRAINT FK_TABLES FOREIGN KEY(ID) REFERENCES T_TABLES(ID);
    -- SAME QUERY AGAIN
    EXPLAIN PLAN FOR
    SELECT *
    FROM   T_TABLE_COLUMNS
    WHERE  ID IN (SELECT ID FROM T_TABLES);
    SELECT * FROM TABLE(DBMS_XPLAN.DISPLAY);
    -- NO JOIN ANYMORE
    | Id  | Operation         | Name            | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT  |                 | 27823 |  3233K|    60   (2)| 00:00:01 |
    |*  1 |  TABLE ACCESS FULL| T_TABLE_COLUMNS | 27823 |  3233K|    60   (2)| 00:00:01 |
    -------------------------------------------------------------------------------------FKs can even save you from joins.

  • [b]How to create this Custom Table on Custom Schema with foreign key [/b]

    This Custom Table is create in Custom Schema and Refers to Seeded Table in APPS schema
    1 create table test_dff (test_id number(15) primary key,
    2* invoice_id number(15) constraint ap_test_fk REFERENCES ap_invoices_all(invoice_id) ON DELETE CASCADE)
    SQL> /
    invoice_id number(15) constraint ap_test_fk REFERENCES ap_invoices_all(invoice_id) ON DELETE CASCADE
    ERROR at line 2:
    ORA-02270: no matching unique or primary key for this column-list
    How to create this Custom Table on Custom Schema
    thanks in advance

    hi prashant
    sorry for replying late, i have checked your query and it gives me no rows, but if i check for user_cons_columns it gives me no rows either in APPS Schema, but in AP schema it gives me
    SQL> SELECT * FROM user_cons_columns WHERE table_name = 'AP_INVOICES_ALL';
    OWNER CONSTRAINT_NAME TABLE_NAME
    COLUMN_NAME
    POSITION
    AP SYS_C008177 AP_INVOICES_ALL
    INVOICE_ID
    SQL> SELECT constraint_name, constraint_type FROM user_constraints WHERE table_name = 'AP_INVOICES_A
    LL';
    CONSTRAINT_NAME C
    SYS_C008177 C
    SYS_C008178 C
    SYS_C008179 C
    SYS_C008180 C
    SYS_C008181 C
    SYS_C008182 C
    SYS_C008183 C
    SYS_C008184 C
    SYS_C008185 C
    SYS_C008187 C
    SYS_C008189 C
    SYS_C008191 C
    and since this is a combination of Unique and Not Null Constraints , i am getting the same issue. do u have any solution to make the Detail table records to delete without using Alerts/DB Triggers?
    thanks for your time .
    abdul rahman

  • SYSTIMESTAMP - is this a bug?

    Hi,
    According to the docs "SYSTIMESTAMP returns the system date, including fractional seconds and time zone, of the system on which the database resides." and "CURRENT_TIMESTAMP returns the current date and time in the session time zone".
    Here's the behaviour that strikes me as strange ...
    SQL*Plus: Release 11.1.0.7.0 - Production on Tue Oct 26 09:33:57 2010
    Copyright (c) 1982, 2008, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Release 11.1.0.7.0 - 64bit Production
    SQL> select dbtimezone from dual;
    DBT
    GMT
    SQL> select sessiontimezone from dual;
    SESSIONTIMEZONE
    +11:00
    SQL> select systimestamp - current_timestamp from dual;
    SYSTIMESTAMP-CURRENT_TIMESTAMP
    -000000000 00:00:00.000005
    SQL> select sysdate - systimestamp from dual;
    SYSDATE-SYSTIMESTAMP
    -000000000 00:00:00.015974
    SQL> alter session set time_zone = '+10:00';
    Session altered.
    SQL> select systimestamp - current_timestamp from dual;
    SYSTIMESTAMP-CURRENT_TIMESTAMP
    -000000000 00:00:00.000004
    SQL> select sysdate - systimestamp from dual;
    SYSDATE-SYSTIMESTAMP
    +000000000 00:59:59.355370
    SQL> select systimestamp, current_timestamp, systimestamp - current_timestamp diff from dual;
    SYSTIMESTAMP                        CURRENT_TIMESTAMP                   DIFF
    26-OCT-10 09.45.19.425892 AM +11:00 26-OCT-10 08.45.19.425899 AM +10:00 -000000000 00:00:00.000007As you can see, to start with, the difference between SYSDATE and SYSTIMESTAMP is merely the fractional part of the second - as expected. Similarly, the difference between SYSTIMESTAMP and CURRENT_TIMESTAMP is effectively zero. Again, since my session timezone defaults to the system timezone, that is what I expect.
    However, when I adjust my session time zone by one hour I would have expected the difference between SYSTIMESTAMP and SYSDATE to remain as < 1 second and the difference between SYSTIMESTAMP and CURRENT_TIMESTAMP to be one hour. In fact the opposite is what I see.
    The last select is really weird.
    Is this a bug?
    If not, why not?
    Thanks,
    Steve

    Another example of weird (to me anyway) ...
    SQL> select sessiontimezone from dual;
    SESSIONTIMEZONE
    +11:00
    SQL> select systimestamp - cast(systimestamp as timestamp) from dual;
    SYSTIMESTAMP-CAST(SYSTIMESTAMPASTIMESTAMP)
    +000000000 00:00:00.000000
    SQL> alter session set time_zone = '+10:00';
    Session altered.
    SQL> select systimestamp - cast(systimestamp as timestamp) from dual;
    SYSTIMESTAMP-CAST(SYSTIMESTAMPASTIMESTAMP)
    -000000000 01:00:00.000000

  • CSCtw80338 - Database is not in sync on both nodes alert in RTMT

    We are constantly getting a rtmt alert from UCCX that SyslogSeverityMatchFound events generated.
    Please see the alert below:
    At Wed Dec 31 21:02:46 AST 2014 on node 10.120.180.20, the following SyslogSeverityMatchFound events generated:
    SeverityMatch : Alert
    MatchedEvent : Dec 31 21:02:17 PUBNAME local7 1 : 572: PUB DNS ENTRY: Dec 31 2014 06:02:17 PM.964 UTC :  %UC_LIB_DATABASE-1-DB_NOT_IN_SYNC: %[AppID=Cisco Unified CCX Cluster View Daemon][ClusterID=][NodeID=HMCBTUCCXPUB]: Database is not in sync on both nodes
    AppID : Cisco Syslog Agent
    ClusterID :
    NodeID : PUBNAME
     TimeStamp : Wed Dec 31 21:02:17 AST 2014
    Its looks  like below bug;
    Database is not in sync on both nodes alert in RTMT
    CSCtw80338
    Description
    Symptom:
    RTMT alert should be informational only.
    At Thu Dec 08 04:00:31 EST 2011 on node 10.251.254.120, the following SyslogSeverityMatchFound events generated:
    SeverityMatch : Alert
    MatchedEvent : Dec 8 04:00:03 PHLCC002 local7 1 : 32:
    PHLCC002.cozen.com: Dec 08 2011 09:00:03.191 UTC :
    %UC_LIB_DATABASE-1-DB_NOT_IN_SYNC: %[AppID=Cisco Unified CCX Cluster View Daemon][ClusterID=][NodeID=XXXXX]: Database is not in sync on both nodes AppID : Cisco Syslog Agent ClusterID :
    NodeID : XXXXX
    TimeStamp : Thu Dec 08 04:00:03 EST 2011
    Conditions:
    RTMT alert for UCCX 8.x
    Workaround:
    None
    Details
    Last Modified:
    Dec 10,2014
    Is there a way to fix this ?
    UCCX version is 10.5

    Getting this exact type of error and we are also running UCCX 10.5

  • Database is not in sync on both nodes alert in RTMT

    We are constantly getting a rtmt alert from UCCX that SyslogSeverityMatchFound events generated.
    Please see the alert below:
    At Wed Dec 31 21:02:46 AST 2014 on node 10.120.180.20, the following SyslogSeverityMatchFound events generated:
    SeverityMatch : Alert
    MatchedEvent : Dec 31 21:02:17 PUBNAME local7 1 : 572: PUB DNS ENTRY: Dec 31 2014 06:02:17 PM.964 UTC :  %UC_LIB_DATABASE-1-DB_NOT_IN_SYNC: %[AppID=Cisco Unified CCX Cluster View Daemon][ClusterID=][NodeID=HMCBTUCCXPUB]: Database is not in sync on both nodes
    AppID : Cisco Syslog Agent
    ClusterID :
    NodeID : PUBNAME
     TimeStamp : Wed Dec 31 21:02:17 AST 2014
    Its looks  like below bug;
    Database is not in sync on both nodes alert in RTMT
    CSCtw80338
    Description
    Symptom:
    RTMT alert should be informational only.
    At Thu Dec 08 04:00:31 EST 2011 on node 10.251.254.120, the following SyslogSeverityMatchFound events generated:
    SeverityMatch : Alert
    MatchedEvent : Dec 8 04:00:03 PHLCC002 local7 1 : 32:
    PHLCC002.cozen.com: Dec 08 2011 09:00:03.191 UTC :
    %UC_LIB_DATABASE-1-DB_NOT_IN_SYNC: %[AppID=Cisco Unified CCX Cluster View Daemon][ClusterID=][NodeID=XXXXX]: Database is not in sync on both nodes AppID : Cisco Syslog Agent ClusterID :
    NodeID : XXXXX
    TimeStamp : Thu Dec 08 04:00:03 EST 2011
    Conditions:
    RTMT alert for UCCX 8.x
    Workaround:
    None
    Details
    Last Modified:
    Dec 10,2014
    Is there a way to fix this ?
    UCCX version is 10.5

    Which UCCX version are you using? There is already a bug opened for 8.0. Please check below link for same.
    http://tools.cisco.com/Support/BugToolKit/search/getBugDetails.do?method=fetchBugDetails&bugId=CSCtx48905

  • [4.0] Incomplete sort for objects in DDL when using Database Export or "quick DDL"

    As far as I could see, a similar problem has been reported for earlier versions of SQL Developer, but still seems to apply for some parts in 4.0.0.13.80 under Windows7 64bit with JDK 1.7.0_45 64bit ...
    Currently not all objects in a generated DDL using "Quick DDL" or "Tools - Database Export" are sorted evenly ... tables and foreign key constraints seem to be sorted, but common constraints are not.
    This is rather annoying when trying to compare the generated scripts of two databases. Or trying to detect changes over lifetime (SVN etc.).
    Or is there an option for this I could not find/see so far?
    example output from database export of SQLDev 4.0.0.13.80 on the same machine, within some minutes, no configuration change, for a local and a remote database ...
    from local:
    Questions:
    why are there blank lines added for the local database
    why aren't the grants in the same order
    local database
    remote database
      GRANT DELETE, INSERT, SELECT, UPDATE ON "FOREIGNSCHEMA"."TABLE_FOR_GRANT" TO "ACCESS_ROLE_FOR_SCHEMA_3";
      GRANT REFERENCES ON "FOREIGNSCHEMA"."TABLE_FOR_GRANT" TO "SCHEMA_3";
      GRANT REFERENCES ON "FOREIGNSCHEMA"."TABLE_FOR_GRANT" TO "SCHEMA_4";
      GRANT SELECT, REFERENCES ON "FOREIGNSCHEMA"."TABLE_FOR_GRANT" TO "SCHEMA_5";
      GRANT SELECT, REFERENCES ON "FOREIGNSCHEMA"."TABLE_FOR_GRANT" TO "SCHEMA_6";
      GRANT SELECT ON "FOREIGNSCHEMA"."TABLE_FOR_GRANT" TO "SCHEMA_7";
      GRANT REFERENCES ON "FOREIGNSCHEMA"."TABLE_FOR_GRANT" TO "SCHEMA_3";
      GRANT REFERENCES ON "FOREIGNSCHEMA"."TABLE_FOR_GRANT" TO "SCHEMA_4";
      GRANT SELECT, REFERENCES ON "FOREIGNSCHEMA"."TABLE_FOR_GRANT" TO "SCHEMA_5";
      GRANT DELETE, INSERT, SELECT, UPDATE ON "FOREIGNSCHEMA"."TABLE_FOR_GRANT" TO "ACCESS_ROLE_FOR_SCHEMA_3";
      GRANT SELECT, REFERENCES ON "FOREIGNSCHEMA"."TABLE_FOR_GRANT" TO "SCHEMA_6";
    remark: missing SCHEMA_7 is okay, because it is not yet on the remote database
    Similar applies to non foreign key constraints, where the unsorted output is even worse ...
    Message was edited by: stueckl

    Did you ever figure out why SQL Developer isn't exporting the NOT NULL attribute of columns?
    I'm running into that on a 9i database, but not on 11g.
    Skip

  • BUG: Database Modeling in JDeveloper 11.1.2.1.0

    Hello,
    I'm defining a foreign key constraint in a database diagram in JDeveloper 11.1.2.1.0 with several columns, and within the Edit Constraint dialog in the Associations list the local columns names does not match the referenced columns names in the grid, although the associations are well defined internally. The same occurs in the Foreign Keys section of the Edit Table dialog, so I would like to know if there is any service pack or something that fixes this,
    Thanks in advance.

    Hi,
    Shay is correct that what you are trying to do requires JDeveloper 12c.
    Frank

Maybe you are looking for

  • Request through http, but I cannot get a Computer certificate

    Hello, From a client I type in my browser: http://dc1/certsrv. Then I get to a screen where I can choose among these certificates: User, Basic EFS, Administrator....and a few more ; but I don't see "Computer certificate" in that list. Does anyone kno

  • Address bar disappears in browser after scroll

    I was looking at an iPhone 4S at the Verizon store, and was reading a very long webpage article about the phone. When I got to the bottom, I noticed that the URL bar was gone, and it took me over 10 swipes to get back up to it. This is really a pain

  • Lightroom would not open.  Adobe registration keep coming up, and I'm already registered!

    I have installed lightroom in my mac, but everytime I open it, the Adobe registration form comes on.  I have entered the serial number repeatedly, but once I click "Finish," the whole thing disappears, and Lightroom does not open.  Any advice for me?

  • Getting a little ticked off here...

    Ok, so I brought my MBP into the Apple Store to get fixed, due to an error code I received in the Apple Hardware Test -- it was something to do with the VideoController. So they ordered a new logic board, replaced mine, and once I got it back, I was

  • Oracle Security Server...now part of OID???

    I have a potential client that has posted requirements for a DBA with OSS framework. I was going through documentation, and it appears that OSS is an older implementation. I think that product was rolled into OID using Oracle Advanced Security / SSL.