SQLDev 4.0.2. Duplication of the package in IDE body

Hello.

Duplication of the bodies of package in the IDE. In the screenshots:

1. I open the packages and choice pkg_balance. Open the package spec. So, I click on the 'Open body' icon on the window spec. package. Body is open. Ok.

2. in pkg_balance tree i the procedure of choice in the body. Second body window is open.

sc1.png

sc2.png

This has been reported before... [4.x] often two Editor Windows open for the same package body

but seems not have been bugged or fixed yet.

I logged a bug.

Thank you

Gary

SQL development team

Tags: Database

Similar Questions

  • 30EA2 save the package specification and body - safe only spec?

    It seems that the "save the body and spec package' in the menu contextual on the specifications in the object tree discovered records actually only the spec (.pls).

    Is this true?

    Is safe spec and body in a single file.

  • Using constants in the package

    Hi gurus,

    We store all our constants in a package named WIE_CONSTANTS_TEST. That was the original spec and body:

    
    create or replace package wie_constants_TEST authid current_user as
    
    
    /*
    Constants for INTERFACE_BATCH_STATUS field in the table WIE_INT_BATCHES_B.
    */
    c_int_batch_inprocess        constant wie_int_batches_b.interface_batch_status%type :='IN_PROCESS';
    c_int_batch_completed        constant wie_int_batches_b.interface_batch_status%type :='COMPLETED';
    c_int_batch_complerror       constant wie_int_batches_b.interface_batch_status%type :='COMPLETED_ERRORS';
    c_int_batch_complwarn        constant wie_int_batches_b.interface_batch_status%type :='COMPLETED_WARNINGS';
    c_int_batch_ready            constant wie_int_batches_b.interface_batch_status%type :='READY';
    
    /*
    Constants for INTERFACE_BATCH_TYPE field in the table WIE_INT_BATCHES_B.
    */
    
    c_int_batch_optxn            constant wie_int_batches_b.interface_batch_type%type  :='WO_OP_TXN';
    c_int_batch_mattxn           constant wie_int_batches_b.interface_batch_type%type  :='WO_MTL_TXN';
    c_int_batch_restxn           constant wie_int_batches_b.interface_batch_type%type  :='WO_RSC_TXN';
    c_int_batch_wotxn            constant wie_int_batches_b.interface_batch_type%type  :='WO';
    
    
    -- Table Name Constants
    c_mtr_trans_table_name       constant wie_int_errors.table_name%type := 'WIE_MATERIAL_TRANSACTIONS_INT';
    c_res_trans_table_name       constant wie_int_errors.table_name%type := 'WIE_RESOURCE_TRANSACTIONS_INT';
    c_batch_int_table_name       constant wie_int_errors.table_name%type := 'WIE_INT_BATCHES_B';
    c_wo_hdr_table_name          constant wie_int_errors.table_name%type := 'WIE_WORK_ORDERS_INT';
    c_wo_dtl_table_name          constant wie_int_errors.table_name%type := 'WIE_WORK_ORDER_DETAILS_INT';
    
    end wie_constants_test;
    
    /
    commit;
    exit;
    

    The package body is

    CREATE OR REPLACE PACKAGE BODY WIE_CONSTANTS_TEST AS
    
    END WIE_CONSTANTS_TEST;
    /
    COMMIT;
    EXIT;
    

    This package is referred to by several other packages. I change the value of a constant and recompile it, but that translates into a large number of questions. There is no change in the package body. There is only change in package spec, I modify and recompile the package spec and body. This is how the new spec package looks like:

    create or replace package wie_constants_TEST authid current_user as
    
    
    /*
    Constants for INTERFACE_BATCH_STATUS field in the table WIE_INT_BATCHES_B.
    */
    
    
    c_int_batch_inprocess        constant wie_int_batches_b.interface_batch_status%type :='IN_PROCESS';
    c_int_batch_completed        constant wie_int_batches_b.interface_batch_status%type :='COMPLETED';
    c_int_batch_complerror       constant wie_int_batches_b.interface_batch_status%type :='COMPLETED_ERRORS';
    c_int_batch_complwarn        constant wie_int_batches_b.interface_batch_status%type :='COMPLETED_WARNINGS';
    c_int_batch_ready            constant wie_int_batches_b.interface_batch_status%type :='READY';
    
    
    /*
    Constants for INTERFACE_BATCH_TYPE field in the table WIE_INT_BATCHES_B.
    */
    c_int_batch_optxn            constant wie_int_batches_b.interface_batch_type%type  :='WO_OP_TXN';
    c_int_batch_mattxn           constant wie_int_batches_b.interface_batch_type%type  :='WO_MTL_TXN';
    c_int_batch_restxn           constant wie_int_batches_b.interface_batch_type%type  :='WO_RSC_TXN';
    c_int_batch_wotxn            constant wie_int_batches_b.interface_batch_type%type  :='WO';
    
    -- Table Name Constants
    c_mtr_trans_table_name       constant wie_int_errors.table_name%type := 'ORA_WIE_MATERIAL_TRANSACTIONS_INT';
    c_res_trans_table_name       constant wie_int_errors.table_name%type := 'ORA_WIE_RESOURCE_TRANSACTIONS_INT';
    c_batch_int_table_name       constant wie_int_errors.table_name%type := 'WIE_INT_BATCHES_B';
    c_wo_hdr_table_name          constant wie_int_errors.table_name%type := 'WIE_WORK_ORDERS_INT';
    c_wo_dtl_table_name          constant wie_int_errors.table_name%type := 'WIE_WORK_ORDER_DETAILS_INT';
    
    end wie_constants_test;
    /
    commit;
    exit;
    

    Now, the problem is that whenever I call the new package, I don't see the values. Is an example to run the script:

    declare
    l_variable VARCHAR2(200);
    begin
    l_variable :=wie_constants_TEST.c_int_batch_inprocess;
    DBMS_OUTPUT.PUT_LINE('wie_constants_TEST.c_dispatch_ready='||c_int_batch_inprocess );
    L_VARIABLE :=wie_constants_TEST.c_int_batch_optxn;
    DBMS_OUTPUT.PUT_LINE('wie_constants_TEST.C_DEFAULT_SCHEDULER='||c_int_batch_optxn );
    L_VARIABLE :=wie_constants_TEST.c_mtr_trans_table_name;
    DBMS_OUTPUT.PUT_LINE('wie_constants_TEST.c_mtr_trans_table_name='||L_VARIABLE );
    end;
    /
    
    

    Before the change, all right. After the change, the first time I run the script above, I get the error:

    ORA-06502: PL/SQL: digital or value error: character string buffer too small

    ORA-06512: at the 'APPS '. WIE_CONSTANTS_TEST,"

    When I restarted it, I get the values for the new table name as null.

    I already run the commands below, but it did not help

    alter system flush shared_pool;
    ALTER SYSTEM FLUSH buffer_cache;
    
    begin
    DBMS_SESSION.RESET_PACKAGE;
    END;
    /
    
    
    begin
    DBMS_SESSION.MODIFY_PACKAGE_STATE(DBMS_SESSION.FREE_ALL_RESOURCES);
    end;
    /
    
    begin
    DBMS_SHARED_POOL.UNKEEP ('APPS.WIE_CONSTANTS_TEST', 'P');
    end;
    /
    
    

    Demand for experts help to solve the problem.

    What are the data type of

    wie_int_errors.table_name%type

    You have changed the constants to be 33 characters long.  Oracle table names are usually limited to 30 characters.  Any chance that the data type only allows 30 characters?

    Justin

  • 3.1EA1 members of the package body are not not in the tree

    The problem is when you develop the package specification or body package tree, not all members of the body/specification are listed.

    Probably in connection with
    Re: 3.1EA2 corrected a bug even non - members of the body of the package are not not in the tree
    but do not know if this variant will be covered by the patch.

    The example in this case is with the UNPIVOT operator syntax (which uses a FOR...) UNDER construction but is not a PL/SQL loop).
    CREATE OR REPLACE PACKAGE Test_Package1 AS
    --
      PROCEDURE Test;
    --          
    END Test_Package1;
    /
    CREATE OR REPLACE PACKAGE BODY Test_Package1 AS
      PROCEDURE TEST IS
        
        /*
        CURSOR c_1 IS
          SELECT t1,t2,t3
          FROM
             (SELECT NULL nl, 1 one, 2 two, 3 three FROM dual)
          UNPIVOT ( (t1, t2, t3)
                    FOR dt_type IN (
                     (one,   nl,   nl) AS 'A',
                     (nl,    two,  nl) AS 'B',
                     (nl,    nl,   three)  AS 'C'
                    )
                  );
        */
        CURSOR c_2 IS
          SELECT t1,t2,t3
          FROM
             (SELECT NULL nl, 1 t1, 2 t2, 3 t3 FROM dual);
      BEGIN
        FOR r_rec in c_2 LOOP
          dbms_output.put_line(r_rec.t1);
        END LOOP;
      END;
    END Test_Package1;
    /
    Comment out the c_1 cursor and the TEST procedure is displayed in the browser. Uncomment and get lost

    Published by: Gary Myers on 13/12/2011-14:34

    Published by: Gary Myers on 13/12/2011-14:35

    «.. . Commenting on the first slider allows the TEST... »

    As does turn PIVOT UNPIVOT :-) Fixed

  • Sqldev 4.0.2: When I change the package body, down to show me "calculation... bread crumbs for body" in infinitive loop until I get out.

    When I change the package body, down to show me ' calculation of breadcrumbs to... body "in infinitive loop until I get out.

    On
    —–

    Oracle SQL Developer 4.0.2.15
    Version 4.0.2.15
    Build 15.21

    The IDE version: 12.1.3.2.41.140418.1111
    Product ID: oracle.sqldeveloper
    Product version: 12.2.0.15.21

    Version
    ——-

    Version of the component
    ========= =======
    Oracle IDE 4.0.2.15.21
    Java (TM) Platform 1.7.0_65
    Support versioning 4.0.2.15.21

    Thanks for the update. I pass the developer and I hope he finds that they are useful.

    A preliminary analysis shows some problems of Java:

    1. report of the discharge of the thread Analyzer is a little misleading because of https://bugs.openjdk.java.net/browse/JDK-8036823

    2 possible endless loop in the ScaledBlit routine on the thread main event: https://bugs.openjdk.java.net/browse/JDK-8028539

    Question 2 currently has no resolution, but there are a few (a potential solution?) fix for jdk1.8.0_40 (8u40).  The latest official version is 8u11.

    Assuming that the number 2 is the culprit on Ubuntu, just like on Windows, then 1st edition probably does not concern us. Just for reference, a backport of the Java correction for the 1st edition exists on jdk 1.7 and 1.8, but has yet to be officially released on either.

    Kind regards
    Gary

  • 30EA2 Alternative citing mechinism hides the content of the package 3.0.02

    In SQLDev 3.0EA2:

    Using the alternative quoting mechanism '[' q in a package body to quote a string more 97 causes the contents of the package to hide in the sketch and browser connection.
    create or replace
    package my_test as
      function f1 return varchar2;
      function f2 return varchar2;
      procedure p1;
    end my_test;
    /
    
    create or replace
    package body my_test as
    
      function f1 return varchar2 is
        l_txt varchar2(2000);
      begin
        l_txt := 'This function is hidden by f2';
        return l_txt;
      end;
    
      function f2 return varchar2 is
        l_txt varchar2(2000);
      begin
    --                       1         2         3         4         5         6         7         8         9
        l_txt := q'[12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678]';
        return l_txt;
      end;
      
      procedure p1 is
        l_txt varchar2(2000);
      begin
        l_txt := 'this procedure is hidden by f2';
      end;
    end my_test;
    /
    The above code compiles and runs correctly, but the second function of the package (f2) hides the contents of the package to view in the browser of the object and the viewer of contour. Change the string in double quotes, as he had the q '[' quoting convention reveals the spec of package in the views of navigator body. It seems that any set of braces is subject to this question {}, [], (), <>, however single character delimiters such as ~ as q'~ text ~' work very well.

    This problem can be validated and bugged?

    Thank you

    Sentinel

    It corrects a problem with this style of protection which very probably will fix yours too.

    Kind regards
    K.

  • Newbie - how to import the package, procedures, etc.?

    I used the "data export", the computer of the developer, expoty tables, export procedures, export Packages, etc. in a file
    SQL Developer.

    In Sql Developer, how to import tables, import procedures, import packages on my computer "REAL LIVE"?

    I want to copy the Package, the copy procedure, etc. 'computing Developer' to computer "LIVE REAL DATA?


    TIA
    Steve42

    If you have access to 2 databases of your sqldev client (and therefore have connections put in place for both of them), just run the export file obtained from the DB dev as a script (F5), using the connection to the production DB (drop-down menu at the top right).

    Have fun
    K.

  • Steps and distance of duplication of the iphone and Apple Watch

    Hi, I would like to know how to disable back into shape and the movement for enforcement of health on my iphone affects the calculations of distance and stage of Apple Watch. IM turning off this option because I found his duplication my distance and steps. My Apple Watch will cease to use my iPhone's gps location?

    I know health app must analyze the data a prioritize my Apple Watch. Instead, his duplication in the info on my iphone and Apple Watch. Im not using third party applications. I do not fear the deactivation of the fitness and followed by my iphone only if my Apple Watch will receive my iphone gps information when I workout.

    Hello

    Health and fitness of the Apple Watch data, iPhone and all the other sources are grouped within the app to health on the iPhone, which allows to adjust the results to avoid any double counting of data from different sources.

    When several sources are available, the application of health uses a single data source for updating your consolidated data. This source is selected according to the order of priority that you set (or that was created automatically - for example, by default, rank devices Apple above sources third party).

  • Install the package for Firefox 30.0 on Sun Solaris 10 SPARC?

    Looking for the latest Firefox 30 Sun Solaris 10 SPARC package. It appears he either not yet displayed or development of Firefox on Sun Solaris has ceased.

    http://FTP.Mozilla.org/pub/mozilla.org/Firefox/releases/latest/contrib/
    http://FTP.Mozilla.org/pub/mozilla.org/Firefox/releases/latest/contrib-localized/

    http://FTP.Mozilla.org/pub/mozilla.org/Firefox/releases/30.0/contrib/
    http://FTP.Mozilla.org/pub/mozilla.org/Firefox/releases/30.0/contrib-localized/

    The package name should be similar to "firefox-30.0.en-US.solaris-10-fcs-sparc-pkg.bz2".

    Thank you!

    30.0 Firefox for Solaris was posted to http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/30.0/contrib/ July 4, 2014. Took them a while but better late than never.

  • I want to CLEAR all THE CORRECTION OF THE COLORS of all components of the package

    I want to erase any correction of the colors of all components of the package, so I can start any color correction again from scratch. How can I remove all the correction of the colors of all components of the package?

    Select all clips and remove the Color Correction in video Inspector.

    PS will not work if you have applied multiple effects.

  • Satellite Pro C70 - B - 12 c - installation of the Package of added value

    Hello technician,

    could someone explain how to install the PPV on the Satellite Pro C70 - B - 12 c.
    I installed Windows 7 on the new Machine and want to use the utility function key.

    I downloaded the compatible vap on the driver download site. In the next step, I tried to install the PPV on the Archive of Toshiba Extractor. If I let install it automatically, I m only get the ODBC Driver-Installation Windows. So I canceled the Installation of the ODBC driver - and start the program installation of archive extracted.

    After the complete Installation, the function keys and the utility of the Flash card can be used. But the Flash card utility displays badly on the assigned keys functions. for example, on the keyboard the F11 key shows the power of the speaker function.

    The Flash Card utility indicates the Escape key for the same function switch (speaker). After the Installation of the vap, none called buttons work.

    I ve tested the function Key Utility for Windows 8.1. But this test was unnecessary.

    Thank you very much for your help!

    Hello

    Installation of VAP is not very complicated.
    You need to download the package.
    Save it to the disk (to office) and unzip the package (right click on unzip)

    > In the next step, I tried to install the PPV on the Archive of Toshiba Extractor.
    I m just wondering what you mean by install over?

    As I said earlier, after a clean install of Windows 7, you could install the VAP. But first this package must be decompressed. To decompress the package, you can use a program like WinRAR or WinZip

  • Re: How to remove the Package of added value?

    I'm having issues (media buttons no longer work) with the package of added value of Toshiba (TAVP) on my Portege M800.
    I want to update, but I can't do it before removing the old version of the TAVP. When I try to install the new TAVP, I get an error message saying that I need to remove the old version first.

    Problem is, I can't find the TAVP on my "Add/Remove Programs" list The internet said it should be on the list, but it is not. The programs are on my computer.

    They do not seem to be among the programs 'package of added value '. How can I remove the TAVP?

    I use Vista and Win7 long on two laptops from Toshiba. On two of them Toshiba Value added Package is listed in the control panel > programs and features and then you can start to uninstall option.

    I've done this several times. It must be there. He is listed as TOSHIBA Value added Package. Check it out at the bottom of the list under T.

  • Satellite A660 - cannot install the package of added value

    Hello

    For some reason any my wireless didn't work and I discovered that the wireless switch was turned off,

    I tried to turn it on again but the shortcut key for the wireless next to the power button did not work.
    I uninstalled the package of value added and tried to install back value-added package but it was - this

    message from say RegDBGetItem failed (1). and it would not install.

    Is that what I can do without having to install the new os?
    I tried CNettoyez but it didn't work.

    Please help ~!

    I ve reinstalled VAP several times and have never seen anything like it.
    When VAP is removed from the laptop the system must be restarted and then you can install the latest version of VAP.

    Have you downloaded good PPV for your laptop model?
    Are you using the original pre-installed OS that you got with your laptop?

  • missing in the package update for iTunes 12.3.2.35x64 program

    Update iTunes on Windows PC with the 12.3.2.35x64 version 10

    ends with the MSG for a program missing from the package.

    No other indication. The older Version of iTunes remains unchanged.

    Any idea?

    For general advice, see troubleshooting problems with iTunes for Windows updates. Start by Missing MSI errors .

    The steps described in the second case are a guide to remove everything related to iTunes and then rebuild what is often a good starting point, unless the symptoms indicate a more specific approach.

    Review the other boxes and other support documents list to the bottom of the page, in case one of them applies.

    More information area has direct links with the current and recent buildings if you have problems to download, must revert to an older version or want to try the version of iTunes for Windows (64-bit-for old video cards) as a workaround for problems with installation or operation, or compatibility with QuickTime software or a third party.

    Backups of your library and device should be affected by these measures but there are links to backup and recovery advice there.

    TT2

  • Without opening the package. How can I know when this ink expires?

    Can I use the code on the packaging to know when this ink expires? I don't want to open it.

    Thank you. I appreciate your help!

    These ink cartridges have no expiration date, they do not have to be exhausted before a certain time. They have a guaranteed end date, which is lasermarked on the body of the cartridge.

    I hope this helps...

Maybe you are looking for

  • Search for scripts for file names

    I have a large number of Applescript scripts and need to change a file name used in some of them. Is it possible to find all the scripts in a folder for a particular name and a list. «"I tried different solutions but no luck, for example, the shell s

  • How to partition an external hard drive Seagate

    My old external HD Time Machine does not so I bought a 2 TB Seagate Backup more Portable Drive to replace it. It has been formatted for Windows but provided a configuration "NTFS_ Mac download for_ I ran. I'd like to partition the drive & use 1 TB fo

  • Satellite Pro A300-1NT - update of the BIOS has not

    Hi, I'm an island here can someone help me solve this problem without sending it to the workshop of maintenance if possible. I've just updated tempro informed me a bios update. I ran the update, but it froze completely the system (Vista). I waited 15

  • HP Pro 3400 MT (usb ports do not work in windows 8.1 on Intel chipset)

    Are prorts USB on my computer do not work!I have Intel (E) 6 series C200 chipset. I'm updating all the drivers and after 5 to 15 minutes when the computer starts, usb ports have stopped working.My computer model: HP Pro 3400 MTOS: Windows 8.1Please,

  • Qosmio F10 - cannot update BIOS because of the illegal version?

    While half of me says its not broken, so don't fix it, I try to update my F10 BIOS to the latest version, by using the method of installation of Windows.The file I downloaded and extracted tells me it's an illegal version of BIOS for my machine, but