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

Tags: Database

Similar Questions

  • Where can I set the preference for the "Drop Force' in SQL Developer?

    Hello

    When removing a SQL Developer 4.1 type, I get the following message:

    ORA-02303: cannot drop or replace a type load type or table. SQLDev advises the preference setting "Drop Type Force"

    I know how to force the type with a SQL command drop - so this isn't a problem.

    My question is "where can I configure the preference 'Drop Type Force'?"

    Thank you very much for the help with this.

    Niall.

    IN 4.1.1.19.59 it is on the page of compiler for PL/SQL tools-> preferences-> database

  • Unable to connect SQL Developer on APEX host Local workspace

    Hello world

    I'm very comfortable using SQL Developer. I installed Oracle XE 11 g. It included Application Express 4.0 and I downloaded 4.2.3 and manually updated. I have a workspace on the subject called TEST. I was wondering how I could connect to it and discover its tables using SQL Developer. I managed to get SQL Navigator to work with her.

    Any help will be appreciated.

    Hi 3030494,

    3030494 wrote:

    Please change your login username of "3030494" to something meaningful. Reference: Video tutorial how to change username available

    I'm very comfortable using SQL Developer. I installed Oracle XE 11 g. It included Application Express 4.0 and I downloaded 4.2.3 and manually updated. I have a workspace on the subject called TEST. I was wondering how I could connect to it and discover its tables using SQL Developer. I managed to get SQL Navigator to work with her.

    You cannot connect to the APEX Oracle using Oracle SQL Developer workspace, but you can connect with the schemas associated with the workspace and manage database objects in this schema.

    Reference: https://docs.oracle.com/cd/E55747_01/appdev.41/e55591/toc.htm

    Kind regards

    Kiran

  • -You also get an invalid identifier error when executing this query sql for a data model, but not in TOAD/SQL Developer?

    Hello OTN.

    I don't understand why my sql query will pass by in the data model of the BI Publisher. I created a new data model, chose the data source and type of Standard SQL = SQL. I tried several databases and all the same error in BI Publisher, but the application works well in TOAD / SQL Developer. So, I think it might be something with my case so I'm tender hand to you to try and let me know if you get the same result as me.

    The query is:

    SELECT to_char (to_date ('15-' |)) TO_CHAR(:P_MONTH) | » -'|| (To_char(:P_YEAR), "YYYY-DD-MONTH") - 90, "YYYYMM") as yrmth FROM DUAL


    Values of the variable:

    : P_MONTH = APRIL

    : P_YEAR = 2015

    I tried multiple variations and not had much luck. Here are the other options I've tried:

    WITH DATES AS

    (

    Select TO_NUMBER (decode (: P_MONTH, 'JANUARY', '01',))

    'FEBRUARY', '02',.

    'MARCH', '03'.

    'APRIL', '04'

    'MAY', '05'.

    'JUNE', '06'.

    'JULY', '07',.

    'AUGUST', '08'.

    'SEPTEMBER', '09'.

    'OCTOBER', '10',.

    'NOVEMBER', '11'.

    "DECEMBER", "12."

    '01')) as mth_nbr

    of the double

    )

    SELECT to_char (to_date ('15-' |)) MTH_NBR | » -'|| (TO_CHAR(:P_YEAR), 'DD-MM-YYYY') - 90, "YYYYMM")

    OF DATES

    SELECT to_char (to_date ('15-' |: P_MONTH |)) » -'|| ((: P_YEAR, 'MONTH-DD-YYYY')-90, "YYYYMM") as yrmth FROM DUAL

    I'm running out of ideas and I don't know why it does not work. If anyone has any suggestions or ideas, please let me know. I always mark answers correct and useful in my thread and I appreciate all your help.

    Best regards

    -Konrad

    So I thought to it. It seems that there is a bug/lag between the guest screen that appears when you enter SQL in the data model and parameter values, to at model/value data.

    Here's how I solved my problem.

    I have created a new data model and first created all my settings required in the data model (including the default values without quotes, i.e. APRIL instead "Of APRIL") and then saved.

    Then I stuck my sql query in the data model and when I clicked ok, I entered my string values in the message box with single quotes (i.e. "in APRIL' instead of APRIL)

    After entering the values of string with single quotes in the dialog box, I was able to retrieve the columns in the data model and save.

    In the data tab, is no longer, I had to enter the values in single quotes, but entered values normally instead, and the code worked.

    It seems the box prompted to bind the values of the variables when the SQL text in a data model expects strings to be wrapped in single quotes, but no where else. It's a big headache for me, but I'm glad that I solved it, and I hope this can be of help to other institutions.

    See you soon.

  • The value of the indentation / tab size in Oracle SQL Developer

    I've been searching for an hour. Cannot understand this.

    Where, on the UI of the application or in the file 'product - preferences.xml', can I change the (tab) indentation size developer SQL 3? My organization uses PowerBuilder, and when I copy + paste our SQL PB (which uses the main tabs) in Oracle SQL Developer, it looks like crap. It would really help if I could change the code editor for a tab size equivalent to three spaces.

    And no, we cannot use spaces. :-)

    Thank you!

    (maybe SQL Developer 2 might have a field of size tab in 'Préférences')

    1.5.x, it is under Preferences - database - SQL Formatter - alignment and Indentation .
    However, at least in the 1.5.3 current, a bug ignores the preferences of the tab completely, so you are stuck with 2 spaces. If you can't wait until it gets fixed (with luck in the upcoming 1.5.4 or maybe 2.0), revert to a previous version.

    Kind regards
    K.

  • 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.

  • Characters not visible (caused by hitting the bar space or TAB in PL/SQL developer tool) causing slow running query? and database with low performance?

    Hi all

    I need your help to get this issue resolved its urgent and I'm not able to get to the conclusion. Here is my scenario, I'm getting slow query runs because of some non-visible characters that are copied with the application of the PL/SQL developer tool. Please find below attached screenshot: Oracle_Issue

    Oracle_Isssue.png

    Note: This non-visible characters are caused when we write the query then us hit the SPACEBAR or press TAB PL/SQL developer tool

    I use the developer tool PL/SQL to write or test the query. Now I take this request copy paste in my application of the company (who takes this query connects to Oracle or any source of data base, catch data and produce PDF reports for customers).

    Now, my client is the Oracle user when I write and you run this query by the PL/SQL Developer, it works fine, but when I paste in my Inbox feature request (reporting system) and run it, it runs slower and jams to the customer database. Now after a little research I found that when I copy the query directly from PL/SQL developer at my request, he copy some characters not visible (introduced when we press SPACE or TAB in PL/SQL developer tool when writing query) with the request, then I copy this query again to my box of the application Notepad and delete these non-visible characters. Now, after removing the non-visible characters again once I copy backup question in my application and run the query, it works normally. Please find below attached screenshot: Oracle_Issue 2

    Oracle_Isssue_2.png

    So I think that the cause of slow performance is due to some INVISIBLE CHARACTERS present in the query.

    My application uses SQL server 2008-2012 at the backend to store data from different sources.

    Character set used: SQL_Latin1_General_CP1_CI_AS


    To write and test queries: PL/SQL developer tool

    My Client use Oracle 11 g

    Character set used: Normal character: NLS_CHARACTER: AL16UTF16

    National Characeter: NLS_NCHAR_CHARACTER: WE8WIN1521

    I just wanted to know the blocking process to the top of the database and the characters not visible how affecting slow running query of query database.

    Please let me know if I'm missing something or you need more information on this issue.

    Thanks in advance,

    HP

    Simple answer. No.

    Spaces and line breaks do not change the execution plan created. Does not plan to run slower or faster.

  • How to get the full DDL using SQL developer

    Hi all

    I need get the full DDL a table with the details of the index partitions, synonyms, comments (if any) and give information if given any role, use SQL developer. We can achieve the same thing using shortcut F4 on name of the table into a frog, then selecting tab DDL. Is it possible to get the same in SQL Developer also?


    Also how I see existing procedures using SQL developer?  A toad, we were able to achieve using the schema browser.

    Hi all

    I reached by - right click on connection - diagram open... and any browser will even...

  • 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.

  • SQL Developer DBdoc bug

    Hello

    When generating dbdoc for a schema, I found a bug.

    I have the function in a package:

    "function suspend_task).
    pn_in_tl_tasks_id in full,
    pd_in_due_date to date,
    pv_in_login in t_users.login%type,
    pv_in_note in t_tl_tasks_hist.notes%type
    ) return number;
    "
    After, in the generated html code, I get:
    "suspend_task (pn_in_tl_tasks_id, pd_in_due_date date, pv_in_login in t_users." "connection type %, pv_in_note in '.


    Problem is this generator cuts last parameters. Please read this. The problem occurs when there are more parameters (4 +) in the procedure/function.



    Edit:
    SQL Developer, Version 3.1.07

    Confirmed in the latest internal version. No work around available.
    Bug 13862233 - COMPLETION INSIGHT/DBDOC PROCEDURE INCOMPLETE LIST PARAMS

    Brian Jeffries
    SQL development team

  • Connection tab Sybase shows is not in the new option of connection in SQL developer

    Hello

    I do not see a Sybase connection tab in the new connection option in SQL developer 2.1, as it was available in version 1.5

    Why is this? How to fix?

    Hello

    Have you installed the JTDS JDBC driver still in SQL Developer.
    This is necessary before you get the tab connection for SQL Server and Sybase.

    You can install the driver, JTDS action to Check For Updates.

    Kind regards
    Dermot
    SQL development team

  • How to get the script to a table or view in SQL Developer?

    Dear friends/expert,

    Could you tell me how to get the script from a view or a table easily in SQL Developer as pressing F4 in TOAD?

    I found that I can press SHIFT + F4 to view in SQL Developer and get the script of the view in the Details tab. But how to move the script to the SQL worksheet to change? It is very easy to do in TOAD.

    And I have not found a way to get the script for a table up to now. Is it possible to do?

    Thanks in advance.

    Best regards
    Ning

    There are people a lot better out there to answer on this point than I am - but here's how I do it.

    I'm just in the browser/browser for interest table, choose the script on the right side tab (which shows all the SQL for the table) and then cut and paste what I want or need in my editor window.

  • 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...

  • Data tab returns data differently in different instances of SQL Developer

    On my instance of SQL Developer, when I click on the data tab, the data is returned immediately via a select * table query, but on one of the machines of my developer, when she clicks on the data tab, Developer SQL executes a select query * table... order in...

    The column it is order by is NOT indexed and the query takes a long time to return data.   We cannot understand where SQL Developer's store this particular query and associating it with the data on its instance SQL Developer tab.

    Anyone can shed some light?

    Right click on the grid, and then select "remove persisted settings...". »

  • 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.

Maybe you are looking for