SQL Developer 1.5: Mysql unique index problem

I experienced a problem with SQL Developer 1.5: uniqueness of multiple fields indexes seems to be lost. On single field indexes it works properly.
As you can see generated code lacks the "UNIQUE" keyword
MySQL DDL:
CREATE TABLE `my_table` (
`aaa` CHAR(20) COLLATE latin1_swedish_ci NOT NULL DEFAULT '%',
`bbb` CHAR(4) COLLATE latin1_swedish_ci NOT NULL DEFAULT '',
`ccc` CHAR(4) COLLATE latin1_swedish_ci NOT NULL DEFAULT '%',
`ddd` CHAR(4) COLLATE latin1_swedish_ci NOT NULL DEFAULT '%',
`eee` CHAR(4) COLLATE latin1_swedish_ci NOT NULL DEFAULT '%',
`fff` CHAR(30) COLLATE latin1_swedish_ci NOT NULL DEFAULT '',
`ggg` CHAR(30) COLLATE latin1_swedish_ci DEFAULT NULL,
UNIQUE KEY `All` (`aaa`, `bbb`, `ccc`, `ddd`, `eee`, `fff`, `ggg`),
KEY `key_bbb` (`bbb`),
KEY `key_ccc` (`ccc`)
)ENGINE=MyISAM
ROW_FORMAT=FIXED CHARACTER SET 'latin1' COLLATE 'latin1_swedish_ci';
Generated code:
CREATE TABLE my_table \[...\]
CREATE INDEX All_ ON my_table
aaa,
bbb,
ccc,
ddd,
eee,
fff,
ggg
\[...\]

That looks strange. I created the following three tables in mySQL:
CREATE TABLE `my_table_a` (
`aaa` CHAR(20) ,
`bbb` CHAR(4) ,
UNIQUE KEY `All` (`aaa`, `bbb`),
KEY `key_aaa` (`aaa`),
KEY `key_bbb` (`bbb`)
CREATE TABLE `my_table_b` (
`aaa` CHAR(20) ,
`bbb` CHAR(4) ,
UNIQUE KEY `All` (`aaa`, `bbb`),
UNIQUE KEY `key_aaa` (`aaa`),
KEY `key_bbb` (`bbb`)
CREATE TABLE `my_table_c` (
`aaa` CHAR(20) ,
`bbb` CHAR(4) ,
UNIQUE KEY `All` (`aaa`, `bbb`),
KEY `key_aaa` (`aaa`),
UNIQUE KEY `key_bbb` (`bbb`)
The wrong result can already be seen in the captured model.
Result for my_table_a:
All: NON_UNIQUE
key_aaa: NON_UNIQUE
key_bbb: NON_UNIQUE
Result for my_table_b:
All: UNIQUE
key_aaa: UNIQUE
key_bbb: NON_UNIQUE
Result for my_table_c:
All: NON_UNIQUE
key_aaa: NON_UNIQUE
key_bbb: UNIQUE
So there is at least one case where an index with two segments is remaining UNIQUE. But as soon as the index has three segments, the UNIQUE is lost.
I'll check whether this is a known bug, and if not, I'll create a new bug.
Regards,
Wolfgang

Similar Messages

  • SQL Developer Behavior When Gathering Table/Index Statistics

    Hey All,
    Not sure if this has been posted yet. I did a search and did not find any threads on the topic though.
    I noticed with SQL Developer 2.x, when you using the context menu to gather table/index statistics for a given table, you get no modal progress/waiting window like you did in 1.x. It just kind of "does nothing", even though it did actually execute the DBMS_STATS package. If you press cancel and try to navigate around, you get multiple "Connection is Busy" errors. Eventually it will come back and say "Statistics gathered for table <whatever>". In the old versions there was just a modal window with an animated progress bar while it ran the DBMS_STATS package. What happened to that? Or is this something unique to my install? Anyone else ran into this? Is there a fix or somewhere I can report this as an official bug? FWIW I'm running 2.1.1.64, and this did occur in the initial 2.0 release.
    It is very confusing the first time you run into it... I pressed the "apply" button several times thinking it didn't take, but it ended up running the DBMS_STATS for every click I did.
    Thanks!

    Same happens to all the other context menu opened dialogs. Indeed very confusing at first and disturbing.
    The only official site to report bugs is Metalink/MOS, but you might be lucky if someone from the team picks it up here.
    Regards,
    K.

  • Oracle SQL developer 3.2.20.09 connection problem

    hello everyone. I just installed oracle SQL developer on mavericks. active JDK is 1.6.0_65. host name : som3a... now the problem is , whenever i try to make a new connection using the previous info and specifiying the default port 1433 i always get the following error
    Status : Failure -Test failed: Cannot connect to Microsoft SQL Server on som3a
    - can these fields ( connection name , username ,password ) take any values or do they need to be something special like ? i mean the host name must be som3a right so do the same constraint apply on these fields ?
    -i tried telnet som3a 1433 , it gets stuck at "trying..."

    I think you have the wrong forum, as this forum is dedicated to the Oracle Database Cloud Service.
    - Rick Greenwald

  • Sql developer nls_lang setting?? US7ASCII problem

    im using korean lang. oracle is 9i, sets US7ASCII charaterset
    using sql developer, korean langs goes like this '-- ÀϺ° ÆǸŰèȹ Àç»ý¼º' or '������������������������������������������������'
    so, how can i solve this problem...
    i wanna use sql developer but, i can't cause its problem.
    please help me...

    First thing to check is the font you are using in SQLDeveloper you can check this in
    Tools -> Preferences -> Code Editor -> FontsPick a unicode font to be sure.
    If you still have problems then you may need to change the encoding of your database to UTF8 or similar, it's usually the case when you need non ASCII characters; in this case better ask your DBA for assistance, as changing encoding is not an easy task.

  • SQL Developer (1.1.0.22.71) problem: SQL Developer crashes on connect

    Just downloaded latest sqldeveloper release (full release - 74MB). I am using windows XP laptop.
    When I tried to use connection using TNS connection type with connect identifier (trying to use OID based name resolution).
    The test button showed success. When I clieck "connect" button, it crashed repeatedly.
    When I use basic connectivity, it works...
    Using OID based name resolution is most important for my organization.
    Any suggestions?
    It didnot work in previous release too..I hoped this release would have fixed it.
    Is it still ON for next 1.1 eval release ?
    - Jayant

    I got it working by
    1. Installing 10.2 runtime client,
    2. copying
    ojdbc14.jar and
    ojdbs14dms.jar
    into sqldeveloper\jdbc\lib directory from 10.2 client jdbc/lib directory.
    With this, now the SQLDeveloper doesnot crash, and I can continue working.
    Hopefully, in next evaluation release, the error gets fixed?
    Is OID based name resolution so rare in oracle installations? I am curious to know about popular method for database name resolution in geogarphically disparse organizations?

  • Import / Export MySQL database in SQL Developer

    Hello,
    I have version 3.1.2.704 of SQL Developer Data Modeler and version 3.2.09 of SQL Developer installed.
    When I´m adding a new connection in SQL Developer, I can choose the MySQL tab an create a connection to a MySQL database.
    The connection test was successful and I can see all tables.
    I use the same JDBC driver for SQL Developer and SQL Developer Data Modeler (mysql-connector-java-5.0.4-bin.jar).
    But there are two problems.
    1. First there is an problem when I want to import from a MySQL database (SQL Developer -> File -> DataModeler -> Import -> DataDictionary).
    After choosing the MySQL connection and pressing the next button an error occurs: CONNECTION_TYPE
    What is the reason?
    2. In SQL Developer Data Modeler I have not the CONNECTION_TYPE problem. But when I want to export DDL, there is no MySQL type selectable, although there is working connection to the MySQL Database. It´s the same in SQL Developer.
    What is the reason?

    Hi,
    Please be aware that a separate forum for SQL Developer Data Modeler is available:
    SQL Developer Data Modeler
    You will likely get a more rapid response if you mark this thread as answered and re-post your question over there.
    Regards,
    Gary

  • Import / Export MySQL database in SQL Developer Data Modeler

    Hello,
    I have version 3.1.2.704 of SQL Developer Data Modeler and version 3.2.09 of SQL Developer installed.
    When I´m adding a new connection in SQL Developer, I can choose the MySQL tab an create a connection to a MySQL database.
    The connection test was successful and I can see all tables.
    I use the same JDBC driver for SQL Developer and SQL Developer Data Modeler (mysql-connector-java-5.0.4-bin.jar).
    But there are two problems.
    1. First there is an problem when I want to import from a MySQL database (SQL Developer -> File -> DataModeler -> Import -> DataDictionary).
    After choosing the MySQL connection and pressing the next button an error occurs: CONNECTION_TYPE
    What is the reason?
    2. In SQL Developer Data Modeler I have not the CONNECTION_TYPE problem. But when I want to export DDL, there is no MySQL type selectable, although there is working connection to the MySQL Database. It´s the same in SQL Developer.
    What is the reason?

    Hi,
    Data Modeler does not explicitly support import from MySQL databases, although you can use a JDBC connection to do this.
    Philip described how to set this up in forum message How to connect mySQL for reverve engineering
    There is no MySQL tab in Data Modeler - you should use "JDBC-ODBC Bridge" - "other third party Driver".
    Set URL like : jdbc:mysql://localhost:3306/database_name
    driver Class: com.mysql.jdbc.DriverAlso Data Modeler does not support generation of DDL for MySQL.
    David

  • Accessing MySQL InnoDB tables via JDBC using Oracle SQL Developer

    I had posted a problem in the Oracle SQL Developer forum with how that application (v1.1) accesses MySQL InnoDB tables and someone replied that the "[data migration] team created the integration with MySQL", so I am posting here in hopes of learning more about the problem.
    Here's a summary:
    When I use Oracle SQL Developer to query MySQL InnoDB tables, I need to issue a "commit" before I do each query to ensure that I am getting current results. Otherwise, it appears to be using a snapshot as-of the last commit. Is this a problem with SQL Developer, or a JDBC configuration, or MySQL problem even?
    The full details are here:
    Re: MySQL InnoDB tables

    Hi,
    I've posted a response to your original thread.
    Regards,
    Dermot.

  • Problem in connecting SQL developer to Oracle database

    Hi,I don't know this is the correct forum for my problem
    I Just installed   Oracle Sql developer 3.2.I encountered a problem while creating a new connection with Oracle database 11g..
    The error message says "Status : Failure -Test failed: The Network Adapter could not establish the connection"..
    The command response as follows
    lsnrctl stop
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 31-OCT-2013 21:52
    :56
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    TNS-01190: The user is not authorized to execute the requested listener command
    lsnrctl start
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 31-OCT-2013 21:55
    :49
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    TNS-01106: Listener using listener name LISTENER has already been started
    lsnrctl status
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 31-OCT-2013 21:57
    :07
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
    ction
    Start Date                31-OCT-2013 20:57:07
    Uptime                    0 days 1 hr. 0 min. 0 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   C:\app\RIYAS\product\11.2.0\dbhome_1\network\admin\lis
    tener.ora
    Listener Log File         c:\app\riyas\diag\tnslsnr\RIYAS-PC\listener\alert\log.
    xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "orcl" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfully
    lsnrctl service
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 31-OCT-2013 21:58
    :28
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0
             LOCAL SERVER
    Service "orcl" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:102 refused:0 state:ready
             LOCAL SERVER
    Service "orclXDB" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
        Handler(s):
          "D000" established:0 refused:0 current:0 max:1022 state:ready
             DISPATCHER <machine: RIYAS-PC, pid: 1828>
             (ADDRESS=(PROTOCOL=tcp)(HOST=RIYAS-PC)(PORT=49911))
    The command completed successfully
    set
    ALLUSERSPROFILE=C:\ProgramData
    APPDATA=C:\Users\RIYAS\AppData\Roaming
    CommonProgramFiles=C:\Program Files\Common Files
    CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
    CommonProgramW6432=C:\Program Files\Common Files
    COMPUTERNAME=RIYAS-PC
    ComSpec=C:\windows\system32\cmd.exe
    FP_NO_HOST_CHECK=NO
    HOMEDRIVE=C:
    HOMEPATH=\Users\RIYAS
    LOCALAPPDATA=C:\Users\RIYAS\AppData\Local
    LOGONSERVER=\\RIYAS-PC
    NUMBER_OF_PROCESSORS=4
    OS=Windows_NT
    Path=C:\app\RIYAS\product\11.2.0\dbhome_1\bin;C:\app\RIYAS\product\11.2.0\dbhome
    _2\bin;C:\Program Files (x86)\PC Connectivity Solution\;C:\Program Files\Common
    Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsof
    t Shared\Windows Live;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\
    Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\wi
    ndows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPo
    werShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;
    C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program File
    s (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\I
    ntel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Open
    CL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Progra
    m Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\P
    rogram Files (x86)\Windows Live\Shared
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
    PROCESSOR_ARCHITECTURE=AMD64
    PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 58 Stepping 9, GenuineIntel
    PROCESSOR_LEVEL=6
    PROCESSOR_REVISION=3a09
    ProgramData=C:\ProgramData
    ProgramFiles=C:\Program Files
    ProgramFiles(x86)=C:\Program Files (x86)
    ProgramW6432=C:\Program Files
    PROMPT=$P$G
    PSModulePath=C:\windows\system32\WindowsPowerShell\v1.0\Modules\
    PUBLIC=C:\Users\Public
    SESSIONNAME=Console
    SystemDrive=C:
    SystemRoot=C:\windows
    TEMP=C:\Users\RIYAS\AppData\Local\Temp
    TMP=C:\Users\RIYAS\AppData\Local\Temp
    USERDOMAIN=RIYAS-PC
    USERNAME=RIYAS
    USERPROFILE=C:\Users\RIYAS
    windir=C:\windows
    windows_tracing_flags=3
    windows_tracing_logfile=C:\BVTBin\Tests\installpackage\csilogfile.log
    Pls help..

    You don't say what you have done to set up a connection.
    This error is usually caused by something like using the wrong host name, or port number.

  • Sql Developer 1.5.5 bug with large sequence start values.

    We have a small table in our sql server 2005 schema (~700) rows. Its primary key is a bigint. We randomly generate ids for this table (don't ask). We have ids for this table which are larger than 2147483647. (java.lang.Integer.MAX_VALUE). I'm using a Windows 10g instance as the repository:
    SQL> select * from v$version
    2 ;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    Capturing this model works fine.
    Converting this model works fine.
    When the converted model is "Generated", Sql Developer stops generating the script before the worksheet window is opened with the generated sql. If run from sqldeveloper/bin, this exception is output to the console:
    java.lang.Exception: java.util.NoSuchElementException
    at oracle.dbtools.migration.workbench.core.ui.AbstractMigrationProgressRunnable.start(AbstractMigrationProgressRunnable.java:141)
    at oracle.dbtools.migration.workbench.core.GenerateInitiator.launch(GenerateInitiator.java:42)
    at oracle.dbtools.raptor.controls.sqldialog.ObjectActionController.handleEvent(ObjectActionController.java:149)
    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:1995)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1225)
    at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1266)
    at java.awt.Component.processMouseEvent(Component.java:6134)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
    at java.awt.Component.processEvent(Component.java:5899)
    at java.awt.Container.processEvent(Container.java:2023)
    at java.awt.Component.dispatchEventImpl(Component.java:4501)
    at java.awt.Container.dispatchEventImpl(Container.java:2081)
    at java.awt.Component.dispatchEvent(Component.java:4331)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4301)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3965)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3895)
    at java.awt.Container.dispatchEventImpl(Container.java:2067)
    at java.awt.Window.dispatchEventImpl(Window.java:2458)
    at java.awt.Component.dispatchEvent(Component.java:4331)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Caused by: java.util.NoSuchElementException
    at oracle.dbtools.metadata.persistence.PersistableObjectIterator.next(PersistableObjectIterator.java:131)
    at oracle.dbtools.migration.generate.GenerateWorker.generateSequences(GenerateWorker.java:862)
    at oracle.dbtools.migration.generate.GenerateWorker.generateIndividualSchema(GenerateWorker.java:456)
    at oracle.dbtools.migration.generate.GenerateWorker.generateSchema(GenerateWorker.java:365)
    at oracle.dbtools.migration.generate.GenerateWorker.runGenerate(GenerateWorker.java:220)
    at oracle.dbtools.migration.workbench.core.ui.GenerateRunner.doWork(GenerateRunner.java:71)
    at oracle.dbtools.migration.workbench.core.ui.AbstractMigrationProgressRunnable.run(AbstractMigrationProgressRunnable.java:161)
    at oracle.dbtools.migration.workbench.core.ui.MigrationProgressBar.run(MigrationProgressBar.java:569)
    at java.lang.Thread.run(Thread.java:619)
    A problem row can be viewed by issuing this query against the repository:
    select * from md_sequences where seq_start > 2147483647;
    We have one row returned. The oracle.dbtools.metadata.persistence.MdSequence class uses a java.lang.Integer value to store the start value for the sequence. The value stored in the repository's MD_SEQUENCE table overflows the Integer type.
    Updating the SEQ_START column in the MD_SEQUENCE table fixed our problem. (Well, I can now generate the schema. I may have other problems with the sequence being off).
    I've written this post to save someone else the day it took me to diagnose this problem with Sql Developer 1.5.5. At the very least Sql Developer should inform the user that it could not generate the script because of the large sequence start value. It basically swallows any error and terminates script generation without any type of feedback.

    Update: I was able to recreate the problem!
    1. Create a new table (I used TEST).
    2. Mark first column af primary key.
    3. Save the table.
    Notice the name of the primary key index created: (TEST_PK in my case)
    4. Edit the table.
    5. Under constraints change the name of the primary key constraint.
    6. Save the table.
    Notice that the index still has its original name.
    7. Edit the table.
    8. Change something.
    9. Attempt to save changes (Fails).
    Conclusion:
    Either SQL Developer should be aware of indexes with different name than a constraint,
    or when SQL Developer changes the name of a constraint with an index, both the constraint and the index should be renamed.

  • Error after update Oracle SQL Developer Migration Tools

    Hi,
    I'm receiving a error after the update of Oracle SQL Developer (v.1.1.3.27.66) to work with mySQL migration tool.
    This error appear when it´s restarting:
    Exception Stack Trace:
    java.lang.IllegalAccessError: tried to access class oracle.ide.net.IdeURLStreamHandler from class oracle.ide.net.URLFileSystem$1
         at oracle.ide.net.URLFileSystem$1.createURLStreamHandler(URLFileSystem.java:87)
         at oracle.ide.boot.URLStreamHandlerFactoryQueue.createURLStreamHandler(URLStreamHandlerFactoryQueue.java:119)
         at java.net.URL.getURLStreamHandler(URL.java:1106)
         at java.net.URL.<init>(URL.java:393)
         at java.net.URL.<init>(URL.java:283)
         at oracle.ide.net.URLFactory.newURL(URLFactory.java:636)
         at oracle.ide.layout.URL2String.toURL(URL2String.java:104)
         at oracle.ideimpl.editor.EditorUtil.getURL(EditorUtil.java:150)
         at oracle.ideimpl.editor.EditorUtil.getNode(EditorUtil.java:122)
         at oracle.ideimpl.editor.EditorUtil.loadContext(EditorUtil.java:91)
         at oracle.ideimpl.editor.TabGroupState.loadStateInfo(TabGroupState.java:950)
         at oracle.ideimpl.editor.TabGroup.loadLayout(TabGroup.java:1751)
         at oracle.ideimpl.editor.TabGroupXMLLayoutPersistence.loadComponent(TabGroupXMLLayoutPersistence.java:31)
         at oracle.ideimpl.controls.dockLayout.DockLayoutInfoLeaf.loadLayout(DockLayoutInfoLeaf.java:123)
         at oracle.ideimpl.controls.dockLayout.AbstractDockLayoutInfoNode.loadLayout(AbstractDockLayoutInfoNode.java:631)
         at oracle.ideimpl.controls.dockLayout.AbstractDockLayoutInfoNode.loadLayout(AbstractDockLayoutInfoNode.java:628)
         at oracle.ideimpl.controls.dockLayout.AbstractDockLayoutInfoNode.loadLayout(AbstractDockLayoutInfoNode.java:614)
         at oracle.ideimpl.controls.dockLayout.DockLayout.loadLayout(DockLayout.java:302)
         at oracle.ideimpl.controls.dockLayout.DockLayoutPanel.loadLayout(DockLayoutPanel.java:128)
         at oracle.ideimpl.editor.Desktop.loadLayout(Desktop.java:356)
         at oracle.ideimpl.editor.EditorManagerImpl.init(EditorManagerImpl.java:1879)
         at oracle.ide.layout.Layouts.activate(Layouts.java:784)
         at oracle.ide.layout.Layouts.activateLayout(Layouts.java:186)
         at oracle.ideimpl.MainWindowImpl$6.runImpl(MainWindowImpl.java:734)
         at oracle.javatools.util.SwingClosure$1Closure.run(SwingClosure.java:50)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    Anyone knows why that is happining?
    Thanks in advance,
    Felipe.
    Message was edited by:
    felipe.b

    Hello,
    I get the same error after updating through Help->Check for Updates. I am at version 1.1.2.25 and the update does not change the version number of Oracle SQL Developer (Help->About), it remains at 1.1.2.25 (although if I look in extensions tab, it says: oracle.sqldeveloper 1.1.3.27.66 Loaded, possible bug in displaying version number?). These are the updates applied:
    Upgraded Extensions
    Oracle Microsoft Access Browser version 1.1.3.27.66
    Oracle SQL Developer - Snippet version 10.1.3.27.66
    Oracle SQL Developer version 1.1.3.27.66
    Oracle SQL Developer - Reports version 10.1.3.27.66
    Oracle SQL Server Browser version 1.1.3.27.66
    Oracle MySQL Browser version 1.1.3.27.66
    Oracle SQL Developer - Worksheet version 10.1.3.27.66
    Oracle SQL Developer - Extras version 1.1.3.27.66
    Oracle SQL Developer - SearchBar version 10.1.3.27.66
    Oracle SQL Developer - Object Viewer version 10.1.3.27.66
    I ran the update several times and was able to reproduce the error under a specific condition. If I am connected to a database at the time of the update I get the error. If I am not conneceted at the time of the update I do not get the error.
    As stated, by Donal, sql developer seems to get over the problem after restarting itself twice.
    Mark

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

  • Where to find help with SQL Developer installation?

    Hi,
    I just want to try out SQL Developer and compare its capabilities to TOAD's. Unfortunately, I am not PC software savvy and now am stuck with a SQL Developer (sqldeveloper-1.2.2998) installation problem. When I clicked on the .exe file, I got a blank SQL Developer screen - there is nothing in the screen except a heading that reads 'Oracle SQL Developer'...
    Does anyone know of a blog or a site that I can get some help with problems like mine?
    Any help is much appreciated!

    Hi,
    SQL Developer forum link:
    "http://forums.oracle.com/forums/forum.jspa?forumID=260"
    There are 2 versions of SQL Developer, with/without JRE.
    Try out the full install version with JRE.
    HTH
    Zack

  • SQL developer freeze behaviour

    I thought SQL Developer can run multiple SQLs at the same time, or at least enable one to browse a database whilst a piece of SQL is running.
    However, I always have problems doing more than one thing at a time.
    For example, I had a piece of PL/SQL running today and then tried to start a new connection.
    All I got was an hourglass.
    I am using Version 1.5.3 Build MAIN-5783 on Windows XP SP2.
    Is it SQL Developer or Java that is causing problems like this ?
    I am not using the latest version of Java, as that is incompatible with some other products I use.
    I am however using Java Version 1.5.0 (build 1.5.0_12-b04).
    Thanks.

    SQL Developer by default only opens a single DB connection for all of the worksheets for a SQL Developer connection and a single DB connection can only do one thing at once. However, as Sue said, you can open a new worksheet and DB connection for an already connected SQL Developer connection with the Ctrl+Shift+N keystroke (called an unshared worksheet) - this will give you a second DB connection for running something else at the same time.
    I don't use this much, but I have sometimes had SQL Developer it couldn't open the unshared worksheet as the connection was busy, so it can help if you know something is going to take a long time before you run it, to create the unshared worksheet first and run the long running statement/script in it.
    theFurryOne

  • HOW TO : Writing simple scripts in SQL Developer??

    Here is a simple script I run in SQL*Plus...
    the first SQL prints the QCSID, the second script prompts for a SID which is the QCSID from the first SQL... once provided it gives me the output I want...
    I just cannot do this in SQL DEVELOPER..... or Can I?
    select distinct qcsid from v$px_session;
    select sid,serial#,qcsid,qcserial#,degree,req_degree from v$px_session
    where qcsid in (select qcsid from v$px_session where sid='&sid');

    Ganesh,
    Simple substitution and defines work in SQL Developer scripts.
    I think the problem with running your script is that the first query results are not displayed before the window asking for the '&sid' value. That is the output to the 'screen output' tab is buffered and not synchronized with additional pop up (or dialog) windows. Is that correct?
    Currently:
    You can use substitution variables in the f5 'Run Script' but no bind variables.
    You can use bind variables in the f9 'Execute Statement' but no substitution statements.
    You can use anonymous PLSQL blocks, and packaged functions and procedures, so you can store per session state in PLSQL packages.
    -Turloch

Maybe you are looking for

  • Damaged Stock

    Hi Friends, In our business process, we procure material from different vendors. Whenever goods get damaged due to transportation or any other reason, we raise Return PO for it. Now instead of Return PO, we want to create Sales order (here we will tr

  • Cancel printing of The Daily Manager

    How do you discontinue printing the Daily Manager

  • Auto compute in report table column

    Hi Gurus, I have a query based report region with fields editable as follows: (in multiple rows) - Amount - Price - Units I would like to compute the "units" if amount and price are entered. Similarly if units are adjusted then price should get adjus

  • Powershell Test-connection Cmdlet

    Hi all, i want to test the connectivity between two specfic NIC ports. i executed the command : Test-Connection -ComputerName "10.15.0.1" -Source "10.15.250.53" -Quiet. but it has banged an error message: parameters set cannot be resolved using the s

  • How to change properties of layout.

    Hi All, In ICWC agent inbox , when we perform a search , the result gets displayed in the form of page view.i.e. 20 mails gets displayed per page and the users have to scroll down thru pages.But the requirement is that the result should be in a singl