Bug in SQL Developer 4.0.2.15.21 or incompatibility with JDev 12.1.2 Extension SDK

Submenus and submenu items added to a context menu NOT displayed in sql developer, but appear in JDev.

Individual, added to a context menu items work correctly but submenus are not.

1 Sql Dev 4.0.2.15.21 is based on the JDev 12.1.3 framework which is NOT yet publicly released

2. the below example (based on JDev Extension SDK FirstSample) displays the contextual and submenu menu items and submenuitems correctly

3. the same example in Sql Dev does NOT contain the submenu and submenu items. Is this a bug or an incompatibility between the frames?

The starting point was the FirstSample of the latest version of the Extension SDK. I confirmed this example worked in JDev 12.1.2.0.l0 and Sql Dev 4.0.2.15.21

It's what you see, correctly, in JDev

Connection

Tables

DEPT

ESDK sample Action

Custom element 1

Custom element 2

CustomSubMenu

Custom submenu item1

Custom submenu Item2

The submenu and items are NOT displayed in Sql Dev

Connection

Tables

DEPT

ESDK sample Action

Custom element 1

Custom element 2

The following changes to the 'extension.xml' file for the sample in order to display the menu items popup extra on a node 'TABLE' of the browser database:

1 removed the menu items and the main gallery

2. Add a section 'rules '.

"<-hooks of relaxation xmlns ="http://xmlns.oracle.com/ide/extension">."

< rules >

< rule id = "framework-a-object-node" type = "framework-a-node" >

< Parameters >

< param name = "node-class" value = "oracle.dbtools.raptor.navigator.impl.ObjectNode" / > "

< / Parameter >

< / rule >

< / rules >

3 added four other 'actions '.

< Code action = "CustomItem1" >
Properties of <>
< property name = "Name" > Custom Item 1 < / property >
< property name = 'SmallIcon' >$ {OracleIcons.LABEL} < / property >
< / properties >
< / action >
< Code action = "CustomItem2" >
Properties of <>


< property name = "Name" > Custom Item 2 < / property >
< property name = 'SmallIcon' >$ {OracleIcons.LABEL} < / property >
< / properties >
< / action >

< Code action = "CustomSubmenuItem1" >
Properties of <>
< property name = "Name" > Custom submenu Item1 < / property >
< property name = 'SmallIcon' >$ {OracleIcons.LABEL} < / property >
< / properties >
< / action >
< Code action = "CustomSubmenuItem2" >
Properties of <>
< property name = "Name" > Custom submenu Item2 < / property >
< property name = 'SmallIcon' >$ {OracleIcons.LABEL} < / property >
< / properties >
< / action >

4. changes to the section "context-menu-hook".

a. change the "site" to display ONLY on the DB browser tree

b. change the rule of the "always active" to the new rules would be affected "-a-object-context node ' so one database object context menus

c. added two menu items

d. has added a new item 'menu', section and two submenu items - they don't displaly on Sql Dev but NOT appear in JDev

< context-menu-hook rule 'framework-a-object-node' = >

< site idref = "db_nav" / >

< menu >

"< section xmlns ="http://jcp.org/jsr/198/extension-manifest"id ="MY_CUSTOM_MENU_SECTION_ONE"weight ="1.0">"

< point action-ref = "oracle.ide.extsamples.first.invokeAction" > < / item >

< point action-ref = "CustomItem1" > < / item >

< point action-ref = "CustomItem2" > < / item >

< menu id = "CustomSubMenu" >

"< section xmlns ="http://jcp.org/jsr/198/extension-manifest"id ="MY_CUSTOM_MENU_SECTION_THREE"weight ="1.0">"

< point action-ref = "CustomSubmenuItem1" > < / item >

< point action-ref = "CustomSubmenuItem2" > < / item >

< / section >

< / menu >

< / section >

< / menu >

< / context-menu-crochet >

The JDev version I have is the 12.1.2 framework but Sql Dev, I was informed by the dev team Sql uses the 12.1.3 framework that is NOT yet accessible to the public.

I do not know which of the three assumptions (or others) could be correct:

1. something broken in the new 12.1.3 framework that works in the 12.1.2 framework

2. the rules of XSD schema changed to specify submenus

3. something broken or changed in the port of Sql Dev/use of the framework

I hope that you will have the answer you are looking for on the side of the House JDeveloper.  From the point of view of pure Java, however, I tend to fall back on the generalization that the byte code and JVM, any extension you are building from Java source - whether you use a 32-bit JDK or 64 bits - can be run on a virtual machine JAVA 32 bit or 64 bit.  It should not matter: the building where you can then deploy anywhere.

Tags: Database

Similar Questions

  • Meening of Geen Bug in SQL Developer 2.1.0.62

    I know that this should be obvious to me, but is not and 2 other people I asked did not either. What is the meaning of green bugs that sometimes appear when you expand the nodes (for example to expand the packages node)?



    I couldn't find the meaning in the documentation, but I have to say that I did not know what to look for...



    Thank you

    Well, it's new and documentation is not updated yet, so don't worry if you don't know what that means.
    In fact, it indicates "compiled with debug information. For a minute, you think that your code has been infected, haven't you ;)

    Kind regards
    K.

  • SQL Developer 3.1 Bug: Tabs get closed!

    Hello!

    There is a bug in SQL Developer 3.1 which closes previously opened editors to object when the number of open editors increases over a certain amount.

    for example:
    Open the PL/SQL package editors by clicking on it.
    After a number of open package, the first fork packets begin to disappear.
    When packets of theses have been published, you are asked if you want to save, ignore, or cancel the operation.

    Best regards
    Matthias Schulz

    Hi Matt,

    This isn't a bug. The behavior is controlled through preferences:

    1 PL/SQL Editor: tools | Preferences | Code editor | Auto code Pin (checkbox) + Max Open (input field) PL/SQL publishers.
    2 ObjectViewer: Tools | Preferences | Database | ObjectViewer | Automatically freezing object viewer Windows (check box).
    3 worksheet: tools | Preferences | Database | Worksheet | Close all the worksheets on disconnect (checkbox). Otherwise these are basically open.

    So we have a question of minor terminology in what concerns the "Pin" versus "Freeze". Furthermore, another problem with narrowing width tab as tab number increases:
    Please change the way are managed the tabs in the window

    Kind regards
    Gary
    SQL development team

  • Bug of NLS in SQL Developer 4.1 on mac

    Hi all

    I downloaded sqldeveloper 4.1.1.19.59 for mac os x from the Web site. When you try to connect to an Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64 bit Production database I get an error ORA-12705, the same error as shown in this issue: update SQL Developer 4.0.1 cannot connect (error ORA-12705) . I tried the NLS settings in my sqldeveloper than those of my database, but nothing happened.

    Currently, the problem was solved by using an older version of sqldeveloper. Specifically, 4.0.2 version.

    Signs of what's going on?

    Kind regards.

    Julian

    Although not specific to OS X, another debate is better: Developer SQL 4.1.1.19.59: error opening Database 9i or package procedure

    So, to summarize...

    1 use a version of SQL Developer (4.0.3 or lower) which comes with a 11.2.0.3 (or less) JDBC. That should help to interact with Oracle 9i.

    2. install a 11.2.0.3 Oracle instant client and configure SQL Developer 4.1.1 to use rather than the 12.1 driver

    See Tools > Preferences > Database > advanced > use Oracle Client... Configure...

  • Use SQL Developer to generate Doc DB

    Developer SQL version 3.1.07 build HAND = 07.42. I'm generating Doc DB of SQL Developer for a schame. He's busy with the treatment in the first table and the html files generated much like < table > Flashback_Row823.html. If I create just the doc for the views in the diagram. It can perform within a reasonable time.

    How can he stop the < table > Flashback_Row823.html file generating schema doc can be done? My version of SQL Developer is good for this?

    Hello

    This problem has been reported previously, and a bug registered:
    3.1EA3 - generation DBDoc - flashback

    It has been set for SQL Developer 3.2. Now the Flashback database are not included when generating the Doc DB.

    Kind regards
    Gary
    SQL development team

  • SQL Developer Data Modeling, no Option from Menu Design

    Using SQL Developer 3.0.04 Build HAND - 04.34 with maker of data. I have created a logical design and want to préconcevoir it to a relational model.

    I can't seem to find the option from Menu creation to use the > > engineer relational model option that is available under the design Menu on the version of stand-alone SQL Developer Data Modeler.

    Have checked the following locations:

    Tools-> Data Modeling
    Display Data-> shape
    File-> Data Modeling

    Right-click on my logical design

    I have this all of my entities have the engineer to a relational model valid property value.

    Is this a bug or am I missing a menu option / setting of the configuration?

    Thanks in advance for any help
    John

    Hi John,.

    You can find "> engineer to relational Mode" button among the other buttons for logical diagram.

    Philippe

  • MySQL-&gt; table using SQL Developer Oracle

    Greetings,

    Currently, I am a (student) temporary employee who is responsible for the migration of the MySQL database of a company to their new (gr 11, 2) Oracle database.

    So far, I use SQL Developer, because I learned a few minor techniques with this application.

    I have tried different methods for the migration, including those of the Oracle (Migration of MySQL) page

    I however got no positive results with most of the methods.

    -J' have established a connection to the MySQL database Oracle database aswell, within SQL Developer

    Now, so far, I've copied manually (right click on the table, copy to Oracle) 90% of the tables from the MySQL to Oracle database successfully.

    However, these tables contain only about 5% of the data. The problem is in the 2 tables that actually have a decent amount of records.

    FOR INFO:

    File 1: 75MB file .csv, ~150.000 records (individual records contain all select queries, where the size)

    File 02:50 MB of files .csv, ~2.200.000 records

    My previous attempts to use the same copy for Oracle option to right click on one of the two largest tables resulted in the following error:

    The table of queries down. Message: java.io.IOException: IO error: socket read timed out

    My first action to prevent this error has been to add a second file data to the current storage space, giving it 200M maxsize.

    Okay it's coming, my real questions!

    This could be a possible solution to avoid the error mentioned earlier to return?

    What other issues are possible in case of failure?

    Uses an external table to a faster and more effective method?

    (The reason for which I have not yet tried external tables is because I had no SYS (TEM) privileges, so anything that requires privileges, I first have to discuss with my superior).

    Any help is appreciated! Although my next answer is maybe not earlier that come Monday 17.

    Welcome, Brent

    Hello

    I just discovered there is a csv Import Wizard in sqldeveloper also - don't know if you tried?

    tables in the destination database (oracle) - right-click and choose Import data - this will bring you in a Wizard of csv.

    However, I think that due to the volumes of data it may have similar problems.

    sqlldr is probably your best choice - it's pretty simple once you find a decent example - it seems to cover the basics of ok - Oracle SQL Stuff (for example): SQL-Loader: the tutorial step by step - example 1 (CSV file)

    See you soon,.

    Rich

  • Oracle SQL Developer environment encoding

    I have Oracle SQL Developer (3.1.07) and I'm working with a database using WE8ISO8859P1 coding (SELECT * FROM nls_database_parameters setting WHERE = "NLS_CHARACTERSET" ;))

    I have problems with the registration of batches that contains unicode symbols. When I open previously saved the package that all unicode symbols are turned to "".

    Should what settings I change to keep the SQL Developer these symbols?
    I tried to put environment encoding to "ISO-8859-15" and some other encodings, but it won't help. ".

    Published by: 919845 on 2012.9.3 04:44

    Short version (if I find time, I'll do better writing upwards).

    Your understanding so far is false. If you read carefully, the table [1] is supposed to contain the "games of Unicode characters... as long as some older character sets»

    The only current, recommended Oracle db name for Unicode character set is: AL32UTF8. (Read globalization support guide for application of unicode support, etc.)

    Only Iso character sets I know media letter lowercase n cedilla, U + 0146 are 8859-13 (Latin-7) and 8859-10 (Latin-6) (and perhaps 8859-4/Latin-4). 8859-1 and 8859-15 defines that character.
    Table A-4 lists the Oracle names for character sets of database that matches the 8859-x character sets for example:
    http://docs.Oracle.com/CD/E11882_01/server.112/e10729/applocaledata.htm#i635047

    So, whatever it is, it seems that you need to change your database character set.

    Published by: orafad on March 13, 2012 10:14

  • Oracle SQL Developer 3.0: Debugging of PL/SQL anonymous blocks: ISSUES

    Hello
    I just downloaded the Oracle SQL Developer 3.0. I used EA versions because they have emerged and was happy to see the final version. So I immediately tried to debug an anonymous block (something I was not looking to do in EA versions) and nothing happened.

    The "Debug" is grayed out and the string 'ctrl-SHIFT-F10' key did nothing. I found this forum:
    Re: 30EA1: debugging of anonymous block?
    and Vadim Tropashko follow-up advice. This has nothing to my anonymous block but has worked well for a simple example.

    So I started to whittle my anonymous block to the bottom to find the culprit, here's a breaking point repeatable for me:
    declare
        stmt1 long;
        stmt2 long;
        stmt3 long;
        stmt4 long;
        p_data varchar2( 500 );
        i      varchar2( 10 );
    BEGIN
        STMT1 := 1;
        STMT2 := 1;
        STMT3 := 1;
        STMT4 := 1;
        
        --the moment this is in the block "Debug" is no longer an option
         select
            SendDocumentResult
           into
            p_data
           from
            XMLTABLE( '/data' 
                    PASSING 
                    xmltype.createxml( '<?xml version="1.0" encoding="utf-8"?><data><SendDocumentResult>test</SendDocumentResult></data>' ) 
                    COLUMNS SendDocumentResult varchar2( 1000 ) PATH 'SendDocumentResult' ) ;
    end;
    The moment that I SELECT INTO... XMLTABLE() it fails (a normal SELECT INTO works very well).

    Is this a problem with my environment or there's a problem with SQL Developer 3.0.04. Overlooking the comments of K, it seems that debugging has worked for 'simple' blocks, so I wonder if it's just out of reach...

    My environment:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production     
    PL/SQL Release 11.2.0.1.0 - Production                                           
    CORE     11.2.0.1.0     Production                                                         
    TNS for IBM/AIX RISC System/6000: Version 11.2.0.1.0 - Production                
    NLSRTL Version 11.2.0.1.0 - Production
    
    and Oracle SQL Developer
    3.0.04 (Buld Main 04.34 with bundled Java) on a Window's XP box.

    The analysis has been the problem indeed. Can offer no alternative workaround, that packing horror XML in a view.

  • Readability of SQL Developer Editor

    I just spent in SQL Developer of Toad and I found some problems with the editor that make it unreadable.

    The first problem is that fonts appear blockier and heavier. Toad and SQL Developer I use Consolas with size 12. I tried to turn on/off the "enable text anti-aliasing" and they are both bad. The question would be that developer SQL does not use clear fonts of the window? If so can it be fixed?

    The second issue is that the color of the characters (spaces and line breaks) SQL Developer spaces much too dark. I can't find a setting to alleviate them. Did I miss the setting, or this function can be added?

    Not that I know of, sorry.

    Kind regards
    K.

  • Display of items on the left side of the SQL Developer.

    We have problems with the display of the objects on the left side of the SQL Developer. I think it has to do with the permission issues. I have a proxy account, but I also have a read-only account. Now, I can query tables on the worksheet, but I can't see the objects on the left side as I can with my proxy account.

    Is there a default value that I need to activate or disable?

    Help, please

    Thank you

    Then this is the answer to your question: you do not have the select privileges on sys.external_tab$ (exceptionally the table may not exist).

    Kind regards
    K.

  • SQL Developer on linux oe

    Hello everyone
    I'm having a problem with sql developer I have installed on my linux platform
    problem is when I connect to the database with sql developer, it gives me
    network adaptar error: can not connect
    I installed sql developer logged as root that's why I can't access it?
    If yes pls let me know the orders to allow my oracle user using sql developer. Because I'm unable to install with the user oracle sql developer
    pls help

    Aida says:
    Hello Hans,.
    Thanks for your reply. I'm a newbie to linux and the oracle environment. I try my best to answer your questions, pls I would like to know if it's OK.

    + - which distribution and version of Linux for database machine +.
    uname - a
    Linux localhost.localdomain 2.6.18 - 92.el5 #1 SMP killed May 23 22:17:30 EDT 2008 i686 i686 i386 GNU/Linux

    Distro? (RedHat EL 5.2? Oracle Enterprise Linux 4.7? Debian? ... surely you know than the one you downloaded...)

    >

    I'm using oracle 11g.

    -What distribution and version of Linux for the client machine (SQL Developer) +.
    same distribution as above, but I have installed with that connected root.

    root? (shudder)

    I understand that you're a novice. Please get into the habit to avoid root, unless your really don't need.

    Oracle and the root mix well.

    And my oracle database is only available for the 'Oracle' user. Currently, if I try to start with the user oracle sqldeveloper it throws exception. but its ok with root.

    Probably the permissions and other things. See note above. Perhaps a lack of "root.sh" after installation.

    >

    or indicate explicitly that the PREA process two configus on the same machine_
    They are on the same machine, but users as I mentioned is the difference. Oracle 11g is installed with the user 'oracle '. SQL developer is installed with the user "root".

    is SELinux and firewalls configured properly on both machines.
    I have little knowledge of the firewall. but when I installed linux I had selected the option no firewall. and I am able to issue beginning listener command and I am out of the suite:-
    Oracle@localhost ~ lsnrctl start $

    LSNRCTL for Linux: Version 11.1.0.6.0 - Production on August 19, 2009 15:34:13

    Copyright (c) 1991, 2007, Oracle. All rights reserved.

    From/opt/oracle/111/bin/tnslsnr: Please wait...

    TNSLSNR for Linux: Version 11.1.0.6.0 - Production
    System settings file is /opt/oracle/111/network/admin/listener.ora
    Log messages written to /opt/oracle/diag/tnslsnr/localhost/listener/alert/log.xml
    Listen on: (DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = EXTPROC1521)))
    Listen on: (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=localhost.localdomain) (PORT = 1521)))

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521)))
    STATUS of the LISTENER

    --------------------------------------------------------------------------------
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.1.0.6.0 - Production
    Start date August 19, 2009 15:34:17
    Uptime 0 days 0 h 0 min 1 s
    Draw level off
    Security ON: OS Local Authentication
    SNMP OFF
    Parameter Listener of the /opt/oracle/111/network/admin/listener.ora file
    The listener log file /opt/Oracle/diag/tnslsnr/localhost/listener/alert/log.XML
    Summary of endpoints listening...
    (DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = EXTPROC1521)))
    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=localhost.localdomain) (PORT = 1521)))
    The listener supports no services
    The command completed successfully

    This is why you cannot access it.

    After the database has been installled (using the Oracle username, no root), the sequence of booting (from the Oracle user) must be

    -set the environment
    source (space dot) oraenv and pass it a valid SID (from / etc/oratab)
    -start the receiver
    lsnrctl start
    -Start the database
    sqlplus / as sysdba
    startup
    output
    -Check that the service is available
    lsnrctl status

    >

    What level of version and the patch to the Oracle database.
    Oracle 11.1.0.6.0

    -is the database upward and running and join the listener_
    Database is running, but I do not know how to save it to the listener. Sorry

    What status, ports, services and SIDS don't report the listener +.
    I don't know how to find out this thing. pls let me know.

    Who comes form lsnrctl status.

    >

    _ - host, port and service/sid are you tent to connect to SQL Developer__


    I selected these options based on the supplied with sql developer tutorial: how to start the demonstration.

    Please let me know hoe to discover port and host?
    SID is orcl.
    the user is HR/hr
    Thank you

  • Bug: Details of body inaccurate package SQL Developer 4.0 and 4.1

    I went through the trouble to recompile the schema SYS with native = PLSQL_CODE_TYPE and PLSQL_OPTIMIZE_LEVEL = 3. I found that it was unwise to change the PLSQL_OPTIMIZE_LEVEL for package under SYS specifications, so I left them alone. When I query the view of ALL_PLSQL_OBJECT_SETTINGS, it shows me that my Package body are properly compiled at level 3 and the specs are still 2. However when I look at the Details tab in SQL Developer 4.0 or 4.1 last Early Adopter, it shows the it is PLSQL_OPTIMIZE_LEVEL = 2. I did a test for the PLSQL_CODE_TYPE and the details of body in SQL Developer also follow the specification and not true values. I used the sub query to verify the real compile settings.

    SELECT owner,
           name,
           type,
           PLSQL_OPTIMIZE_LEVEL,
           PLSQL_CODE_TYPE
      FROM ALL_PLSQL_OBJECT_SETTINGS
     WHERE owner in ('SYS')
       AND type IN ('PACKAGE', 'PACKAGE BODY')
     order by 1,2,3;
    
    
    

    Thank you

    Steven Wilson

    The query we use does not take into account, there may be several entries for an object in the view. I think we have a bug. You connect.

  • Bug in the SQL Developer report where?

    Where can I report a bug in the SQL Developer? It is possible at all?

    I use Ubuntu 14.04 (32 or 64 bit) with Oracle VM 1.7.55 and get a SIGSEGV vm.

    Thank you

    Diogo Sant

    If you have database support through MyOracleSupport, you can report a bug there.

    If this isn't the case, then this is the place, although nothing is guaranteed.

  • Bug? : cannot execute predefined "last awr" report with the latest version of the SQL Developer

    Using sql developer before 4.x... report works fine

    Using SQL developer 4.0.0.13... report fails with ORA-01422

    using the actual query to generate awr against the same range of component snap works perfectly

    I opened a SR on the question

    Thank you

    It's always a good idea to open a SR when you are able.  I assume that you have already received a response from support.  For others I wondered about this, the question is likely related to running the report against a CCR environment, as indicated in the following bug:

    Bug 18132564 - LAST AWR REPORT FAILS WITH ORA-01422 IN CCR ENVIRONMENTS

    The call of the AWR report requires parameters for a DB and an ID of Instance, so that the report should run, as in earlier versions, for only the current instance, or be modified to run all instances in the cluster.

    Kind regards

    Gary

    SQL development team

    P.S.: And, in fact, a discussion prior forum - ai2 4.0-AWR and ASH giving ora-01427

    lead following bugs are connected and supposed to be fixed for SQL Developer 4.0...


    Bug 17481944 - PERFORMANCE PANELS NEED AWR/ASH/ADDM FOR RAC ENVIRONMENTS SUPPORT


    ... with the developer commenting

    I've added a number instance selection control to the various reports: ASH,.
    AWR, difference and SQL. The control is supposed to be visible when the
    connection is a RAC system, tests should a RAC.

    So if you are not on a RAC system, or are on CARS but do not see the selection number instance control, please let us know.

    Post edited by: Gary Graham

Maybe you are looking for

  • IIS php exec() block

    O no iis ;) trying to exec ('net'). And see nothing, just errcode 2. Course php cli, the same code works fine. Is there a setting to iis that is blocking this feature. Other utils cmd works very well.

  • Windows 7 SP1 failed to install - 0X800736B3

    Any help would be greatly appreciated, I prefer not having to do a fresh install of Windows just to apply the SP1 update successfully, but here's a summary of what I tried to do so far: Attempt of Actions: (1) Windows Update - failure installing SP1

  • Report Generation Toolkit link hyperlink in a table

    Having bought just Report Generation Toolkit 1.1.2 for Microsoft Office for my LabVIEW 7.1, now I want to create an HTML report that contains a table.  I want to fill the cells of the table with hypertext links to different documents.  I don't see vi

  • How to export all my emails in Outlook Express in Windows XP to Windows Mail in Windows Vista?

    I am currently using Outlook Express with XP.  I also use a laptop with Vista and Windows Mail.  I'm trying to find all message files in my directory XP so I can copy some of these files and insert them into the Vista computer e-mail program.  I foun

  • Get several errors in the hard drive and the slowness of the system XP

    COMPAQ Evo N600c, has a lot to a lot of errors on the hard drive. Slow to load, slow to respond to commands, sites will freeze in the middle of the operation. A way to clean the system of mistakes without having to spend money (amount X). ?  Ran, Ant