Which client is SQL Developer using

We've upgraded our development database from 10.1.0.4 to 11.1.0.7. We're testing out the version 11 client, but we still have the 10.2 client installed. How can I tell which client is being used in SQL Developer when I connect?
I can't seem to find anything Under Tools>>Preferences, or in the connection itself. I can see multiple duplicate entries under "Network Alias", which, if it's reading from all the TNSNAMES.ora files under each client, then that would sort of makes sense.
V$SESSION doesn't look like it mentions anything either.
Thanks,
--=Chuck

SQL Developer attempts to detect client installs and use the JDBC drivers from them if possible. You can check which Oracle Home/JDBC Driver we are using by going to the About box (Help->About) and switching to the Properties tab. Look for the properties jdbc.library and oracle.home.
- John
SQL Developer Team

Similar Messages

  • Issue connecting via proxy client in SQL Developer 4.0

    Hi SQL Developers,
    I should have posted this earlier, as I have been using SQL Developer 4.0 for several months and noticed the issue some time ago. The environment I am connecting to uses a Windows ISA Proxy desktop client to allow traffic to some databases. I generally use the Oracle Client and OCI connections in SQL Developer. At some point during the SQL Developer releases, connectivity stopped working for certain databases behind the proxy.
    The following clients connect to the database behind the proxy without issue:
    SQL*Plus 11.2.0.1 64-bit
    SQL Developer 4.0.0.12.84 using the SQL*Plus client and OCI
    Connectivity to the database behind the proxy does not work with these versions:
    SQL Developer 4.0.0.13.80 (tested with Oracle client, thin, etc.)
    SQL Developer 4.0.0.13.30 (tested with Oracle client, thin, etc.)
    Error Message:
    An error was encountered performing the requested operation:
    IO Error: The Network Adapter could not establish the connection
    Vendor code 17002
    Connectivity to other non-proxied databases works for all clients above. I've tried re-creating the connections, re-installing, etc. Nothing works except going back to the earlier version of SQL Developer.
    Has anyone else experienced this behavior? I am trying to determine whether the proxy is stopping the client based on a signature or if the client is not routing the connection correctly.
    Thanks,
    Shad

    I think I have found a solution.
    Run the command prompt (CMD) in windows and type in the following:
    setx _JAVA_OPTIONS -Djava.net.preferIPv4Stack=true
    I got this from a java developer and now I'm able to connect

  • Instant client and SQL Developer

    Hello,
    I would like to know if I can use the Instant Client along with Ora SQL Developer or TOAD?
    Thank you.

    [url http://www.oracle.com/technetwork/developer-tools/sql-developer/overview/index.html]Oracle SQL Developer comes with client stuff built-in (java based), don't need Instant Client.
    About Toad, see toadworld.com. But, yes, Instant Client should do fine.

  • SQL Developer (using TNS and LDAP) fails

    If I use a Basic Connection Type and specify the Host, Port and Service Name I can get connected.
    If I use a TNS Connection Type and click on the appropriate Network Alias I get:
    Status: Failure -lo exception: SO exception was generated.
    The SQLNET.ORA file has this entry:
    NAMES.DIRECTORY_PATH= (LDAP)
    SQL*Plus connections work fine.
    Has anyone seen this issue and resolved it ?
    Thanks,
    Bob Larsen

    Bob,
    TNS connection with Network Alias option should work.
    I assume you have a local tnsnames.ora file with the database entry.
    You can launch sqldeveloper from sqldeveloper\sqldeveloper\bin\sqldeveloper.exe
    or sqldeveloper\sqldeveloper\bin\sqldeveloper.bat.
    This will give a stack trace.
    Thanks,
    Sri

  • Which oracle_home SQL Developer 3 uses

    Hi, all,
    I have multiple oracle homes in my desktop.
    How do you know which oracle SQL Developer uses? I'm trying to figure out which tnsname.ora file SQL Developer refers to.
    SQL Developer version: 3.0.04
    Thanks!
    alex

    You can find/change the path in Preferences - Database - Advanced - Tnsnames Directory.
    Have fun,
    K.

  • How to insert data from *.dmp file to  oracle 11g using Oracle SQL Develope

    hi
    i backup my database using PL/SQL developer and made *.dmp file
    how to insert data from *.dmp file to oracle 11g using Oracle SQL Developer 2.1.1.64
    and how to make *.dmp file from sql*plus ?
    thanks in advance

    Pl/Sql developer has a config window, there you choose the exec to do the import/export.
    Find it and his home version, it may be exp or expdp, the home version is the version of the client where the exp executable is.
    Then use the same version of imp or impdp to execute the import, you do not need to use Oracle SQL Developer 2.1.1.64. If you want to use it, you must have the same version in the oracle home that exp/imp of sql developer use.

  • SQL DEVELOPER 1.5.3: Export Data options for using SQL to write SQL?

    I write a lot of SQL that generates SQL. In a competitor's product, I can export query results (Export > Save As > Tab Delimited) to the clipboard, paste the generated SQL into a new window, then execute the generated SQL.
    In SQL Developer, using Export Data > Text to the clipboard, it's delimiting each row with double-quotes. Is there any way to turn this behavior off to achieve what I want? Or should I be choosing a different export format?
    For now, I can do a search/replace to eliminate the double-quotes,
    Thanks.
    Dana

    Dana,
    I probably haven't done this with generating thousands of SQL lines, but I have certainly used the Ctrl-A, Ctrl-C (or Ctrl-Shift-C to get headers) to copy thousands of records of result data. Note that the Ctrl-A forces a fetch of all remaining records that have not yet been fetched, which may add to the time taken by the process - for example, running the query fetches the first 50 records and then Ctrl-A will fetch the remaining records as well as selecting them all, however long that takes. Also, there is a noticeable delay with the Ctrl-C for thousands of records - only rough counting but I was seeing a UI freeze for ~ 4 seconds when copying 10000 records from a query with around 30 columns in it (pasting the clipboard into a file produced a file just under 4MB).
    theFurryOne

  • Which SQL Developer version is compatible with which Oracle db version?

    Does anyone have a link to the docs that detail which versions of SQL Developer support which versions of the Oracle database? We're looking to upgrade our 10.1.0.4 database to 11gR1 or 11gR2, and we're wondering if we'll need to upgrade out SQL Developer 1.5.4 installation as well.
    Thanks,
    --=Chuck

    Does anyone have a link to the docs that detail which versions of SQL Developer support which versions of the Oracle database? We're looking to upgrade our 10.1.0.4 database to 11gR1 or 11gR2, and we're wondering if we'll need to upgrade out SQL Developer 1.5.4 installation as well.
    Thanks,
    --=Chuck

  • Cannot connect to Serv through my computer's Oracle SQL Developer client.

    Connection issue:
    When I try to connect to the server , I receive the following message:
    “An error was encountered performing the requested operation:
    IO Error: The Network Adapter could not establish the connection
    Vender code 17002”
    The odd thing is that I am able to connect through the Citrix SQL Developer using the same settings. My internet connection is working fine, and I am not connected to a VPN.
    Please assist me.
    Thanks,
    Vas

    905508 wrote:
    Connection issue:
    When I try to connect to the server , I receive the following message:
    “An error was encountered performing the requested operation:
    IO Error: The Network Adapter could not establish the connection
    Vender code 17002”
    OS/Networking mis-configuration!
    Oracle is the victim; not the culprit.
    Root cause & fix are external to Oracle.
    Is any type of OS Virtualization involved here?

  • How to create partitioned bitmap index in SQL Developer?

    I am running SQL Developer version 3.0.04.34 ; on Windows 7 (64 bit) against:
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    PL/SQL Release 11.1.0.7.0 - Production
    CORE     11.1.0.7.0     Production
    TNS for Linux: Version 11.1.0.7.0 - Production
    NLSRTL Version 11.1.0.7.0 - Production
    I am trying to create a bitmap index on a partitioned fact table which is part of a data warehouse. The index is in support of a single-column foreign-key to a dimension table. Heretofore, we had been using partitioned B-Tree indexes. According to the Data Warehousing Guide, we should consider using bitmap indexes for this purpose. Accordingly, I was trying to create such an index in our development environment. I used SQL Developer to edit the table, and attempted to create a bitmap index using the advanced screen from the index edit screen. I changed the partition type to "Local" from "None" using the radio button. When I attempt to save this change, I get an error message "A bitmap index cannot have a global partition". This happens whether or not I have assigned storage for the partitions. The index partition names are the ones used successfully for the existing B-tree indexes. I can create the SQL for the index creation by hand, but it would be simpler and easier to maintain if I could use SQL Developer.
    Any help on this issue would be appreciated.
    Vin Steele

    There is a radio button for index type in the New Index... dialog and in the index section of the edit table dialog.
    Which version of SQL Developer are you using?

  • Apex report result doesn't agree with the result of sql developer

    Hello guys,
    at the moment I try to create a standard report which takes his content from several spreadsheets. Because of some problems with the searchbar I'm not able to use an interactive report. The sql query contains a function, which sets some space characters into the content of a column. But there is a big problem. When I call my sql query in apex from the spreadsheets the result doesn't agree with the result which affords the sql developer.
    I know that the sql developer affords the right result.
    best regards
    wderr
    Edited by: user9072567 on 07.02.2010 12:57

    thats the query:
    select "TWORKITEM"."WORKITEMKEY",
    "TWORKITEM"."PROJCATKEY",
    "TPROJECT"."LABEL",
    "TWORKITEM"."PACKAGESYNOPSYS",
    replace(replace("TWORKITEM"."PACKAGEDESCRIPTION", chr(10), '<br>'),'<td></td>','&lt;td&gt;&lt;/td&gt;') packagedesc,
    suche_ohne_ti_be("TWORKITEM"."WORKITEMKEY") "CHANGEDESCRIPTION"
    from "TWORKITEM" "TWORKITEM", "TPROJECT" "TPROJECT", "TPROJCAT" "TPROJCAT"
    where "TWORKITEM"."PROJCATKEY" = "TPROJCAT"."PKEY"
    and "TPROJCAT"."PROJKEY" = "TPROJECT"."PKEY"
    and (instr(upper("TWORKITEM"."WORKITEMKEY"), upper(nvl(:P10_SEARCHTEXT, "TWORKITEM"."WORKITEMKEY"))) > 0
    or instr(upper("TPROJECT"."LABEL"), upper(nvl(:P10_SEARCHTEXT, "TPROJECT"."LABEL"))) > 0
    or instr(upper("TWORKITEM"."PACKAGESYNOPSYS"), upper(nvl(:P10_SEARCHTEXT, "TWORKITEM"."PACKAGESYNOPSYS"))) > 0
    or instr(upper("TWORKITEM"."PACKAGEDESCRIPTION"), upper(nvl(:P10_SEARCHTEXT, "TWORKITEM"."PACKAGEDESCRIPTION"))) > 0
    or instr(upper(suche_ohne_ti_be("TWORKITEM"."WORKITEMKEY")), upper(nvl(:P10_SEARCHTEXT, "TWORKITEM"."WORKITEMKEY")))>0
    I mean with spreadsheets some tables/charts. And I take those informations from 3 of them.
    regards
    wderr

  • SQL Developer objects not showing DDL

    Greetings! First time posting here on the Oracle forums, so hopefully I can be as specific as possible :)
    I'm having an issue with displaying the SQL that makes up an object, specifically a VIEW.
    Here is the scenario:
    I log on as an IT user - WDSQUERY (this account can be used my multiple folks for querying in different schemas). I navigate down to other users and expand that node. I find the schema I want to use, ALCHEMY, and expand that node.
    It now places me in the ALCHEMY realm we'll call it. I should be able to see all the different objects owned by this schema (assuming permissions are set up). I click on the 'VIEWS' node to expand all the view objects. I can see the data and columns. What I cannot see is the SQL that generates that view, and I have no idea why.
    Co-worker of mine uses Toad, and he can do the exact same scenario (same user id, goes to same schema, etc.), however when he clicks on the 'Script' tab, it will generate the SQL that builds that view. Which leads me to believe this isn't a permission issue, because he's on the exact same user_ID.
    Is there some option I don't have checked somewhere in SQL Developer? The current work around for this is that I simply query the DBA_VIEWS where owner = 'ALCHEMY', and then pull out the name/text of the view I want. But....still this is just one of those things I want to know why it isn't working.
    Here are the little ORA codes I'm getting when trying to view the SQL code of the VIEW:
    ORA-31603: object "PO_LINE" of type VIEW not found in schema "ALCHEMY"
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
    ORA-06512: at "SYS.DBMS_METADATA", line 2806
    ORA-06512: at "SYS.DBMS_METADATA", line 4333
    ORA-06512: at line 1
    Any help would be GREATYLY appreciated!

    Hi,
    If you can see the objects in the 'Other Users' schema, then I would imagine your user_ID has the SELECT ANY DICTIONARY system privilege. Seeing the data and DDL requires additional privileges, however. I haven't looked deeply enough to be absolutely sure, but there are two or three methods that SQL Developer uses:
    1) If you have SELECT ON <other user_ID>.<viewname> object privilege, then you can see both data and DDL.
    2) Otherwise if you have EXECUTE ON DBMS_METADATA you can see the DDL (except it may depend on other privileges too(?)).
    Sorry I don't have time to dig deeper into DBMS_METADATA. It works on some of my connection users but not others. And, of course, privileges like SELECT ON DBA_VIEWS always give one an unfair advantage.
    Hope this helps,
    Gary Graham
    SQL Developer Team

  • How to connect as different user in SQL Plus Worksheet in SQL Developer

    This is driving me nuts! I have a script with different "CONNECT" commands to different schemas. What is the right synatx when using SQL Worksheet in SQL Developer when connecting to a different user? Greatly appreciate help on this. Thanks!

    Which version of SQL Developer are you using? What syntax are you using?
    Using SQL Developer 2.1.0.63.73, running selected statements as a script, I could get connect to work fine with the following examples:
    connect
    select user, global_name from global_name;
    connect;
    select user, global_name from global_name;
    connect user/password@tnsalias
    select user, global_name from global_name;
    connect user/password@tnsalias;
    select user, global_name from global_name;Unfortunately, even though the connect on it's own prompts for user, password and tns alias (and says a blank tns alias is the current connection), the following don't work:
    connect user/password
    select user, global_name from global_name;
    connect user/password;
    select user, global_name from global_name;Also note that the connection performed by this only exists while the script is being executed - only the script stops/ends the connection is disconnected.
    theFurryOne

  • Generate DDL works in old version of SQL Developer, but not in new versions

    Hello all,
    How to generate DDL in new versions of Oracle SQL Developer for production Oracle database?
    For production database, the generate DDL feature works fine in old versions (version 1.5.5) of Oracle SQL Developer, SQuirrel, Toad and many other similar tools, but not the new versions of Oracle SQL Developer (such as 2.1.1.64.45).
    The SQL tab for a table is blank for me in production databases. Of course, it works fine in development Oracle database.
    I did some research that many articles describe SELECT_CATALOG_ROLE as the required read-only role in production database. Our DBA did a test to grant me this role temporarily, and it worked for me to generate DDL using new Oracle SQL Developer. It is pain for me to ask for this role.
    Is there a plug-in or work-around, so the new versions of Oracle SQL Developer can have this generate DDL feature in production without the mentioned SELECT_CATALOG_ROLE?
    I could not find the answer in older forum threads.
    For now, I will have to install older versions of Oracle SQL Developer.
    Thanks

    I've seen a couple posts about people not being able to generate DDL for other users. To date, I've never seen a anybody post a workaround, nor have I seen one of the developers post a response, nor have I seen anybody say they've submitted a SR.
    I think I remember reading somewhere that the new version of SQL Developer uses dbms_metadata.get_ddl to generate DDLS, rather than some custom query built on top of catalog views...which could explain why it use to work, but no longer does. But whether or not this is true, I don't know.
    You could try submitting a SR and see if Oracle responds saying that it's a known bug and will be fixed in the next release. Until then, unless you get the role, you're stuck using something else for DDL generation.

  • How to set nondefault directory for SQL Developer on Citrix (terminal)

    Hi
    My purpose is that , when I click"open" button on SQL Developer I hope it prompts out a defined diretory rather than the default one.The problem here is I'm using Citrix paltform in the terminal end and hence I don't authorization to do any modification on the C:\ drive (server end)
    I got this guide lines from the tutorial but I can reset the rying directory by either way.
    To specify a nondefault SQLDEVELOPER_USER_DIR location, do either of the
    following:
    ■ Set the SQLDEVELOPER_USER_DIR environment variable to specify another
    directory path.
    ■ Edit the <sqldeveloper_
    install>\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf file
    and substitute the desired directory path for SQLDEVELOPER_USER_DIR in the
    following line:
    SetUserHomeVariable SQLDEVELOPER_USER_DIR
    1.After I execute below command on cmd, the variavle has been set but still it navigates to the default directory:
    set SQLDEVELOPER_USER_DIR=U:\sql
    2.I want to modify the "sqldeveloper.conf " file but since it is located in C: drive I don't have right to modify it.(I'm using terminal as stated above)
    Could anyone help me out ??
    Ella

    Ella,
    You don't say which version of SQL Developer you are using via Citrix, but just setting the SQLDEVELOPER_USER_DIR hasn't worked for a long time (see Re: SQLDEVELOPER_USER_DIR does not function anymore). Also, since version 1.5, the default for the user directory (now set via ide.user.dir as shown below) is under the user profile area (relative to %APPDATA%), which you should be able to write to, even on Citrix.
    Assuming that neither of those help, you will need to get whoever installed SQL Developer on the Citrix C: drive to modify the sqldeveloper.conf to have a line like, where the path exists for everyone who will be using the shared SQL Developer (assumes everyone has a H: drive):
    AddVMOption -Dide.user.dir=H:\sqldeveloperAn alternative (depending on how you start SQL Developer via Citrix), is to create your own shortcut to start SQL Developer with something like:
    sqldeveloper -J-Dide.user.dir="%SQLDEVELOPER_USER_DIR%"theFurryOne

Maybe you are looking for