SQL Developer and TOAD connection.

Hi,
I am able to see the DDL script for tables using TOAD, but NOT using SQL Developer (2.1.1). Same user, pass, and tnsname file.
They use same tnsname.ora file on my computer. I set basic and TNS connection for SQL Developer.
The connection is from my computer to the server (Oracle 11.1.0.7 EE).
ORA-31603: object "ALARM_DEFINITION" of type TABLE not found in schema "AIRCOM"
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
ORA-06512: at "SYS.DBMS_METADATA", line 3241
ORA-06512: at "SYS.DBMS_METADATA", line 4812
ORA-06512: at line 1
It is same with packages. I cannot see package body.
What is the different and which additional privileges I need to see the DDL script?
Thanks in advance for your help!
Konstantin

I don't think it's a connection issue. There seem to be differences in how Oracle and Toad access system views to show objects. If you search the boards you see it has effected a couple of people. Sometimes they post what permissions they changed to get things to work for them.
ie... Re: Issue with viewing Package Body  in SQL Developer 2.1 RC1
I don't think I've seen any official documentation to indicate what privileges need to be granted in order to see them thought. And I think there is a bug that prevents generating DDL for tables owned by other users. I don't know if that extends to generating stored procedure code.

Similar Messages

  • Install Oracle XE, SQL Developer, and Toad on the same machine?

    I have been trying to install Oracle SQL Developer, Toad, and Oracle Express on my work computer. Installing SQL Developer and Toad was pretty straightforward, and I was able to browse the XE database with SQL Developer. But after installing Toad, problems started. Toad was using Oracle XE's registry settings to locate ORACLE_HOME and oci.dll. So I tried changing the settings for Oracle XE in the registry. Toad now works, but not Oracle XE. And while I was going through this all, I even had a time when I had Toad and oracle xe working, but not SQL Developer. It almost looks like you can choose two of the products, but not all three.
    So, my question to the community at large is "Can it be done?". In what directories do you have each product installed? What environment variables do you have set? Where is your tnsnames.ora? What Oracle registry settings do you have set (namely HKLM\SOFTWARE\Wow6432Node\ORACLE\KEY_XE)?
    I can post my current settings, but I've been through so many iterations that these current settings don't really matter that much.
    Here are the details I am looking for
    Path to sqldeveloper.exe
    Path to oracle.exe (for Oracle XE)
    Environment Variables
    ORACLE_HOME
    ORACLE_BASE
    TNS_ADMIN
    PATH (just the oracle stuff)
    Registry Settings
    HKLM\SOFTWARE\Wow6432Node\ORACLE\KEY_XE\ORACLE_HOME
    HKLM\SOFTWARE\Wow6432Node\ORACLE\KEY_XE\ORACLE_BASE
    HKLM\SOFTWARE\Wow6432Node\ORACLE\KEY_XE\TNS_ADMIN
    HKLM\SOFTWARE\Wow6432Node\ORACLE\KEY_XE\OLEDB
    HKLM\SOFTWARE\Wow6432Node\ORACLE\KEY_XE\ORAMTS_CP_TRACE_DIR

    I don't use toad, but there should be no reason why you can't install all 3. SQL Developer is a very clean install and affects nothing else. It doesn't add to the path, or create any registry entries except for file associations.
    A toad installation should pick up your oracle client (in this case the XE code). I am curious as to why you felt you had to change registry settings. What problem were you trying to fix?
    My recommendation would be to uninstall everything, clean the registry and reinstall in the order XE, Toad, SQL Developer. Test in between installations and seek help for problems as you find them. Bear in mind that this is the forum for SQL Developer. QUestions about Oracle XE would be better answered in the dedicated forum, or in the Installation forum, and questions about Toad in a toad forum.

  • SQL Developer vs TOAD: connection stability

    I am trying to persuade a group of developers to switch from TOAD to SQL Developer. The feature set of version 1.5 is quite nice; and most of our users don't need the extra bells and whistles of TOAD. However, in side-by-side situations, it seems that TOAD gets better response times. In particular, the connection for SQL Developer sometimes seems to freeze and then come back later, while TOAD does not seem to be affected.
    Our DBA thinks that the difference may be from SQL Developer using a JDBC connection while TOAD uses Oracle SQLNET. He said that switching to an LDAP server for name resolution might make the difference; but we really don't have much experience at this level of detail on the connections.
    Is anyone else having a similar issue? Has anyone been able to 'equalize' the performance of the two products?
    You insights are welcome.

    However, in side-by-side situations, it seems that
    TOAD gets better response times. In particular, the
    connection for SQL Developer sometimes seems to
    freeze and then come back later, while TOAD does not
    seem to be affected.
    Our DBA thinks that the difference may be from SQL
    Developer using a JDBC connection ... I think the problem ist not SQL Developer\JDBC itself but rather the Java Runtime Environment. The behavior you describe sounds like that Garbage Collector hits you. SUN trys to make the GC better in each Java version, so I suggest you update your JRE to the newest one you can get(today: 1.6.0_06 from java.sun.com).
    After doing that, install "Oracle SQL Developer for Windows, with JDK already installed" to make sure that SQL Dev. use the new one. You can check the used java version within SQL Dev. at the "About" dialog (register: version)
    If you are familiar with java you should play with some gc and memory settings. Details about that you find here: http://java.sun.com/docs/hotspot/gc5.0/gc_tuning_5.html
    Andreas

  • Using SQL Developer and IPC connection

    SQL Dev 1.0.0.15 on Windows XP
    On the windows PC I am run SQL Dev on I have a Listener & tnsnames setup to use an IPC connection. I did not have the listener setup to use a protocol of TCP. The connection to the db worked fine via sql+. Also I have toad on this PC and it worked just fine via the IPC connection.
    I installed SQL Dev and tried to use the IPC connection. It did not work. I kept getting the message of "unable to access the network adapter" or something close to that. The message made sense as an IPC connection does not use the Network or Network adapter.
    I ended up setting up the listener to listen for both IPC and TCP and SQL Dev worked.
    My question is does SQL Dev use only the JDBC thin driver as it is my understanding the thin driver must use TCP. And is there a method to allow SQL Dev to use an IPC connection.
    Here is my currect listener and tnsnames. SQL Dev I simple listed the parms to connect via TCP in the basic tab of the connection dialog.
    listener=
    (description=
    (address_list=
    (address=(protocol=tcp)(host=localhost)(port=1521))
    (address=(protocol=ipc)(key=to2))
    sid_list_listener=
    (sid_list=
    (sid_desc=(sid_name=to2)))
    tnsnames:
    to2.world =
    (description =
    (address = (protocol=ipc)(key=to2))
    (connect_data = (sid=to2)))
    Thanks

    As packaged, sql dev uses the thin driver.
    I believe that it is possible to dump the thick driver in its place (most likely in jdbc/lib) and use that with the advanced connection tab. I have yet to see anyone submit instructions on how to do it, so I am not of much help beyond saying that it is possible.

  • Sql Developer and Data Guard enabled instance

    I have version 1.1.2.25 SQL Developer and when I try to connect to Oracle 10gR2 instance which is data guard enabled and its logical standby it spits few message, and then connects, but data is not visible from any table.
    Is there any way to see data and other code while in logical standby instance which only in read only mode?
    Thanks.

    This problem came when I tried to connect to Oracle
    instance which is a logical standby in data guard
    setup. Eventually connection is made and then you can
    not see any object.
    In logical standby database its suppose to be read
    only and should be available for query.
    In TOAD you can see every thing and when you want to
    make any change ,it spits an error and wouldn't allow
    you to make any change.
    My question was, why SQL Developer is not showing the
    objects in the list and its contains.Perhaps we could help you if you told us what the error was.

  • SQL Developer and Blocking View of Other Users' Objects

    I am using SQL Developer in a classroom environment. My student users can “see” Other Users objects. They cannot modify, but none the less can see the structure and data.
    I only want the users to be able to see their own objects. Is there a privilege that needs to be revoked? (In using SQL Plus command line, this was not a problem.)
    Thanks.
    -Karen

    Karen,
    From sysdba account (sys/system). Run following and verify for that particular user grant is revoked. May be exit from sql developer and log back in or refresh view.
    YOu can also potenially revoke all the privs from all non admin uses i.e.r even connect/resource roles and grant them back.
    revoke select any table from yourschemaname;
    revoke connect from schemaname;
    revoke create session from  schemaname;
    revoke resource from schemaname;
    Then just grant privs as need basis
    grant connect to schemanme;
    grant resource to schemaname;
    grant create session to schemaname;
    ..Regards
    Edited by: OrionNet on Jan 23, 2009 2:01 PM

  • Links for SQL Developer and Data Modeler not working?

    Hi folks,
    I tried to access the new SQL Developer and Data Modeler links posted in the April 1 message (and on the Oracle site) from a couple of machines with no luck (empty zip files) - is there an update to the links?
    Thanks!
    Tomo

    In Firefox zero length zip. In IE loses connection to downloads.oracle.com.

  • SQL Developer 1.5 Connection Problems

    Unable to connect to my localhost installation of Oracle 11G in Windows XP environment
    SQLPLUS connections look just fine.
    I went out to the windows registry to verify the Oracle SID.
    The environment ORADLE_SID is set to 'orcl'
    I have tried logging in as HR and as SYS. Both work in SQLPLUS. Neither work in Sql Developer.
    The connection settings I am using are as follows:
    User Name: HR
    Password: HR
    Oracle Tab Settings:
    Role: default
    Connection type: basic
    OS Authentication: unchecked
    Proxy Connection: unchecked
    Hostname: localhost
    Port: 1521
    SID: orcl
    Really appreciate your assistance.
    Thanks,
    Kent

    Kent,
    Does Oracle monitor this? Yup - I am PM for SQL Developer and various team members, like Turloch, also monitor the forum.
    We use thin or thick JDBC drivers to connect to the Oracle Database from SQL Developer, Turloch was trying alternatives. You should be able to connect using the thin JDBC driver, not using tns. (Basic Connection)
    When you try the Basic connection, please can you ensure that the Preference (Tools -> Preferences -> Database- Advanced Parameters) "use OCI/Thick driver" is not selected.
    Instead of localhost, can you insert the IP address of your machine?
    I have one other question - when you installed SQl Developer 1.5, did you install it into a new empty directory?
    Finally, if you have a support contract for the Database, you can contact Metalink and open a SR. There you should be able to track your progress and they can help you get connected.
    Sue
    Oracle SQL Developer
    Product Manager

  • SQL developer cannot see connection info from tnsnames.ora file

    Greetings All,
    I have been using sql developer for a while. Currently on 3.0.04.34.
    I have 16 database connections.
    Everything was working fine until yesterday.
    Today when I tried to connect to a database from the list of connections I am getting following error:
    Invalid connection information specified. Verify url format for specified driver.
    When I pull up the property for this connection -connection type is still TNS, Netwrok Alias is now greyed out and what was in Netwrok Alias has shifted to Connect Identifier.
    When I try to create a new connection I do not see entry from tnsnames.ora file for the databse I am trying to connect to in the Network Alias drop down list.
    I can connect to this database from sqlplus.
    Has anyone seen this behavior? Does any one know the fix for this?
    Thanks.

    Hi,
    Maybe your preference settings got corrupted, or the Tnsnames.ora file got moved to somewhere SQL Developer can't find it.
    Are you using either:
    1. Tools|Preferences|Database|Advanced|Tnsnames Directory, or a
    2. TNS_ADMIN environment variable
    to point to your Tnsnames? Having one of those should enable the Network Alias drop-down list to get populated. Otherwise, if the values moved to Connection Identifier are correct, then you won't be to connect in that mode without also having an Oracle client installed with an 11.1 JDBC thick driver (ocijdbc11.dll).
    If there is no issue with the Tnsnames. ora location, it might be a good idea to use Export Connections to make a backup of your connections. Then you can try deleting the connections from SQL Developer and re-importing them. Even if that doesn't fix the problem, you should be no worse off.
    Regards,
    Gary
    SQL Developer Team

  • View jobs with SQL Developer and export to file with delimiter

    Hi,
    is there a way to view, create and alter my database jobs with SQL developer?
    And is it possible to export tables, views or simple queries to file delimited different from the CSV standard?
    Diego.

    Hi and Welcome to the Forum!!
    To select data from a table or a view you must use the SELECT sql command. Example to get the data from your view you can
    select ZMATNUM,ZMATCUR,ZMATATTR from ZMATERIALAs you have said you are using SQL Developer just execute the above query in your sql developer and it will show the data. Right click the grid and export the data to excel file.

  • SQL Developer and Oracle Database 10g Express Edition, Connection Problem

    I am using SQL Developer version 1.2.1 and am connecting to a 10g database on a windows xp.
    Up until today there have been no problems with the connection. When I tried to connect to the database and have not been able to.
    The error states that "...listener refused the connection with the following error: ORA-12505, TNS; listener does not currently know of SID given in connect descriptor..."
    Also tried to log into the database home page but page doesn't load...

    I'd bet the database is down.
    Try a login through sqlplus ("Run SQL Command Line" in the Oracle Express Edition 'Start' menu).
    Do a CONN / AS SYSDBA
    If you get a message about database or memory area not available, try STARTUP.
    If that doesn't work, you are best off in the General Database forum or the Express Edition forum.
    You'll probably get the most expert response in General Database, but the Express Edition forum can be gentler on newbies (as it is more accepted that questioners are not and do not have access to full-time DBAs).

  • Added jTDS as third party DB connector to Oracle SQL Developer and connecti

    I have followed the directions for adding a third party db connector to SQL Developer however as soon as I do the connection manager form doesn't come up for both adding a new connection and editing an exisitng one. I have posted here as I am having issues finsing information or getting help through Oracle forums.

    Two things:
    1 - Confirm you got the jTDS we recommend from here http://www.oracle.com/technetwork/database/migration/omwb-getstarted-093461.html#conf
    2 - Confirm you added the entry in the preferences and pointed to the actual JAR file, not just the directory

  • 2 Weird Errors In Oracle SQL Dev and Toad

    I upgraded to vista 32 bit.
    Trying to make a connection to ORACLE SQL Developer.
    I get the following error:
    "An error was encountered performing the requested operation:
    Error loading native JDBC driver library
    Vendor code 0"
    So then I decided to use Toad. In toad I get this:
    "ORA-12170:TNS:Connect timeout occurred"
    Can anyone help me get these tools back up and running correctly so I can access some remote databases.
    Thanks so much,
    Jon

    When I try sqlplus (which I dont really use) so I hope I am using it correctly.
    In command prompt I typeIt seems that you did not provide the TNS connect string when connecting via SQL*Plus to your remote database.
    Do this:
    sqlplus [ Press Enter]
    username: your_user@tns_connect_string
    Password: ********What messages do you get?

  • SQL Developer vs TOAD - query performance question

    Somebody made me notice same queries are executing slower in SQL Developer than in TOAD. I'm rather curious about this issue, since I understand Java is "slow" but I can't find any other thread about this point. I don't use TOAD, so I can't compare...
    Can this be related to the amount of data being returned by the query ? What could be the other reasons of SQL Dev running slower with an identical query ?
    Thanks,
    Attila

    It also occurs to me that TOAD always uses the equivalent of the JDBC "thick" driver. SQL Developer can use either the "thin" driver or the "thick" driver, but connections are usually configured with the "thin" driver, since you need an Oracle client to use the "thick" driver.
    The difference is that "thin" drivers are written entirely in Java, but "thick" drivers are written with only a little Java that calls the native executable (hence you need an Oracle client) to do most of the work. Theoretically, a thick driver is faster because the object code doesn't need to be interpreted by the JVM. However, I've heard that the difference in performance is not that large. The only way to know for sure is to configure a connection in SQL Developer to use the thick driver, and see if it is faster (I'd use a stop-watch).
    Someone correct me if I'm wrong, but I think that if you use "TNS" as your connection type, SQL Developer will use the thick driver, while the default, "Basic" connection type uses the thin driver. Otherwise, you're going to have to use the "Advanced" connection type and type in the Custom JDBC URL for the thick driver.

  • Oracle sql developer and access db

    Hi All,
    I have connection to oracle and Access dbs’ on my oracle sql developer.
    When i try to create a database link from oracle db to access db i have to add Host Name.
    Connection details to access looks like this :
    @jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=C:\ list.mdb;DriverID=22;READONLY=false}
    I tried different variants, but it doesn’t work.
    Is this possible to create database link to access db, and if yes, what i have to add for a host name and what is the syntaxes for cross table ?
    Thank you

    Good documentation here... http://www.orafaq.com/node/60
    TimS

Maybe you are looking for

  • JAI CCIT4 compression problem

    I have experienced a problem when trying to write out a tiff image using the group4 compression method (CCIT4), the problem is that it inverts the colors of the ouput file, inverting the image before writing or going through the image and inverting m

  • How to find our PSA Tables Size in my BI System Database ?

    How can we discover the size of PSA Tables  in out BI System. my  PSAPSR3 Table space size is 1 TB and want to identify the PSAP size in 1 TB Rgds PR

  • How to search case insensitive ?

    Is there any way to search case insensitive ? Because we use Remedy application, we can't change query like to use 'UPPER' or 'LOWER' functions. For example, SQL> desc test1 Name Null? Type A VARCHAR2(20) SQL> select * from test1; A TEST test SQL> se

  • Convert runtime error to failure

    I am using the ProcessModelPostStepRuntimeError model callback to handle any errors in my system. Some of the errors that occur are actually caused by a faulty UUT and I would like then to be reported as a failure and not an error. Is there an easy w

  • Help me find my Garageband Insturments Missing in Logic Pro

    I recently moved my Garageband instruments to a different hard drive. Now when I try to open them in Logic Pro, the default instrument loads but when I try to load other patch, I get a message saying "Missing: (whatever instrument I try to load)" . I