Connection closed - is there a SQL Developer Tools > setting Preferences?

Is there a way to set a Pref that will keep my connections open (for long periods of time)?

Hi Chuck,

No preference for this, but, as far as I know, a third-party extension should be a help for versions of SQL Developer to 3.2:

SQL Developer Extension Keep-Alive created!

For 4.0, the third-party developer will have to update the extension.  Do not know if it took steps again:

Keepalive Developer SQL does not work in 4.0

Kind regards
Gary

SQL development team

Tags: Database

Similar Questions

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

  • question on the pl/sql developer tool

    Hello

    I'm trying to debug a package by using pl/sql developer. It looks good, but the variable defined in the package do not display their value even in the mode debug to see what they have in this particular instance.

    How to get there?
    Thank you.
    KK

    Hello

    As HOEK has suggested... Please, go to the tool menu... preferences... under Oracle... debugger...

    You can see three text boxes... never... always... never. first check... button display the values of variables in a popup.

    Please enable this option... debug it...

    Concerning
    KPR

  • Hi help connection to APEX cloud with SQL Developer 3.2 or 4.0

    Hello

    I'm looking to use the SQL Developer's ability to connect to cloud to use APEX SQL Developer instead of the SQL workshop.

    Can anyone help?

    Thank you.

    Thanks for explaining, I appreciated

  • Oracle SQL developer tool

    Hi, I started using the oracle sql developer 3.0.04 Version tool.
    When I change a table using the table pane. I see the up and down arrows to change the order of the columns, but are disable.
    How can I activate this arrows? I would like to change the order of a huge table.
    Thank you!

    ID PD, this isn't in the right place, please let me know the right group. I couldn't find a group for this tool.

    Here is the link to the right forum: {forum: id = 260}

    In General, it does not change the order of columns in a table. Why do you do this? What is the reason for the company?

  • Cannot display the results in the SQL Developer tool

    Hello Experts - I installed Oracle SQL Developer (version 1.5.5), just run a simple query. Nothing appears in the results window. Can you please let me know why?

    Select * of the double

    You have an error message in the message area.

    White spaces are important in SQL!

    Good bye

    DPT

  • SQL Developer ignoring NLS preferences

    I'm having and issue with SQL Developer Version 3.2.20.09 where my settings in the preferences of NLS Date and time are not used for the nls_session_parameters.

    I changed the Date Format to DD-MM-RRRR HH24:MM:SS in preferences by default, but when I run new sessions format remains the default DD-MON-RR as a game being checked when I run

    SELECT *.
    OF nls_session_parameters

    If I run

    ALTER session set NLS_DATE_FORMAT = ' HH24:MM:SS RRRR-MM-DD ".

    I can get information to display the way I want it, but it resets whenever I start a new session.

    Hello
    change your settings to RRRR-MM-JJ HH24:MM:SS for HH24:Mi:SS of DD-MM-RRRR and see

    Concerning
    SANAE

  • Unable to connect the SQL Developer PDB

    Hello

    I am unable to connect to my pdb1 for SQL Developer.

    Oracle@Solaris:~$ lsnrctl status

    LSNRCTL for Solaris: Version 12.1.0.2.0 - Production on 4 January 2016 13:50:37

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

    Connection to (ADDRESS = (PROTOCOL = tcp)(HOST=) (PORT = 1521))

    STATUS of the LISTENER

    ------------------------

    Alias LISTENER

    For Solaris TNSLSNR version: Version 12.1.0.2.0 - Production

    Start date 4 January 2016 10:57:08

    Uptime 0 days 2 h 53 min 29 s

    Draw level off

    Security ON: OS Local Authentication

    SNMP OFF

    Parameter Listener of the /u01/12.1.0/grid/network/admin/listener.ora file

    The listener log file /U01/app/grid/diag/tnslsnr/Solaris/listener/alert/log.XML

    Summary of endpoints listening...

    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=solaris) (PORT = 1521)))

    (DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = EXTPROC1521)))

    Summary of services...

    Service '+ ASM' a 1 instance (s).

    Instance '+ ASM' READY State, has 1 operation for this service...

    Service 'cdb01' has 1 instance (s).

    'Cdb01' instance, State LOAN, has 1 operation for this service...

    Service 'cdb01XDB' has 1 instance (s).

    'Cdb01' instance, State LOAN, has 1 operation for this service...

    Service "Pdb1" has 1 instance (s).

    'Cdb01' instance, State LOAN, has 1 operation for this service...

    The command completed successfully

    Oracle@Solaris:~$

    SQL Developer:

    Status: Failure-Test failed: listener refused the connection with the following error:

    ORA-12505, TNS:listener is not currently of SID given in connect descriptor

    Type of connection is that fundamental role is SYSDBA

    But I can connect to my CBD01 of SQL Developer.

    //

    Thank you

    Christophe

    SQL Developer:

    Status: Failure-Test failed: listener refused the connection with the following error:

    ORA-12505, TNS:listener is not currently of SID given in connect descriptor

    As another reviewer said Oracle 12 c requires SERVICE_NAME and no SID to connect to the PDB files.

    http://www.Oracle.com/technetwork/articles/database/multitenant-part1-PDBs-2193987.html

    What is a database of the container

    So, what is the big advantage in this configuration, you may ask? Couldn't we have just created several ordinary vanilla instead of several PDB databases? Yes, we could have; but each of these 'plain vanilla' databases would have then his own load of instance (process and memory). PDB do not have an instance associated with them, eliminating this overload. Let's look at the installer with an example. Suppose you have a CBD (database container - the real database that hosts the other PDB files) called CONA, who has a calledPDB1 of the PDB. If you check the Oracle instance, you will see that there is one - that of the CBD. First, let's check the ORACLE_SID:

    [oracle@prosrv1 ~]$ echo $ORACLE_SID CONA
    

    That's all. There is only a single SID; not one for each PDB. Then we will check the process, especially very important that known as 'pmon ":

    See this last sentence above? See this line in the status of listening port you have posted?

    Service "Pdb1" has 1 instance (s).

    Pdb1 has a 'service' - a SERVICE_NAME allows to connect to him and all other PDB files.

  • Why I can't connect to sqlplus but not EM express or SQL Developer with sys account?

    Hello

    I am running in a strange situation. Any help is appreciated!

    I have an Oracle 12 c database shared running on my local computer. I can connect on it through sqlplus very well. Sys and system work. However, I could not connect on EM express or SQL Developer such as sys, only the system account has worked. I get the following errors when you sign on EM and SQL Developer as sys. I checked that the sys password is correct.

    em_express.PNGsqldev.PNG

    > Express EM or SQL Developer

    both use SQL * Net (ONLY) to connect to the database.

    There is a security risk to allow "sys as sysdba" to log on to the network and should be avoided.

    logging as long as SYS via the network using external password file; probably, that does not exist or contains the wrong password

  • Taking JDBC connection configuration supported the RAC in Oracle SQL Developer?

    How can one Oracle SQL Developer be configured to successfully connect to a [Oracle RAC | http://en.wikipedia.org/wiki/Oracle_RAC] environment, that is, not only the installation program always to connect to one of the individual nodes?

    [http://programmersjournal.blogspot.com/2008/08/jdbc-connection-string-for-oracle-rac.html] is an example of a classic and taking version supported the equivalent CARS of a JDBC connection string. I've used a CAR of the same format connection string from within Java applications custom without problem. I thought that the same thing should be configurable in Oracle SQL Developer, by setting the 'Connection Type' drop-down menu on "Advanced", then enter the connection string JDBC RAC-aware as "Custom URL JDBC". However, after the test connection, the following error message is displayed at the bottom of the dialog box:

    Status: Failure-Test failed: IO exception: NL Exception has been generated

    There is no additional information shown on the display 'Page Logging'. With the help of Oracle SQL Developer 1.5.5.

    Thank you!

    You could always give the current 2.1 ai2 test... continuous development may have fixed the issues in this area...

    Hope that helps,
    K.

  • How to connect earphone (ADR) Apex SQL Developer 4

    Hello

    As new ORDS.war was released, I am trying to connect with Apex listener via SQL Developer 4. But he could not find the three icons in the window of the earpiece of the Apex

    1. Retrieve parameters
    2. Download settings
    3. Launch URL

    All these three icons are disabled completely, I have no idea why these icons have become invalid.

    If someone could help me get ords.war?

    Well, I understood by referring to the Concepts of Developer SQL and use

    Right-click on "Listener" under the earpiece of the APEX and select 'Connect' from the context menu. After a successful login, all three icons in question becomes active and active.

  • Free tool for PL/SQL Developer

    Can I have some advice on what would be the best free PL/SQL Developer tools available?

    Not free, but I would say Toad

  • Need help on Sql Developer 4.0.0.13.30

    Hello

    I need a few suggestions if the underside of features/settings exist in the version of the sql developer said.

    When I open a new connection, a new code editor opens sometimes, sometimes it does not. It should open each time. Is there any setting for this?

    Can I get a list of all currently open windows in a corner of my window of developer sql (like its pl/sql developer tool, in the lower left corner)?

    I can cascade open windows? I can see vertical / horizontal / Float option window, but none cascading is here.

    Thank you

    If you click on the small blue arrow in the top right corner down - it will be on the same line as the list of tabs of the document - it will show you your list of open editors. Windows > Documents will also show you this.

  • Issue of Oracle SQL Developer when you use VPN (Cisco)

    All,

    We have a somewhat obscure issue with connectivity SQL Developer to our databases of the laptop has distance from the employee.

    The database is hosted inside our firewall and when the employee is trying to connect to the database that it receives the following error message:
    + "Encountered error: an error has occurred to perform the requested operation: the network adapter could not establish the connection." Code provider 20 "+"

    I think maybe I saw the error at some point as well...
    Status: Failure-Test failed: IO error: the network adapter could not establish the connection

    Note: It gets this error when you are connected to our VPN & so that it can connect through SQL * more on that same basis. It gets the error without worrying if he uses the option to enter tnsnames in SQL Developer or if it uses the "basic" connection type

    What is interesting, is that if he disconnects the VPN, will turn off its wireless connectivity, then hard-wire in our network, it can connect, without issue.

    The strangest part for me, is that although it cannot connect to the database using SQL Developer, it can connect through SQL * more. It can ping the IP source address very well, he can tnsping database without problem, it can connect through SQL * Plus, it just cannot connect through SQL * Developer. Since SQL * more and tnsping work, I know that it can access the db server through port 1521, so I don't think it's a problem of port.

    Another weird thing: when it connects to our network via a 'old' virtual private network (VPN open) there is no problem.

    His machine is Windoz 64 bit (HP laptop) and it uses the latest version of the SQL Developer and a JAVA virtual machine.

    Also interesting: I also have a Windoz 64 bit computer laptop (Lenovo) and I don't have the same issues, as it does. I am however running an older version of SQL Developer and probably an older JVM.

    I dug around a bit, looks like maybe it has something to do with IPv6? No idea what to do next, except have my network guy look at the logs of firewall to try to grasp where the connectivity has been ignored.

    Any ideas or suggestions would be appreciated. I tried all sorts of things (giving him my file tnsnames.ora and sqlnet.ora, manually editing these files, try IP addresses instead of host names, host names I tried with the doman.org extensions, etc.).

    Still, any suggestion would be appreciated and I thank very you much.

    Rich

    Published by: rmurnane on October 23, 2012 10:58

    If it is IPv6, you can try adding

    AddVMOption -Djava.net.preferIPv4Stack=true
    

    at \sqldeveloper\bin\sqldeveloper.con

  • Error in sql developer for debugging

    Hello

    When Iam trying to debug my procedure in sql developer tool

    I get this error below.

    * Connection to the Prodcopy connection database.
    PL/SQL execution: ALTER SESSION SET PLSQL_DEBUG = TRUE
    Running PL/SQL: CALL the DBMS_DEBUG_JDWP. CONNECT_TCP ('172.16.35.228', '4000')
    ORA-30683: failure connecting to debugger
    ORA-12535: TNS:operation expired
    ORA-06512: at "SYS." DBMS_DEBUG_JDWP', line 68
    ORA-06512: at line 1
    Process is complete.
    Disconnecting from the database Prodcopy Connection.*

    I saw Annie at the following stops.

    grant debug connect session to the PRODCOPY;
    DEBUG ANY PROCEDURE of ISSUANCE of prodcopy;

    Please help me solve this problem.

    PL/SQL debugging is overrated IMO.

    How about instrumenting your code instead? In this way, you have a permanent "debug" function which can be activated when and where necessary - and offers additional performance and treatment measures.

    Spend some time creating your own package to record instrumentation data, that you can use in (call for) your code enforcement, is time well spend and well worth it.

    In Samurai terms or... David-waza.

Maybe you are looking for