Sql developer database diff generating incorrect diff scripts

I am wondering whether this may have to do with incorrect preference settings. Note I am NOT diffing 2 schemas that I log in as. That shouldn't matter. I log in as a DBA user.
I am getting alot of alter statements such as
alter table add constraint NOT NULL
This errors out because the table already has a NOT null constraint.
I then checked both databases to make sure I didn't run my diffs in the wrong direction. Both databases have this NOT NULL constraints.
I just checked a create table statement. The table exists in both databases. What am I missing here? Is there some setting in preferences about how database diff works?

Can reproduce same issue in 11gR1.. DIFF works fine in 10gR2.
I noticed that 10gR2 allows something like:
DBMS_METADATA.SET_TRANSFORM_PARAM(th,'SEGMENT_ATTRIBUTES',0);
and 11GR2 returns error similar to error SQLNAVIGATOR returns while running diff:
DBMS_METADATA.SET_TRANSFORM_PARAM(th,'SEGMENT_ATTRIBUTES',0);
end;
Error report:
ORA-31600: invalid input value 0 for parameter SEGMENT_ATTRIBUTES in function SET_TRANSFORM_PARAM
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
ORA-06512: at "SYS.DBMS_METADATA_INT", line 8424
ORA-06512: at "SYS.DBMS_METADATA_INT", line 9484
ORA-06512: at "SYS.DBMS_METADATA", line 3950
Its safe to assume that this is SQLDEVELOPER bug. Hope it will be addressed sometime.
Edited by: user5420304 on Jun 15, 2010 10:29 AM

Similar Messages

  • SQL Developer - database connect problem

    Hello
    Just wanted to give SQL Developer a try, downloaded it, unzipped and pointed at Java SDK's java.exe.
    It started, I created a TNS connection and successfully passed test. But when I try to connect to database - it errors with following
    java.lang.ArithmeticException: / by zero
         at oracle.jdbc.driver.OraclePreparedStatement.<init>(OraclePreparedStatement.java:1233)
         at oracle.jdbc.driver.OracleCallableStatement.<init>(OracleCallableStatement.java:100)
         at oracle.jdbc.driver.T4CCallableStatement.<init>(T4CCallableStatement.java:27)
         at oracle.jdbc.driver.T4CDriverExtension.allocateCallableStatement(T4CDriverExtension.java:88)
         at oracle.jdbc.driver.PhysicalConnection.prepareCall(PhysicalConnection.java:3135)
         at oracle.jdbc.driver.PhysicalConnection.prepareCall(PhysicalConnection.java:3090)
         at oracle.dbtools.db.DBUtil.executeReturnOneCol(DBUtil.java:275)
         at oracle.dbtools.raptor.InitializeConnectionListener.initConnection(InitializeConnectionListener.java:137)
         at oracle.dbtools.raptor.InitializeConnectionListener$1.run(InitializeConnectionListener.java:85)
    I googled for this error and found nothing suitable
    Other development tools including SQL Plus connect an run fine.
    I have 10g client, and I connect to 9.2.0.6 database. My OS is Vista Business SP1, so I though it might be UAC issue and tried running as both standard user and administrator, also allowed java.exe and sqldeveloper.exe through firewall. Nothing helped :(
    Any settings and ideas that might help will be appreciated.
    Thanks for help
    Edited by: user8082464 on Apr 27, 2009 12:25 AM

    Duplicate post in SQL Developer - database connect problem

  • Sql developer database diff - generate script not working

    Using SQL devleloper 2.1. Database diff generate script gives errors making it completely non-usable
    ORA-31600: invalid input value 0 for parameter SEGMENT_ATTRIBUTES in function SET_TRANSFORM_PARAM
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
    ORA-06512: at "SYS.DBMS_METADATA_INT", line 8150
    ORA-06512: at "SYS.DBMS_METADATA_INT", line 9270
    ORA-06512: at "SYS.DBMS_METADATA", line 4757
    ORA-06512: at line 1
    and
    Illegal Lock State: executeOracleQuery requires connection lock to be held. oracle.dbtools.raptor.diff.oracle.table.DiffTableRefConstraints.setup(DiffTableRefConstraints.java:215) called oracle.dbtools.db.DBUtil.executeQuery(DBUtil.java:681) without it
    I do get the differences visually (yes, I am bugged that constraints are not smart enough to compare on content of the constraint....problem when the contstraint names are sys-nnnnnn generated). Just cannot create the script.
    Any ideas to solve this issue? Thanks in advance, Kelly

    Can reproduce same issue in 11gR1.. DIFF works fine in 10gR2.
    I noticed that 10gR2 allows something like:
    DBMS_METADATA.SET_TRANSFORM_PARAM(th,'SEGMENT_ATTRIBUTES',0);
    and 11GR2 returns error similar to error SQLNAVIGATOR returns while running diff:
    DBMS_METADATA.SET_TRANSFORM_PARAM(th,'SEGMENT_ATTRIBUTES',0);
    end;
    Error report:
    ORA-31600: invalid input value 0 for parameter SEGMENT_ATTRIBUTES in function SET_TRANSFORM_PARAM
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
    ORA-06512: at "SYS.DBMS_METADATA_INT", line 8424
    ORA-06512: at "SYS.DBMS_METADATA_INT", line 9484
    ORA-06512: at "SYS.DBMS_METADATA", line 3950
    Its safe to assume that this is SQLDEVELOPER bug. Hope it will be addressed sometime.
    Edited by: user5420304 on Jun 15, 2010 10:29 AM

  • Sql developer database difference

    I want to save the diff report that I have got comparing two schemas to an excel report.
    Can anybody tell me how I can do this?
    And also any body know how views and packages are compared between two schemas.
    I see the database difference options generates an alter script for views ,functions,packages and procedures.
    When I do a textual comparison I don't see any difference.
    I am confused about on what parameters the comparison is done.
    please help me.

    You cannot currently save the diff report, but I like the idea. I encourage you to add this to the Feature Requests at the SQL Developer Exchange. This not only makes sure we don't forget, but also gives other users a chance to add their vote for the feature and provides a forum for you (the user base) to brainstorm on how you prefer it to work.
    Currently, Diff creates a hash based on selecting text from all_source. If the hash is different between the source and destination, they are considered different.
    THE FOLLOWING IS INTENDED TO OUTLINE OUR GENERAL PRODUCT DIRECTION. IT IS INTENDED FOR INFORMATION PURPOSES ONLY, AND MAY NOT BE INCORPORATED INTO ANY CONTRACT. IT IS NOT A COMMITMENT TO DELIVER ANY MATERIAL, CODE, OR FUNCTIONALITY, AND SHOULD NOT BE RELIED UPON IN MAKING PURCHASING DECISION. THE DEVELOPMENT, RELEASE, AND TIMING OF ANY FEATURES OR FUNCTIONALITY DESCRIBED FOR ORACLE'S PRODUCTS REMAINS AT THE SOLE DISCRETION OF ORACLE.
    We are planning enhancements to the diff tool, including the area of source comparison and generation. These enhancements will make comparisons more reliable and it will be easier to see the differences between source and destination objects.
    Joyce Scapicchio
    Development for SQLDeveloper
    Edited by: Joyce Scapicchio on Jun 14, 2011 12:50 PM
    Edited by: Joyce Scapicchio on Jun 14, 2011 12:51 PM

  • SQL Developer usage (newbie) question - using for script development

    I'm new to Oracle, but not to SQL (used MS SQL Server off and on for 3 years prior). SQLDeveloper (v1.5.1) was recommended as a dev tool for the work that I'm doing in in Oracle 10.2.0.4. I'm looking to write some scripts to eventually become stored procedures. The problem I'm having is it seems i can only execute one line even though there are multiple statements in the "Enter SQL Statement" window pane.
    ie.
    select id, Full_Name, unique_name, user_id from srm_resources;
    select id, user_name, last_name, first_name from cmn_sec_users;
    when i highlight those two lines and click the "Excecute Statement" button, only the top line generates results.
    I'm used to using MS SQL's Query Analyzer where I could select one statement or multiple statements to execute, even non-SELECT statements (variable assignments, math, control loops). It does not appear that I have this kind of functionality in SQL Developer - or an I not using the tool correctly?
    Thanks
    Brian

    I'm assuming you're meaning the SQL worksheet here. The green arrow icon is execute statement (F9) The tiny green arrow is execute script (F5). I'm currently on 1.5.4 of SQL Developer.
    Hope this helps some. I would download the documentation also.
    http://download.oracle.com/docs/cd/E12151_01/index.htm
    Evita

  • SQL Developer - Database Export - Constraints not included in DDL

    I have used the Database Export function available in the Tools menu but have been unsuccessful in getting the referential integrety and check contraints to export. These are the steps I take:
    Environment: Windows XP Professional.
    SQL Developer 1.5.1
    Tools>Database Export
    In Source/Destination I select the filename and the database source and check:
    Show Schema
    Terminator
    Pretty Print
    Add Force to Views
    Include Grants
    In Types to Export I check all except Data.
    In Specify Objects I select the Schema I want to export.
    None of the foreign_key or check constraints are shown but I select all of the objects.
    Export Summary
    File:C:\Documents and Settings\richardk.asbury\My Documents\EER\eer3.sql
    Connection:ENVD
    DDL Options
         Show Schema
         Terminator
         Pretty Print
         Add Force to Views
         Necessary object dependencies will be included in export.
    Tables
         A_EMIS_TOXIC_DTL
         A_EMIS_TOXIC_HDR
         DSK_BLOB
         PORTAL_AI_PROFILE
         PORTAL_AI_XREF
         PORTAL_USER
         SUBJECT_ITEM_PARENT
         SUBJ_ITEM_ATTRIBUTE
         SUBJ_ITEM_COMMENTS
         SUBJ_ITEM_QUANTITIES
         SUBJ_ITEM_RELATED
    Views
         ACTIVITY_TASK_LIST_VW
         AGENCY_INTEREST_ORG_XREF_VW
         AGENCY_INTEREST_VW
         A_EMIS_TOXIC_DTL_VW
         A_EMIS_TOXIC_HDR_VW
         DSK_CENTRAL_VW
         MTB_ATTRIBUTE_DESC_VW
         MTB_ATTRIB_ATTR_DESC_XREF_VW
         MTB_MUNICIPALITY_VW
         MTB_PARAMETER_VW
         MTB_PERSON_TITLE_VW
         MTB_PORTAL_SUBMITTAL_STATUS_VW
         MTB_QUANTITY_TYPE_VW
         MTB_QUANT_METHOD_VW
         MTB_STATE_VW
         MTB_SUBJECT_ITEM_ATTRIBUTE_VW
         MTB_SUBJECT_ITEM_TYPE_VW
         MTB_UNITS_VW
         ORGANIZATION_VW
         PERSON_VW
         PORTAL_AI_PROFILE_VW
         PORTAL_AI_XREF_VW
         PORTAL_EMAIL_QUEUE_VW
         PORTAL_USER_VW
         SUBJECT_ITEM_VW
         SUBJ_ITEM_COMMENTS_VW
         SUBJ_ITEM_GENERAL_VW
         SUBJ_ITEM_LOC_LAT_LONG_VW
    Indexes
         INDX_DSK_BLOB_BLOB_TITLE
         PK_A_EMIS_TOXIC_DTL_ID
         PK_A_EMIS_TOXIC_HDR_ID
         PK_DSK_BLOB
         PK_PORTAL_USER_ID
         PK_SUBJECT_ITEM_PARENT
         PK_SUBJECT_ITEM_RELATED
         PK_SUBJ_ITEM_ATTRIB_ID
         PK_SUBJ_ITEM_COMMENTS_ID
         PK_SUBJ_ITEM_QUANT_ID
         SYS_C0017821
    Package Spec
         MNG_DATA
         MNG_USER
    Package Body
         MNG_DATA
         MNG_USER
    Procedures
    All procedures will be exported.
    Functions
    All functions will be exported.
    Triggers
         A_EMIS_TOXIC_DTL_BEFINSUPD
         A_EMIS_TOXIC_HDR_BEFINSUPD
         PORTAL_AI_PROFILE_BEFINS
         PORTAL_AI_XREF_BEFINS
         PORTAL_USER_BEFINS
         SUBJECT_ITEM_PARENT_BEFINSUPD
         SUBJ_ITEM_ATTRIBUTE_BEFINSUPD
         SUBJ_ITEM_COMMENTS_BEFINSUPD
         SUBJ_ITEM_QUANTITIES_BEFINSUPD
         SUBJ_ITEM_RELATED_BEFINSUPD
    Types
    All types will be exported.
    Sequences
         A_EMIS_TOXIC_DTL_SEQ
         A_EMIS_TOXIC_HDR_SEQ
         DSK_BLOB_SEQ
         PORTAL_AI_PROFILE_SEQ
         PORTAL_AI_XREF_SEQ
         PORTAL_USER_SEQ
         SUBJECT_ITEM_PARENT_SEQ
         SUBJ_ITEM_ATTRIBUTE_SEQ
         SUBJ_ITEM_COMMENTS_SEQ
         SUBJ_ITEM_QUANTITIES_SEQ
         SUBJ_ITEM_RELATED_SEQ
    Materialized Views
    All materialized views will be exported.
    Materialized View Logs
    All materialized view logs will be exported.
    Synonymns
    All synonyms will be exported.
    Queues
    All queues will be exported.
    Queue Tables
    All queue tables will be exported.
    Database Links
    All data base links will be exported.
    There are numerous Check and Foreign_key constraints missing in created DDL.
    Im I missing a step?
    rasberry

    Actually all tables were included and the Automatically Include Dependent Objects option was checked.
    For an example, the first table exported A_EMIS_TOXIC_DTL had the following constraints:
    FK_A_EMIS_TOXIC_DTL2HDR     Foreign_Key
    NN_A_EMIS_TOXIC_DTL_ID     Check
    PK_A_EMIS_TOXIC_DTL_ID     Primary_Key
    The primary key constraint was included in the DDL but none of the others.

  • SQL Developer - Database connection problem

    Hi all,
    I had SQL Developer 1.5.4 with JDK, when connect to database with connection type TNS,
    test connection successfully, but when I try to open tables; here the error that I got:
    java.lang.NullPointerException
         at oracle.javatools.db.ora.BaseOracleDatabase.getCurrentSchema(BaseOracleDatabase.java:163)
         at oracle.javatools.db.ora.OracleDatabaseImpl.hasRole(OracleDatabaseImpl.java:247)
         at oracle.javatools.db.ora.OracleDatabaseImpl.reconnected(OracleDatabaseImpl.java:119)
         at oracle.javatools.db.ddl.DDLDatabase.<init>(DDLDatabase.java:53)
         at oracle.javatools.db.dictionary.DictionaryDatabase.<init>(DictionaryDatabase.java:57)
         at oracle.javatools.db.ora.BaseOracleDatabase.<init>(BaseOracleDatabase.java:130)
         at oracle.javatools.db.ora.OracleDatabaseImpl.<init>(OracleDatabaseImpl.java:109)
         at oracle.javatools.db.ora.Oracle8.<init>(Oracle8.java:17)
         at oracle.javatools.db.ora.Oracle8i.<init>(Oracle8i.java:38)
         at oracle.javatools.db.ora.Oracle9i.<init>(Oracle9i.java:181)
         at oracle.javatools.db.ora.Oracle9iR2.<init>(Oracle9iR2.java:41)
         at oracle.javatools.db.ora.Oracle10g.<init>(Oracle10g.java:26)
         at oracle.javatools.db.ora.Oracle10gR2.<init>(Oracle10gR2.java:18)
         at oracle.javatools.db.ora.OracleDatabaseFactory.createDatabaseImpl(OracleDatabaseFactory.java:112)
         at oracle.javatools.db.DatabaseFactory.createDatabaseImpl(DatabaseFactory.java:147)
         at oracle.javatools.db.DatabaseFactory.createDatabase(DatabaseFactory.java:130)
         at oracle.jdeveloper.db.DatabaseConnections.getDatabase(DatabaseConnections.java:637)
         at oracle.jdeveloper.db.DatabaseConnections.getDatabase(DatabaseConnections.java:564)
         at oracle.dbtools.raptor.utils.Connections$ConnectionInfo$ConnectRunnable.doWork(Connections.java:1119)
         at oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:161)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:631)
         at java.lang.Thread.run(Thread.java:595)
    Any help would be appreciated.
    Thanks
    Michael

    It has nothing to do with the user and privilige thing.
    I think maybe it is a jdk problem.
    Maybe you can check the jdk version you are using.
    Goog luck.

  • SQL Developer database copy corrupts wrapped PL/SQL

    SQL Developer 3.0.04.34, database 11.2.0.2.2
    Database copy brings over the wrapped pl/sql DDL, but somehow corrupts the code and will not compile.
    It must be recreated from source plb file.
    expdp / impdp does not have this problem.
    This would appear to be a bug.
    Wayne Linton

    user4792902 wrote:
    Also it looks like the SQL Developer loads all the Data from sources Schema for each table in memory and copies to destination Schema.Yes
    Any idea how to over come that...Don't use it, use the database's IMPDP/EXPDP tools for copying large quantities of data or whole schemas or databases.
    Also adding the Filter or selection like the Database Export functionality in Database Copy will really be helpful in this kind of situation. The Developer team has any plans?Probably not right now, but you can request this at the SQL Developer Exchange though, so other users can vote and add weight for possible future implementation.
    Regards,
    K.

  • Oracle-sql developer database connection problem

    hi all,
    i tried creating a new connection in SQL developer but unable to create.
    i tried with all the combinations such as
    connection name:hr_orcl
    username:hr
    password:hr
    connection tyrpe:basic,Role:default
    hostname:localhost/ip address of my system
    port:1521
    SID:xe/orcl
    But still it is hsowing as " network adapter could not establish the connection".
    So could anybody please help me in this regard as to how to resolve this issue as I have searched several sites but could not find a solution for this.Waiting for your reply at the earliest
    Thanks,
    Rajesh P.
    9949254433

    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.
    C:\Users\rajesh>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 28-DEC-2012 08:21
    :08
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
    ction
    Start Date 28-DEC-2012 08:20:36
    Uptime 0 days 0 hr. 0 min. 31 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File C:\oraclexe\app\oracle\product\10.2.0\server\network\a
    dmin\listener.ora
    Listener Log File C:\oraclexe\app\oracle\product\10.2.0\server\network\l
    og\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=rajesh-PC)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    C:\Users\rajesh>

  • Error in SQL Developer: Database Connections has no JNDI context so cannot

    Hello,
    I have installed SQL Developer 3.1.07 version on Linux. Previously I was able to create a connection and browse the existing tables, add tables, etc.
    Now when I launch SQL Developer, I see that no connections are displayed. Instead there are these three messages indicating an error. Can you please advice on how to resolve this?
    Thanks,
    Errors:
    SEVERE     44     0     oracle.jdeveloper.db.DatabaseConnections     DatabaseConnections has no JNDI context so cannot list connections.
    SEVERE     43     36     oracle.jdevimpl.db.adapter.DefaultContextWrapper     Failed to create naming Context for db connections at url: file:/home/user/.sqldeveloper/system3.1.07.42/o.jdeveloper.db.connection.11.1.1.4.37.59.48/connections.xml
    SEVERE     42     0     oracle.jdevimpl.db.adapter.DefaultContextWrapper     Failed to create naming Context for db connections at url: file:/home/user/.sqldeveloper/system3.1.07.42/o.jdeveloper.db.connection.11.1.1.4.37.59.48/connections.xml

    Hi uparthas,
    Here is a similar thread (Windows 7) marked as answered, and may be applicable to a Linux environment if you are using jdk1.7 rather than jdk1.6:
    Lost my connections.
    If that does not solve the issue, you might also wish to ...
    1. Exit SQL Developer
    2. Delete or rename the /home/user/.sqldeveloper/system3.1.07.42 directory
    3. Launch SQL Developer, perhaps without choosing to migrate settings from a prior install.
    Hope this helps,
    Gary
    SQL Developer Team

  • SQL DEVELOPER DATA MODELER GENERATE DOCUMENTATION

    Hi,
    Simple question. Is it possible to generate database documentation, based on data table field notes, that we write in DATA MODELER? THX

    Hi Marcus,
    there is no build-in reports in current release that can be used to generate such documentation.
    You can use export "to reporting schema" in order to get meta data in Oracle database and can build own reports.
    There will be reports coming with next release.
    Philip

  • SQL Developer Database Copy truncates DATE columns

    Hope someone can help me. I want to copy all object from one schema to another schema in my Database. I have used the "tools - Database Copy" utility and it copies all of the objects and data however when I query the DATE columns in the destination schema the time element has been truncated? Why has this happened?
    tab_h contains a column h_date of type DATE
    Query
    SELECT TO_CHAR(H_DATE, 'MM-DD-YYYY HH24:MI:SS') from tab_h;
    returns
    02-07-2012 09:54:14
    from the source table
    yet returns
    02-07-2012 00:00:00
    from destination schema? This is the case for all DATE columns in the tables.
    I noticed this was happening in 3.0.04.34 and I upgraded to 3.1.07.42 and it still happens.
    Thank you

    Maybe there's a problem getting the OS settings right; try to add this to \sqldeveloper\bin\sqldeveloper.conf:
    AddVMOption -Duser.region=USIf that works, you can try others closer to you.
    Hope that helps,
    K.

  • SQL Developer Database

    Where are the database profiles saved on 2.1.0.63? I have 1.5.4 on my other machine and would like to transfer over the connections.xml file but can't seem to find it on 2.1.0.63.

    Which is a bad choice, according to my experience, with the case having a PC which works something with a network-based profile and sometimes in another environment or totally offline.
    My opinion is: you don't this folder "My files" at all. You only want one set of configuration files, regardless of the environment you are working on.

  • SQL Developer 3.1 EA - Database Diff Issues

    Hi
    I am using SQL Developer 3.1 EA to generate database difference script to upgrade my db. This is really very useful and very good tool for compare two different databases and generate the difference script.
    There are few bugs (?) identified while using database diff tool.
    1. If there is a column mismatch in Source and Destination tables, directly drop the table and recreate new one. This is not a good solution for upgrading database with some other database (data loss is the major issue). Microsoft handled this situation in VS2010 to create temp table with new structure then move data to the temp table and finally drop the original table and rename temp table to original. I am expecting the same method in Database Diff also.
    Sample Code:
    --Changed TABLE
    --F_SYSTEM_2
    DROP TABLE "ED9461001ER09_D1"."F_SYSTEM_2";
    CREATE TABLE "ED9461001ER09_D1"."F_SYSTEM_2"
    (     "SYS2_SEQN" NUMBER(9,0) DEFAULT 0 NOT NULL ENABLE, ....
    2. Primary key constraint created with table creation for new tables. But late point of time, Create unique index statement also trying to create the same to lead runtime error.
    Sample Code:
    --New TABLE
    --F_SYSTEM_3
    CREATE TABLE "ED9461001ER09_D1"."F_SYSTEM_3"
    (     "SYS3_CORVU_DB_NAME" VARCHAR2(50),
         "SYS3_CORVU_DB_SCAP" VARCHAR2(8),
         "SYS3_CORVU_DB_VIEWURL" VARCHAR2(2048),
         "SYS3_CORVU_HP_NAME" VARCHAR2(50),
         CONSTRAINT "PK_F_SYSTEM_3" PRIMARY KEY ("SYS3_SEQU") ENABLE
    --New INDEX
    --PK_F_SYSTEM_3
    CREATE UNIQUE INDEX "ED9461001ER09_D1"."PK_F_SYSTEM_3" ON "ED9461001ER09_D1"."F_SYSTEM_3" ("SYS3_SEQU");
    3. If there is an difference in procedures, script generated with two Create Procedure statements (Source and Destination) which is irrelevant.
    --Changed PROCEDURE
    --GET_DI_COUNT
    CREATE OR REPLACE PROCEDURE "ED9461001ER09_D1"."GET_DI_COUNT"      (PP_SEQU int,
    --Changed PROCEDURE
    --GET_DI_COUNT
    CREATE OR REPLACE PROCEDURE EDISAPAC10_D1.GET_DI_COUNT      (PP_SEQU int,
    I am expecting your solution / clarification.
    Regards
    Nagarajan Santhan

    1. Makes sense. You can request this at the SQL Developer Exchange, so other users can vote and add weight for possible future implementation.
    2. Long standing bug. As it won't make your computer explode, apparently low priority to fix.
    3. I'm unable to use the comparison feature in EA3. I do get the progress dialog comparing the different procedures and functions, but when finished it just disappears, and no comparison sheet opens, like the whole operation just got cancelled. No exceptions in the console, just a lot of these in the logging page:
    update returning false for Grid1oracle.ide.Context[{Context.WORKSPACE=Databases.jws, Context.PROJECT=IdeConnections%23DES+-+Reddis.jpr, Context.SELECTION=[Loracle.ide.model.Element;@1353c19, Context.EVENT=null, Context.VIEW=LoggingMessagePane.Logging Page}]Can someone from the team suggest something to debug?
    Thanks,
    K.

  • NullPointerException when opening a script in SQL Developer 4.0.0.12

    I recently upgraded to SQL Developer v.4.0.0.12 64 bit, and am running into some issues.
    I am running this on 64 bit Windows 7. I have a 64 bit Oracle 11, and in addition have the 32 bit oracle client installed.
    I made an association between the .sql file extension and sqldeveloper64W.exe.
    However I frequently get a nullpointerexception when clicking on a script in the file explorer.
    It seems to occur mostly if I loaded scripts into SQL Developer before.
    If I close all the windows before closing SQL Developer and then click on a script in the file manager, things work (startup is arguably slower than v.3).
    But in most cases either nothing happens, or I get the NullPointerException below.
    What am I doing wrong?
    Regards,
    Wim
    java.lang.NullPointerException
      at oracle.dbtools.raptor.plsql.FindHighlightListener.editorDeactivated(FindHighlightListener.java:63)
      at com.oracle.jdeveloper.nbwindowsystem.NbEditorManager.fireEditorEvent(NbEditorManager.java:1315)
      at com.oracle.jdeveloper.nbwindowsystem.NbEditorManager.handleEditorEvent(NbEditorManager.java:1294)
      at com.oracle.jdeveloper.nbwindowsystem.NbEditorManager.whenCurrentEditorChanges(NbEditorManager.java:1556)
      at com.oracle.jdeveloper.nbwindowsystem.editor.TabGroup.whenCurrentEditorChanges(TabGroup.java:1026)
      at com.oracle.jdeveloper.nbwindowsystem.editor.TabGroup.setCurrentTabGroupState(TabGroup.java:847)
      at com.oracle.jdeveloper.nbwindowsystem.editor.TabGroup.addTabGroupState(TabGroup.java:129)
      at com.oracle.jdeveloper.nbwindowsystem.NbEditorManager.createEditor(NbEditorManager.java:534)
      at com.oracle.jdeveloper.nbwindowsystem.NbEditorManager.createEditor(NbEditorManager.java:511)
      at com.oracle.jdeveloper.nbwindowsystem.NbEditorManager.openEditor(NbEditorManager.java:379)
      at oracle.ide.cmd.OpenCommand.openWithNoProject(OpenCommand.java:337)
      at oracle.ide.cmd.OpenCommand.access$100(OpenCommand.java:62)
      at oracle.ide.cmd.OpenCommand$1.run(OpenCommand.java:266)
      at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
      at java.awt.EventQueue.access$200(EventQueue.java:103)
      at java.awt.EventQueue$3.run(EventQueue.java:694)
      at java.awt.EventQueue$3.run(EventQueue.java:692)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
      at oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
      at oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

    Please refer to this White paper for how to generate PL/SQL package for workflow deployment:
    Oracle Data Miner (Extension of SQL Developer 4.0)
    Generate a PL/SQL script for workflow deployment
    http://www.oracle.com/technetwork/database/options/advanced-analytics/odmrcodegenwhitepaper-2042206.pdf

Maybe you are looking for

  • Adding Metadata in Illustrator 10?

    Hi All, Fairly new to Illustrator here. I've designed some work for a company that produces organic beauty products, and I need to embed some information within my files - especially before they go to be printed as product labels. I'm using Illustrat

  • Does an 'in' clause use the index?

    In the following query: Select * from myTable where field_1 in ('thisfield', 'thatfield'); Assuming there is an index on field_1, will this query use the index? Thanks, Sara

  • How to Establish communication between two R/3 systems.

    Hi experts, I have a requirement in which I have a group of programs on a R/3 system A.Now, I need to execute those programs on another R/3 system B. For example, I have developed a program which performs syntax check on all the existing programs in

  • Migrating a large table containing clobs to a new dedicated tablespace.

    Hi All I am seeking some advice on something. I have a Oracle 10g live database with a table used for auditing purposes, this table has 5.8 million rows and contains clob data. When I last performed a full export of this table using data pump the dum

  • Filtering view in ON_NEW_FOCUS

    I have a need to filter a view built in method ON_NEW_FOCUS within a context node.  I got it to filter but the problem is that this view is used in the homepage where I want it filtered and in the overview page where I don't want it to filter.  I fou