SQL Developer cannot read collections

Hi,
I have a problem with my SQL Developer that cannot query on objects with collections. I get the same error when trying to query these DB objects.
Error starting at line 1 in command:
select * from customers
Error report:
SQL Error: Fail to construct descriptor: Unable to resolve type "OE.CUST_ADDRESS_TYP"
However when I am using PL/SQL Developer I have no problem to access the objects.
I am using SQL Developer Version 2.1.1.64 with the letest jave SDK on windowns XP.
Please let mw know how to fix it.
Thanks in advance.

I already posted my problem in the SQL Developer forum but I see that this forum is more active and many here probably use the SQL Developer so they might know the solution to my problem.

Similar Messages

  • SQL Developer - cannot query collections

    Hi,
    I have a problem with my SQL Developer that cannot query on objects with collections. I get the same error when trying to query these DB objects.
    Error starting at line 1 in command:
    select * from customers
    Error report:
    SQL Error: Fail to construct descriptor: Unable to resolve type "OE.CUST_ADDRESS_TYP"
    However when I am using PL/SQL Developer I have no problem to access the objects.
    I am using SQL Developer Version 2.1.1.64 with the letest jave SDK on windowns XP.
    Please let mw know how to fix it.
    Thanks in advance.

    I already posted my problem in the SQL Developer forum but I see that this forum is more active and many here probably use the SQL Developer so they might know the solution to my problem.

  • SQL Developer-Cannot Connect

    Hi, I have the same problem as the person who posted the question
    The history is i already have oracle 10g express edition installed on my system but with it I cannot create tables or execute DML or DDL commands so I downloaded SQL developer .
    When it came to the connection I wanted to fill in the Hostname , Port and SID in that order it gave me that same error "The network adapter could not establish connection ", and to fill in those spaces I used the link I saw when opening the Human Resources schema in the express edition(The schema came in the express edition and I used it to learn the SELECT statement). so i tried to use that address and it came in this format :- http://127.0.0.1:8080/apex/f?p=4500:1000:3171371893604961
    And since SQL told me to fill those parameters as Hostname:Port:SID I felt the use of the last 3 digits i.e 4500:1000:3171371893604961 would have worked but that is what is giving me the error.
    I would appreciate the help. Thank you

    This post has been branched off from and refers to
    SQL Developer-Cannot Connect
    @user 867945,
    Please do not resurrect long dead threads.
    It is poor forum etiquette.
    Post your own new inquiry so that anyone that responds is answering YOU.
    Feel free to provide a reference link to any discussion, anywhere, that may be somehow similar.

  • SQL Developer in Read-Only-Mode

    Oracle SQL Developer version 1.2.1 BUILD MAIN-32.13
    Running under WinXP
    Issue description:
    Impossible to start SQL Developer in Read-Only-Mode for certain users who should not be able to modify any data.

    The feature is under consideration in http://htmldb.oracle.com/pls/otn/f?p=42626:39:3043613241465472::NO::P39_ID:4701, but something similar was previously rejected in http://htmldb.oracle.com/pls/otn/f?p=42626:39:3043613241465472::NO::P39_ID:2741 ...
    K.

  • SQL Developer - Cannot see list of tables in my connection

    Hi - when I downloaded and started to use the SQL developer tool, once I connected, I could see all of the tables/columns in my connection on the left side of the tool, and I had my query panel, results panel, and SQL history stacked on the right. Suddenly something has changed, and I cannot see the list of tables, etc. in my connection anymore, so I have to rely on memory and SQL history to remember the table and column names. It has to be "hidden" somehow, but view-connections does not help, and trying to click and drag windows doesn't uncover it either.
    Any suggestions?
    Thanks!

    Probably better to ask in the SQL Developer forum here: SQL Developer
    I've been trying the version 2 beta though and it has quite a few bugs in. Table browsing is working fine for me, but all my functions and procedures have disappeared from the tree view. It does odd things with code formatting too.
    I don't think it will be supplanting trusty old command line SQL Plus for me yet any time soon...

  • SQL Developer cannot execute multiple queries in one connection

    Hi,
    Using : SQL Developer 1.2.29.98, Oracle Database 9i on Windows XP.
    Currently I have TOAD and PL/SQL Developer to handle things related to Oracle Database.
    I found this SQL Developer tools as an interesting tool which might replace PL/SQL Developer (I assume).
    I opened two SQL Worksheets and tried to execute 2 queries (time consuming one) simultanously, suddenly it freezes (the window become grayed). Just like TOAD, we cannot smoothly execute multiple queries on single connection on SQL Developer
    I can monitor the query process using TOAD (Session Browser) and found both queries are running while SQL Developer window become grayed and seems not functioning. After the queries have been finished, I mean both of them, the SQL Developer window become normal and "alive" again showing the expected results.
    Well, however PL/SQL Developer could handle this. Executing multiple queries in single application is just its unbeatable features.
    We can view the query result once its finished instead of until the others being processed, by just only switch the SQL Windows.
    Is it true that SQL Developer doesn't support executing multiple queries?
    Or is it a feature which we should request?
    Or we have to activate this feature by doing some changes on configuration / preferences?
    (Do we need to open two SQL Developer instances? what a memory consuming solution).
    Regards,
    Buntoro

    SQLDeveloper connections are single threaded and also rather single minded (in that you can't do much else while a long query is running.)
    There is an existing feature request http://apex.oracle.com/pls/otn/f?p=42626:39:3685254426061901::NO::P39_ID:4202 for which you can vote.
    The workaround is to have multiple connections. Not brilliant but it works.

  • Sql Developer not reading right tnsnames.ora

    I have both a local 9iv2 and a 10xe (app_express) databases installed. Oracle home is set to ora92 and therefore should be reading the tnsnames.ora file in c:\oracle\ora92\network\admin. However, I recently used SQL Developer to connect to the 10xe database, and now all it reads is the tnsnames.ora file in the oraclexe\....\network\admin directory.
    Any suggestions as to how to get it to use the tnsnames.ora from the ora92 home again??
    The only solution I can think of now is to create one tnsnames.ora file with all the connections I need and copy it to each place where a tnsnames.ora file has been installed (ora92, ver 8 server, oraclexe, designer, forms/reports installs - etc.) Any other suggestions would be appreciated. I don't know why it is not reading from the specified home.
    Thanks
    Glenn

    Hi,
    This should help.
    Re: tns_admin
    -kris

  • Oracle SQL Developer Cannot Cancel Queries Properly

    This was a problem with version 2 and continues to be an issue with version 3. If I chose to cancel a query that is taking a long time to run it gives me the prompt and displays that the query was cancelled. However, the query is not actually cancelled and is still running in the background. The lock on the table still exists. How can I tell? Once a query is cancelled I attempt to exit the program and when I try to disconnect it says that the connection is busy. My only options are to try again or abort. First of all, these are terrible option names. How about changing these to try again or cancel, which is actually what abort does. Second, at this point there is no way to exit the application until the query completes in the background. I can kill the application through the Task Manager which in turn kills the query. This is a major problem and needs to be fixed before this application is useful.

    I also am having this same issue. I am running SQL Developer 2.1.1.64.45 (JDK 1.6.0_11), connecting to Oracle 9.2.0.4.0 via TNSNAMES.
    Seems to be similar to this thread: http://forums.oracle.com/forums/thread.jspa?messageID=9524997&#9524997
    In which it appears to be a genuine bug.. Since I develop large queries in SQL Developer before sending them through a SAS program via PROC SQL, I have no other way to test them. It is frustrating, when testing the large queries, to have to do CTRL-ALT-DEL to delete the SQL Developer task and therefore losing any other query tab changes I have made before running/canceling the task. Grrrr.. :)
    Thoughts? -Kristi

  • 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

  • SQL Developer cannot import connections from a tnsnames.ora

    Just try sql develorper today, I saw it can import connections from a XML file or a .properties file? But has no an option to import from a tnsnames.ora ?
    I think this should be a basic function. Did I miss it?

    You didn't answer the questions:
    Would the connection name simply mirror the tns entry? I'm not sure that'd be correct since I frequently have multiple connections defined to 1 DB ( tns entry ) If you program this "connection collection" to be performed at first startup (asking the user if he wants to), before having added any connection, you have a 1:1 relation; problem solved.
    If you want it enabled even after adding connections, you can add arbitrary suffixes (_1, _2 and so on).
    What username would be defaulted?This is even easier: none.
    That's the least the end-user can add. He can even leave it blank if he really wants to be prompted on connecting.
    K.

  • SQL Developer cannot load a package

    I was able to create the package using the script executed from the sql worksheet. There were no errors during the compile. I can view the package from the sqlplus and the package is valid.
    When I try to right click on the package header/body to "edit", I get "table or view not found" errors. Note: this is a test package with a single dbms_output statement.
    If i click through th errors, it eventually leads to:
    java.io.IOException: exception loading PACKAGE BODY <schema>TEST_PKG Body
         at oracle.ide.model.TextNode.openImpl(TextNode.java:541)
         at oracle.ide.model.Node.open(Node.java:979)
         at oracle.ide.model.Node.open(Node.java:927)
         at oracle.ide.model.Node.ensureOpen(Node.java:2114)
         at oracle.dbtools.raptor.plsql.PLSQLController.handleEvent(PLSQLController.java:169)
         at oracle.ide.controller.IdeAction.performAction(IdeAction.java:524)
         at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:855)
         at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:496)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
         at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
         at java.awt.Component.processMouseEvent(Component.java:5488)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
         at java.awt.Component.processEvent(Component.java:5253)
         at java.awt.Container.processEvent(Container.java:1966)
         at java.awt.Component.dispatchEventImpl(Component.java:3955)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1774)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    Caused by: java.lang.NullPointerException
         at oracle.dbtools.raptor.navigator.net.DBURLStreamHandlerFactory.fetchSource(DBURLStreamHandlerFactory.java:265)
         at oracle.dbtools.raptor.navigator.net.DBURLFileSystemHelper.createReader(DBURLFileSystemHelper.java:139)
         at oracle.ide.net.URLFileSystem.createReader(URLFileSystem.java:1593)
         at oracle.ide.model.TextNode.createReader(TextNode.java:1617)
         at oracle.ide.model.TextNode.loadTextBuffer(TextNode.java:283)
         at oracle.ide.model.TextNode.openImpl(TextNode.java:529)
         ... 34 more

    You didn't answer the questions:
    Would the connection name simply mirror the tns entry? I'm not sure that'd be correct since I frequently have multiple connections defined to 1 DB ( tns entry ) If you program this "connection collection" to be performed at first startup (asking the user if he wants to), before having added any connection, you have a 1:1 relation; problem solved.
    If you want it enabled even after adding connections, you can add arbitrary suffixes (_1, _2 and so on).
    What username would be defaulted?This is even easier: none.
    That's the least the end-user can add. He can even leave it blank if he really wants to be prompted on connecting.
    K.

  • Data Modeler in EA1 4.0 sql developer cannot invoke editor on package body

    It is not possible to invoke the editor in the data modeler browser on package bodies. Package header, Functions, Internal Procedures invoke the editor workes fine.

    Thanks for reporting this problem.  I have logged a bug on it.
    David

  • Hi, i am new to oracle, SQL DEVELOPER:- ERROR:- ORA-01918

    Hi,
    I am new to oracle, and i have installed Oracle database 12c enterprise edition, and oracle jdeveloper 12c for adf web application development,
    I created a database and a new connection in it using sql developer, however while trying to create new user with the name db1 by right clicking on other users. by following the instructions in oracle documentation site. i get the error that new user db1 doesnt exist, and gives error:- ORA-01981. i even tried by changing the username as i thought may be it doesnt support alphanumeric name, but still i get the same error.
    So please tell me how to create a new user. is there any way to get out of this ora:-01918, as i googled and it says this is a bug.
    My os is win 7 x64(amd processor ).
    Thank you
    Baldwin

    A new user (called a schema in Oracle) is created using the CREATE USER SQL command. You need to be signed in as the SYS schema/user or as a schema that has been granted the rights to create schemas.
    12c database comes in two basic flavours. Container database (containing pluggable databases). Standard database. If connected to a container database, you cannot create standard user schemas - you need to be connected to a pluggable database.
    Also, your question has no relevance to either the SQL or PL/SQL languages - the subject matter of this forum. Please repost your question to a more appropriate forum dealing with SQL-Developer issues.

  • SQL Developer, SQL Server and the ampersand

    Hello,
    I am connected to a SQL Server database (2008) and am having difficulty getting a query to run properly in SQL Developer (3.1.07).
    Simplified Example
    select table_field
    from table
    where table_field <> 'This & That';
    Expected results
    table_field
    Other stuff
    Other stuff
    Other stuff
    Actual results
    table_field
    Other stuff
    This & That
    This & That
    I cannot seem to get SQL Developer to recognize the & as a literal ampersand. I've tried escaping it numerous ways, but it always thinks it is a variable.
    The query works exactly as expected in MS SQL Management Studio and Toad. Of course, I can just run it in one of those but I'd like to try to get this to work in SQL Developer. Suggestions?
    Please let me know if I can provide further information. Thanks.

    Hi,
    SQL Developers worksheet is designed for Oracle, but we allow you to run statements against SQL Server and other non Oracle databases.
    This can lead to some quirks, like the one you experienced.
    Oracles SQL*Plus uses ampersand to define substitution variables.
    Oracle SQL Developer has implemented the same concept.
    Unfortunately this does not make sense when running something against a non Oracle database.
    As a workaround, you can run the following SQL*Plus command in SQL Developer, before your SQL Server query.
    SET DEFINE OFF;
    select 'hello & goodbye';
    The following maybe of some help as well.
    http://dermotoneill.blogspot.com/2010/11/workheet-hints.html
    http://dermotoneill.blogspot.com/2010/12/sql-server-and-sybase-browsing.html
    Regards,
    Dermot.
    SQL Developer Team.

  • SQL developer online data move

    Hi,
    I am using SQL developer 2.1 to migrate tables from Sybase 12 database to oracle 11g.
    I have used online data move option for moving sybase data into oracle tables, but even after data move is completed not all rows have been moved from sybase tables to corresponding oracle tables. Some rows are missing but still there is no error messege being displyed, how to find out what's going wrong.
    Is there any log file that is being generated in case of oracle sql developer?
    Please help me with this.

    Hi Mandark,
    This is a weakness of SQL Developers online datamove.
    It doesn't have logging and you cannot tweak the data move itself.
    It very basic SELECT * FROM -> INSERT INTO ... under the covers.
    If some rows are failing to be inserted,but some rows are being inserted, in the same table.
    Then my guess is that the data in some rows doesn't "fit" into the target row/column.
    And the datatype mapping used to convert the tables/columns was not good enough.
    Ex: Sybase column of VARCHAR(10000) mapped to Oracle VARCHAR2(4000).
    Some data which is greater than 4000 chars.
    Which causes the insert to fail for those rows with >4000 chars. But ok for other rows.
    The solution (in this example) is to map Sybase VARCHAR(100000) to Oracle CLOB.
    You can specify the data type mapping in the Convert page of the migration wizard.
    Another workaround is to use Copy To Oracle.
    http://dermotoneill.blogspot.com/2010/11/copy-to-oracle.html
    This is a very simple data move feature again. But it works slightly differently than Online Data Move.
    It has no logging or tweaking either, but may do the job "online" for you.
    You should temporarily turn off any check constraints, triggers, keys on each table you want to move data with using this method.
    If all those fail, then the only sure fire way would be to use Offline Data Move.
    Regards,
    Dermot
    SQL Developer Team.

Maybe you are looking for