SQL Developer 3 EA2 - Problem with formating plsql source code

I'm using sql developer 3 ea2. I have played with source code formating.
I have 2 issues with formating in source code editor.
I have a plsql string like the following extending over several lines.
s VARCHAR2(2000) := 'SELECT
col1, col2, col3
FROM table
WHERE col4 = :var';The result after apply "format" to my sourcecode ist:
s VARCHAR2(2000) := 'SELECT
col1, col2, col3
FROM table
WHERE col4 = :var';The second is that sql developer ist camelizing the previous line if I type a whitespace in plsql sourcecode.
How to switch that off??
The last issue is realy annoying!
Christian

I am having exactly the same problem. Every time you use Format Ctrl/F7 it adds new line feeds. Code starts off as:
command := '
select account_status, default_tablespace, temporary_tablespace,
to_char(created,"YYYY-MON-DD HH24:MI:SS"), profile
from Dba_Users@@
where username=:1' ;
First Format Ctrl/F7 get an extra blank line:
command := '
select account_status, default_tablespace, temporary_tablespace,
to_char(created,"YYYY-MON-DD HH24:MI:SS"), profile
from Dba_Users@@
where username=:1' ;
Then second Format Ctrl/F7, get THREE extra lines!!! It goes exponential!!
command := '
select account_status, default_tablespace, temporary_tablespace,
to_char(created,"YYYY-MON-DD HH24:MI:SS"), profile
from Dba_Users@@
where username=:1' ;
So far I've only really encountered the problem with dynamic SQL, which ignores the extra line feeds.
i am pretty sure this is a long standing SqlDeveloper Format problem, going back to V2.

Similar Messages

  • Copying SQL Script from Oracle SQL Developer into Excel with formatting

    I need to copy a SQL Script into Excel in order to develop some VBA code. Is there any nice way that I can copy SQL Script from Oracle SQL Developer into Excel and retain its formatting? I am a stickler for having legible, readable SQL and like to have all my columns lined up and aliases lined up. When we used to use SQL Navigator, the tab formatting seemed to copy and paste just fine. Now that we have migrated to Oracle SQL Developer, the formatting seems to get all messed up.
    And suggestions are greatly appreciated and Thanks in advance for your review and am hopeful for an answer.
    Thanks.
    PSULionRP

    I suppose you want a real tabulator instead of spaces. You can configure this in the preferences (SQL Formatter - Oracle). You have to apply it then to your existing code (e.g. CTRL-F7), but new code should get it right from the start.
    Hope that helps,
    K.

  • Sql Developer compatible problem with Vista aero

    My computer is Vista Ultimate x64 en-US. I have downloaded Sql Developer from here
    http://www.oracle.com/technology/software/products/sql/index.html
    When I run it, the aero glass effect turn off automatically, When I close the sql developer, the aero turn on again.
    Why does this happen? Does Oracle offer vista compatible version of sql developer?
    Thank you for any information.

    Thank you for the response.
    But my laptop support Vista and later version of Windows only. That mean xp/2003 cannot be installed. I am a WPF supporter who need aero glass effect. So Vista or Win 7 with all effect turn on is necessary for me.
    My current solution is to change style to classic when I use sql developer, and change it back when I support WPF customer.
    Thank you for your answer and your time to response.
    Sincerely,
    Kira Qian
    Edited by: Kira Qian - MSFT on Jun 20, 2009 8:52 PM

  • Application Express 3.1 + BI-Publisher + problem with formating numbers

    Hello together!
    I use the Oracle BI Publisher Template Builder for Word (10.1.3.4) to generate RTF-Templates. I upload these templates in Oracle Apex (Advanced support-->BI-Publisher/OC4J as print service).
    It works well, but I have a problem with formating numbers.
    In Template Builder I define following number formats, for example: #.##0 for numbers like 1.454.234 and #.##0,00 for numbers like 54,80
    In Template-Builder Preview it looks well.
    But whatever I do, in use with Oracle Apex dots and comma are allready interchances in the printout.
    That means,
    1.454.234 become 1,454,234 in PDF-Report
    54,80 become 54.80 in PDF-Report
    Other than that, the layout is exactly the same like in Template Builder defined.
    What's wrong?
    Do I have to change any country parameter?
    Juliane

    I also had the same problem. I tried with normal formating of 99g99g999d99 instead of ##,##,##0.00 and it has resulted correct way.

  • SQL developer not installed with the client software

    Hi All,
    OS: Windows
    Clinet: 11g 64 bit
    I have installed oracle client for windows 64 bit, as we know with client installation the sql developer also comes with. But in my case, I am able to find every other component but sql developer.
    I am thninking of downloading the same from Oracle site, is there a alternate way for the same?
    Regards,
    Sphinx

    What, exactly, did you install?
    Did you install the Instant Client?  Or did you do a full client install?  If you did a full client install, which option did you pick during the installation process-- Administrator, Runtime, or Custom?  If you did a full client install that didn't include SQL Developer, you can always restart the Oracle Universal Installer, do a custom install, and choose to install just SQL Developer.
    That being said, my bias would generally be to download the most recent version of SQL Developer from OTN separately.  SQL Developer gets released much more frequently than the Oracle client so the version on OTN is generally multiple revisions more recent than the version that was shipped with the client.  If you're going to be developing code, you may as well leverage all the new features of SQL Developer rather than settling for whatever version was current when 11.2 was released.
    Justin

  • How to solve Oracle SQL Developer connection problem ?

    Folks,
    Hello. I am using Oracle Database 11gR1. The Database Control Console https://localhost.localdomain:1158/em works correctly. I can create a Database and a table successfully.
    My OS is Linux and connects to internet successfully.
    In order to run SQL statements. we need to use Oracle SQL Developer. I connect Oracle SQL Developer in the following way:
    Connection Name: DB1 (this is my database name as well)
    Username: SYS (this is the user name I used to login to the Console)
    Password: SYS (this the password used to login to the Console)
    Connection Type: Basic
    Host Name: localhost
    Port: 1158
    SID: DB1 (this is created during installing the Database)
    But the error message comes up: "Status: Failure - IO exception Connection Reset."
    Can any folk tell me how to solve Oracle SQL Developer connection problem ?

    user8860348 wrote:
    Folks,
    Hello. I am using Oracle Database 11gR1. The Database Control Console https://localhost.localdomain:1158/em works correctly. I can create a Database and a table successfully.
    My OS is Linux and connects to internet successfully.
    In order to run SQL statements. we need to use Oracle SQL Developer. I connect Oracle SQL Developer in the following way:
    Connection Name: DB1 (this is my database name as well)
    Username: SYS (this is the user name I used to login to the Console)
    Password: SYS (this the password used to login to the Console)
    Connection Type: Basic
    Host Name: localhost
    Port: 1158
    SID: DB1 (this is created during installing the Database)
    But the error message comes up: "Status: Failure - IO exception Connection Reset."
    Can any folk tell me how to solve Oracle SQL Developer connection problem ?username: sys
    password: enter_your_correct_password given at the time of oracle installation
    role: select sysdba if you would connect as sysdba else select normal for users other than sys
    hostname: enter your oracle server hostname or ip address eg:- 192.168.11.12
    to find the hostname open terminal/command prompt in oracle installed machine
    type ---> hostname
    type ---->ping hostname
    you can find the ipaddress of the server
    port number: 1521 (default) ----> i guess , else check the port number in the tnsnames.ora file under your ORACLE_HOME/network/admin folder
    SID: DB1
    try it
    Good Luck

  • TS1702 I have developed a problem with some of th apps that connect and the throws you out of the games losing. Life or they won't connect at all can anyone offer a suggestion to solve problem

    I have developed a problem with some of my games apps - it closes the app and therefore less life's - it is not all games yangy suggestions

    What???

  • Unable to update itunes. help. error message when trying to update to latest version of itunes. "the installer has encountered an unexpected error installing this package. this may indicate a problem with this package. error code 2721"

    unable to update itunes. help. error message when trying to update to latest version of itunes. "the installer has encountered an unexpected error installing this package. this may indicate a problem with this package. error code 2721"

    Hello chae84swangin,
    I recommend following the steps in the article below when getting an error message trying to install iTunes:
    Trouble installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/HT1926
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • I am trying to get the free trial to cc but it said there seems to be a problem with the files (Error code: 205)

    I am trying to get the free trial to cc but it said there seems to be a problem with the files (Error code: 205) please help

    BOILERPLATE TEXT:
    Note that this is boilerplate text.
    If you give complete and detailed information about your setup and the issue at hand,
    such as your platform (Mac or Win),
    exact versions of your OS, of Photoshop (not just "CS6", but something like CS6v.13.0.6) and of Bridge,
    your settings in Photoshop > Preference > Performance
    the type of file you were working on,
    machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
    what troubleshooting steps you have taken so far,
    what error message(s) you receive,
    if having issues opening raw files also the exact camera make and model that generated them,
    if you're having printing issues, indicate the exact make and model of your printer, paper size, image dimensions in pixels (so many pixels wide by so many pixels high). if going through a RIP, specify that too.
    etc.,
    someone may be able to help you (not necessarily this poster, who is not a Windows user).
    a screen shot of your settings or of the image could be very helpful too.
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • Issue with viewing packages in SQL Developer EA2

    I posted a message when EA1 came out asking why I couldn't see the package's body in EA1.
    Now I couldn't see the any thing under '$schema/packages' in EA2.
    Does anybody know why?
    My OS: Windows XP Pro SP2
    Oracle: 9i
    SQL Developer version: EA2

    In version 9 a very simple sql is supposed to be executed:
    SELECT OBJECT_NAME, OBJECT_ID,
    DECODE(STATUS, 'INVALID', 'TRUE', 'FALSE') INVALID,
    'TRUE' runnable
    FROM SYS.ALL_OBJECTS a
    WHERE OWNER = :SCHEMA
    AND OBJECT_TYPE = 'PACKAGE'
    AND SUBOBJECT_NAME IS NULL
    -- for packages
    SELECT OBJECT_NAME, OBJECT_ID,
         DECODE(STATUS, 'INVALID', 'TRUE', 'FALSE') INVALID,
    'TRUE' runnable
    FROM SYS.ALL_OBJECTS o
    WHERE OWNER =:SCHEMA
    AND OBJECT_NAME = :PARENT_NAME
    AND OBJECT_TYPE = 'PACKAGE BODY'
    -- for package bodies
    If either of these doesn't return anything in worksheet, then the problem is right there. However, this part hasn't been changed since EA1 (The only change was adding SYS.DBA_PLSQL_OBJECT_SETTINGS requirement for version >=10). I can't reproduce the problem: in 9i scott sees any procedure/package I create.

  • SQL Developer compilation problems

    Hi, I'm having problems with SQL Developer.
    Basically, I can only carry out 3 compilations (3 of the same object, or one each of different objects) before SQL Developer gives me an out-of memory error:
    Source:oracle.javatools.db.AbstractSchemaObject
    Error : java.lang.OutOfMemoryError: Java heap spacebuilding KRM_UPDATE_ARCHIVE_DES
    I then can't do anything except log out and back in - very annoying!
    Setup detailed below, any help gratefully received!
    I also periodically get the following when trying to edit a stroed plsql object:
    java.io.IOException: exception loading FUNCTION PORTALS.GET_STRATUS_COMPANY_ID@Dev Portals
         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.ide.model.TextNode.acquireTextBuffer(TextNode.java:744)
         at oracle.ide.ceditor.CodeEditor.initializeEditor(CodeEditor.java:1912)
         at oracle.ide.ceditor.CodeEditor.setContext(CodeEditor.java:1337)
         at oracle.ideimpl.editor.EditorState.createEditor(EditorState.java:147)
         at oracle.ideimpl.editor.EditorState.getOrCreateEditor(EditorState.java:94)
         at oracle.ideimpl.editor.SplitPaneState.canSetEditorStatePos(SplitPaneState.java:231)
         at oracle.ideimpl.editor.SplitPaneState.setCurrentEditorStatePos(SplitPaneState.java:194)
         at oracle.ideimpl.editor.TabGroupState.createSplitPaneState(TabGroupState.java:103)
         at oracle.ideimpl.editor.TabGroup.addTabGroupState(TabGroup.java:355)
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1399)
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1333)
         at oracle.ideimpl.editor.EditorManagerImpl.openEditor(EditorManagerImpl.java:1259)
         at oracle.dbtools.raptor.navigator.DatabaseNavigatorController.editObject(DatabaseNavigatorController.java:383)
         at oracle.dbtools.raptor.navigator.DatabaseNavigatorController.handleEvent(DatabaseNavigatorController.java:253)
         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:1220)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1261)
         at java.awt.Component.processMouseEvent(Component.java:6041)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
         at java.awt.Component.processEvent(Component.java:5806)
         at java.awt.Container.processEvent(Container.java:2058)
         at java.awt.Component.dispatchEventImpl(Component.java:4413)
         at java.awt.Container.dispatchEventImpl(Container.java:2116)
         at java.awt.Component.dispatchEvent(Component.java:4243)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
         at java.awt.Container.dispatchEventImpl(Container.java:2102)
         at java.awt.Window.dispatchEventImpl(Window.java:2440)
         at java.awt.Component.dispatchEvent(Component.java:4243)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
         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)
    Caused by: java.lang.OutOfMemoryError: Java heap space
         at oracle.jdbc.driver.OracleStatement.prepareAccessors(OracleStatement.java:870)
         at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1047)
         at oracle.jdbc.driver.T4CCallableStatement.executeMaybeDescribe(T4CCallableStatement.java:849)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1134)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3339)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3384)
         at oracle.dbtools.db.DBUtil.executeOracleQuery(DBUtil.java:512)
         at oracle.dbtools.db.DBUtil.executeQuery(DBUtil.java:540)
         at oracle.dbtools.db.DBUtil.executeQuery(DBUtil.java:486)
         at oracle.dbtools.raptor.navigator.net.DBURLStreamHandlerFactory.fetchSource(DBURLStreamHandlerFactory.java:263)
         at oracle.dbtools.raptor.navigator.net.DBURLFileSystemHelper.createReader(DBURLFileSystemHelper.java:140)
         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)
         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.ide.model.TextNode.acquireTextBuffer(TextNode.java:744)
         at oracle.ide.ceditor.CodeEditor.initializeEditor(CodeEditor.java:1912)
         at oracle.ide.ceditor.CodeEditor.setContext(CodeEditor.java:1337)
         at oracle.ideimpl.editor.EditorState.createEditor(EditorState.java:147)
         at oracle.ideimpl.editor.EditorState.getOrCreateEditor(EditorState.java:94)
         at oracle.ideimpl.editor.SplitPaneState.canSetEditorStatePos(SplitPaneState.java:231)
         at oracle.ideimpl.editor.SplitPaneState.setCurrentEditorStatePos(SplitPaneState.java:194)
         at oracle.ideimpl.editor.TabGroupState.createSplitPaneState(TabGroupState.java:103)
         at oracle.ideimpl.editor.TabGroup.addTabGroupState(TabGroup.java:355)
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1399)
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1333)
         at oracle.ideimpl.editor.EditorManagerImpl.openEditor(EditorManagerImpl.java:1259)
         at oracle.dbtools.raptor.navigator.DatabaseNavigatorController.editObject(DatabaseNavigatorController.java:383)
         at oracle.dbtools.raptor.navigator.DatabaseNavigatorController.handleEvent(DatabaseNavigatorController.java:253)
    About
    Oracle SQL Developer 1.5.3
    Version 1.5.3
    Build MAIN-5783
    Copyright © 2005,2008 Oracle. All Rights Reserved.
    IDE Version: 11.1.1.0.22.49.44
    Product ID: oracle.sqldeveloper
    Product Version: 11.1.1.57.83
    Version
    Component     Version
    =========     =======
    CVS Version     Internal to Oracle SQL Developer (client-only)
    Java(TM) Platform     1.6.0_04
    Oracle IDE     1.5.3.57.83
    Versioning Support     1.5.3.57.83
    Edited by: user624059 on 27-Feb-2009 06:31

    Hi Jim - thanks for your help.
    I'm using update 10. The output from the console is below - The issue was the preferences I imported were set to Windows look and feel, so I've resolved that, but the new version behaves exactly like the old version. Do you know if the dev team are regulars in here, or if there is an alternate route to report this (the original problem) to them?
    Cheers,
    Stuart
    oracle.javatools.util.ClosureException: java.lang.ClassCastException: oracle.ide
    impl.plaf.WindowsComboBoxUI$MarginBorderTextField cannot be cast to javax.swing.
    JComboBox
    at oracle.javatools.util.SwingClosure.run(SwingClosure.java:83)
    at oracle.ideimpl.MainWindowImpl.postInitialize(MainWindowImpl.java:701)
    at oracle.ide.IdeCore.startupImpl(IdeCore.java:1515)
    at oracle.ide.Ide.startup(Ide.java:662)
    at oracle.ideimpl.DefaultIdeStarter.startIde(DefaultIdeStarter.java:35)
    at oracle.ideimpl.Main.start(Main.java:110)
    at oracle.ideimpl.Main.main(Main.java:72)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.ide.boot.PCLMain.callMain(PCLMain.java:66)
    at oracle.ide.boot.PCLMain.main(PCLMain.java:58)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.classloader.util.MainClass.invoke(MainClass.java:128)
    at oracle.ide.boot.IdeLauncher.bootClassLoadersAndMain(IdeLauncher.java:
    190)
    at oracle.ide.boot.IdeLauncher.launchImpl(IdeLauncher.java:90)
    at oracle.ide.boot.IdeLauncher.launch(IdeLauncher.java:66)
    at oracle.ide.boot.IdeLauncher.main(IdeLauncher.java:55)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.ide.boot.Launcher.invokeMain(Launcher.java:729)
    at oracle.ide.boot.Launcher.launchImpl(Launcher.java:115)
    at oracle.ide.boot.Launcher.launch(Launcher.java:68)
    at oracle.ide.boot.Launcher.main(Launcher.java:57)
    Caused by: java.lang.ClassCastException: oracle.ideimpl.plaf.WindowsComboBoxUI$M
    arginBorderTextField cannot be cast to javax.swing.JComboBox
    at oracle.ideimpl.plaf.WindowsComboBoxUI$PropertyChangeHandler.propertyC
    hange(WindowsComboBoxUI.java:259)
    at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSup
    port.java:339)
    at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSup
    port.java:276)
    at java.awt.Component.firePropertyChange(Component.java:7961)
    at javax.swing.JComponent.addNotify(JComponent.java:4684)
    at java.awt.Container.addNotify(Container.java:2560)
    at javax.swing.JComponent.addNotify(JComponent.java:4683)
    at java.awt.Container.addNotify(Container.java:2560)
    at javax.swing.JComponent.addNotify(JComponent.java:4683)
    at java.awt.Container.addNotify(Container.java:2560)
    at javax.swing.JComponent.addNotify(JComponent.java:4683)
    at java.awt.Container.addNotify(Container.java:2560)
    at javax.swing.JComponent.addNotify(JComponent.java:4683)
    at oracle.ideimpl.docking.TitledPanel.addNotify(TitledPanel.java:259)
    at java.awt.Container.addNotify(Container.java:2560)
    at javax.swing.JComponent.addNotify(JComponent.java:4683)
    at java.awt.Container.addNotify(Container.java:2560)
    at javax.swing.JComponent.addNotify(JComponent.java:4683)
    at java.awt.Container.addNotify(Container.java:2560)
    at javax.swing.JComponent.addNotify(JComponent.java:4683)
    at java.awt.Container.addNotify(Container.java:2560)
    at javax.swing.JComponent.addNotify(JComponent.java:4683)
    at java.awt.Container.addNotify(Container.java:2560)
    at javax.swing.JComponent.addNotify(JComponent.java:4683)
    at java.awt.Container.addNotify(Container.java:2560)
    at javax.swing.JComponent.addNotify(JComponent.java:4683)
    at java.awt.Container.addNotify(Container.java:2560)
    at javax.swing.JComponent.addNotify(JComponent.java:4683)
    at javax.swing.JRootPane.addNotify(JRootPane.java:735)
    at java.awt.Container.addNotify(Container.java:2560)
    at java.awt.Window.addNotify(Window.java:645)
    at java.awt.Frame.addNotify(Frame.java:470)
    at oracle.ideimpl.MainWindowImpl.addNotify(MainWindowImpl.java:613)
    at java.awt.Window.show(Window.java:841)
    at java.awt.Component.show(Component.java:1447)
    at java.awt.Component.setVisible(Component.java:1400)
    at java.awt.Window.setVisible(Window.java:824)
    at oracle.ideimpl.MainWindowImpl$6.runImpl(MainWindowImpl.java:756)
    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(EventDispatchThre
    ad.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
    java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
    ad.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)

  • SQL Developer usage problem

    Hi All
    I have installed sql developer V 4.1 to my computer and all the necessary java apllications have been installed. When i opened the program menu screens can only be shown when i get my cursor over it as shown in the below. İ have format my OS system because i think this can be because of my region and registy settings. So at the final  i have a fresh Windows 8.1 Eng X64 Ent edition. and up to dated java version but same problem.
    Please give an opinion to me
    Thanks.

    Hi Jeff,
    I would like add some input:
    I have similar issue, but in different case.
    SQL Developer installed on real Win7 machine (no virtual)  and uses the appropriate jdk (latest in each case: 7 for v4.1 EA1 and 8 for v4.1.EA2).
    It works fine and correct on the desktop, but when I try to continue my task over Remote Desktop its behavior is like as the described one.
    And I have feeling that happens during switches from v3.x to v4.x (sorry don't remember exactly).
    Hope it helps in your investigation.
    Best Regards

  • Problem with Creation of Source module for MS Access

    I am having a problem in creating a source module connected with an "MS Access" file in OWB 9i using the heterogeneous services. I have created a DSN to an access file (.mdb) and created the HS in Oracle (modified the tsnames.ora and listener.ora files with required details). Created a Database link using this service and it's working fine in SQL PLUS, but I am unable to create a Source module in OWB 9i using this db link, since OWB 9i need a schema name for db link. In MS access it's not possible to have a schema.
    Please help me in solving the above issue.
    Thanks in advance
    Jagan

    What version of OWB and Oracle database are you using? If it is an OWB version 9.0.4 or higher, I presume you are trying to create a non Oracle source module under the Oracle Database node - is this the case? If yes, you should not do that, but create your MS Access module under Databases->Other->Other node (as I understand you are not using ODBC). Let me know if my assumptions are correct.
    Regards:
    Igor

  • SQL Developer Installation Problems

    Hi,
    We are trying to find a workable alternative to TOAD and have tried to install SQL Developer with not much success.... I think I am just about to give up but hope this last attempt to post for help can create a miracle.
    I would appreciate very much if any one knows of a comprehensive document out there that can help trouble shoot the installation problems.
    Let me give you the hardware and software versions first and then the problems.
    1) SQL Developer tried: sqldeveloper-1.2.1.3213-no-jre and sqldeveloper-1.2.1.3213
    2) JRE tried: JRE 1.5 and JRE 6 (C:\Program Files\Java\jre1.6.0_03)
    3) Window: XP Professional version 2002 Service pack 2
    4) Hardware: Intel Pentium 4 CPU 2.80 GHz, 1.98 GB of RAM
    Problems:
    1) SQL Developer could not find native JDBC. I don't understand why, despite all the variables set in Oracleclient10g_basic in the registry, SQL Developer did not seem to be able to find a 10g client on a network drive. I have to install 10g client directly onto my pc (C:\oracle\product\10.2.0\client_1) to solve this problem.
    2) SQL Developer abruptly disappeared after database login.
    I was able to connect and log into an Oralce 10g database with TNS Connect Identifier approach. There were objects (tables, views, etc) showed up briefly on the left hand side of the SQL Developer and then it just completely disappeared without even an error message or a tearful good-bye.
    The only thing I can find is this error log about EXCEPTION_ACCESS_VIOLATION. After hours searching through OTN for possible mentioning of this error with SQL Developer, I found nothing so far.
    Why is it so difficult to install SQL Developer? Are there a set of un-spoken pre-requisites that has to be satisfied before it can be installed properly? If so, what are they? Path system variable? Registry? Anything else?
    Here's the complete EXCEPTION_ACCESS_VIOLATION error log:
    # An unexpected error has been detected by Java Runtime Environment:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x2ca5683c, pid=952, tid=2576
    # Java VM: Java HotSpot(TM) Client VM (1.6.0_03-b05 mixed mode, sharing)
    # Problematic frame:
    # C [OraOCIEI10.dll+0x4f683c]
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    --------------- T H R E A D ---------------
    Current thread (0x04330400): JavaThread "Init Insight" [_thread_in_native, id=2576]
    siginfo: ExceptionCode=0xc0000005, reading address 0x00000000
    Registers:
    EAX=0x31a28e40, EBX=0x00000000, ECX=0x03231622, EDX=0x00000000
    ESP=0x04b0f168, EBP=0x04b0f1a8, ESI=0x00000001, EDI=0x0413ded4
    EIP=0x2ca5683c, EFLAGS=0x00010297
    Top of Stack: (sp=0x04b0f168)
    0x04b0f168: 00000001 00a3fb8e 0000000a 00000001
    0x04b0f178: 0413c78c 00000001 02c52aa8 0000000a
    0x04b0f188: 00000020 00a4047e 090ea038 0413def4
    0x04b0f198: 03231622 6d8a87b3 032325c1 0413c78c
    0x04b0f1a8: 04b0f1d8 2ca57072 0413ded4 032325c1
    0x04b0f1b8: 00000001 00000000 03231620 03231622
    0x04b0f1c8: 00000000 00000000 00000000 00000000
    0x04b0f1d8: 04b0f234 2ca56e06 0413c78c 0413ded4
    Instructions: (pc=0x2ca5683c)
    0x2ca5682c: 5c 00 a1 80 58 b3 31 88 9f c4 00 00 00 8b 14 98
    0x2ca5683c: 8b 0a 81 e1 00 80 00 00 89 4d dc 0f 85 90 03 00
    Stack: [0x04ac0000,0x04b10000), sp=0x04b0f168, free space=316k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C [OraOCIEI10.dll+0x4f683c]
    C [OraOCIEI10.dll+0x4f7072]
    C [OraOCIEI10.dll+0x4f6e06]
    C [OraOCIEI10.dll+0x419685]
    C [OCI.dll+0x7333]
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j oracle.jdbc.driver.T2CStatement.t2cParseExecuteDescribe(Loracle/jdbc/driver/OracleStatement;JIIIZZZZ[BIBII[SI[B[CII[SII[B[CII[I[S[BIIIIZZ[Loracle/jdbc/driver/Accessor;[[[B[J[BI[CI[SIZ)I+0
    j oracle.jdbc.driver.T2CCallableStatement.executeForDescribe()V+271
    j oracle.jdbc.driver.T2CCallableStatement.executeForRows(Z)V+41
    j oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout()V+275
    j oracle.jdbc.driver.OraclePreparedStatement.executeInternal()I+94
    j oracle.jdbc.driver.OraclePreparedStatement.execute()Z+17
    j oracle.jdbc.driver.OracleCallableStatement.execute()Z+60
    j oracle.dbtools.raptor.insight.CompletionInsight.getInsightableOracleDatabase(Loracle/javatools/db/Database;)Loracle/dbtools/raptor/insight/InsightableDatabase;+70
    j oracle.dbtools.raptor.insight.CompletionInsight.<init>(Loracle/ide/Context;Loracle/javatools/db/Database;)V+161
    j oracle.dbtools.sqlworksheet.sqlview.SqlEditorMainPanel$5.run()V+52
    j java.lang.Thread.run()V+11
    v ~StubRoutines::call_stub
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    =>0x04330400 JavaThread "Init Insight" [_thread_in_native, id=2576]
    0x0416ac00 JavaThread "Timer-4" [_thread_blocked, id=1460]
    0x0412cc00 JavaThread "Timer-3" [_thread_blocked, id=2544]
    0x04323800 JavaThread "WeakDataReference polling" [_thread_blocked, id=3756]
    0x0315cc00 JavaThread "Image Fetcher 3" daemon [_thread_blocked, id=3412]
    0x02c17c00 JavaThread "Image Fetcher 2" daemon [_thread_blocked, id=2124]
    0x04324800 JavaThread "Image Fetcher 1" daemon [_thread_blocked, id=2088]
    0x04321800 JavaThread "Image Fetcher 0" daemon [_thread_blocked, id=276]
    0x02ca2c00 JavaThread "WaitCursorTimer" daemon [_thread_blocked, id=2096]
    0x00296800 JavaThread "DestroyJavaVM" [_thread_blocked, id=3816]
    0x02cb0400 JavaThread "Timer-1" [_thread_blocked, id=2832]
    0x02c32000 JavaThread "IconOverlayTracker Timer" [_thread_blocked, id=1204]
    0x04060800 JavaThread "Log Page Updater" [_thread_blocked, id=2160]
    0x03323800 JavaThread "TimerQueue" daemon [_thread_blocked, id=3996]
    0x032d1800 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=4004]
    0x032ca400 JavaThread "AWT-Windows" daemon [_thread_in_native, id=1488]
    0x032c9800 JavaThread "AWT-Shutdown" [_thread_blocked, id=256]
    0x032c8400 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=1064]
    0x02c0d000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2956]
    0x02c08400 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3236]
    0x02c07400 JavaThread "Attach Listener" daemon [_thread_blocked, id=3248]
    0x02c06800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3232]
    0x02bfe400 JavaThread "Finalizer" daemon [_thread_blocked, id=2328]
    0x02bfd400 JavaThread "Reference Handler" daemon [_thread_blocked, id=1668]
    Other Threads:
    0x02bfc000 VMThread [id=2868]
    0x02c0e800 WatcherThread [id=2940]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation total 1536K, used 500K [0x06960000, 0x06b00000, 0x090c0000)
    eden space 1408K, 26% used [0x06960000, 0x069bd3b0, 0x06ac0000)
    from space 128K, 100% used [0x06ac0000, 0x06ae0000, 0x06ae0000)
    to space 128K, 0% used [0x06ae0000, 0x06ae0000, 0x06b00000)
    tenured generation total 19372K, used 12857K [0x090c0000, 0x0a3ab000, 0x26960000)
    the space 19372K, 66% used [0x090c0000, 0x09d4e400, 0x09d4e400, 0x0a3ab000)
    compacting perm gen total 22272K, used 22205K [0x26960000, 0x27f20000, 0x2a960000)
    the space 22272K, 99% used [0x26960000, 0x27f0f780, 0x27f0f800, 0x27f20000)
    ro space 8192K, 62% used [0x2a960000, 0x2ae614a8, 0x2ae61600, 0x2b160000)
    rw space 12288K, 52% used [0x2b160000, 0x2b7a7278, 0x2b7a7400, 0x2bd60000)
    Dynamic libraries:
    0x00400000 - 0x00423000      C:\WINDOWS\system32\java.exe
    0x7c900000 - 0x7c9b0000      C:\WINDOWS\system32\ntdll.dll
    0x7c800000 - 0x7c8f5000      C:\WINDOWS\system32\kernel32.dll
    0x77dd0000 - 0x77e6b000      C:\WINDOWS\system32\ADVAPI32.dll
    0x77e70000 - 0x77f02000      C:\WINDOWS\system32\RPCRT4.dll
    0x77fe0000 - 0x77ff1000      C:\WINDOWS\system32\Secur32.dll
    0x7c340000 - 0x7c396000      C:\Program Files\Java\jre1.6.0_03\bin\msvcr71.dll
    0x6d7c0000 - 0x6da0a000      C:\Program Files\Java\jre1.6.0_03\bin\client\jvm.dll
    0x7e410000 - 0x7e4a0000      C:\WINDOWS\system32\USER32.dll
    0x77f10000 - 0x77f57000      C:\WINDOWS\system32\GDI32.dll
    0x76b40000 - 0x76b6d000      C:\WINDOWS\system32\WINMM.dll
    0x6d310000 - 0x6d318000      C:\Program Files\Java\jre1.6.0_03\bin\hpi.dll
    0x76bf0000 - 0x76bfb000      C:\WINDOWS\system32\PSAPI.DLL
    0x6d770000 - 0x6d77c000      C:\Program Files\Java\jre1.6.0_03\bin\verify.dll
    0x6d3b0000 - 0x6d3cf000      C:\Program Files\Java\jre1.6.0_03\bin\java.dll
    0x6d7b0000 - 0x6d7bf000      C:\Program Files\Java\jre1.6.0_03\bin\zip.dll
    0x6d000000 - 0x6d1c3000      C:\Program Files\Java\jre1.6.0_03\bin\awt.dll
    0x73000000 - 0x73026000      C:\WINDOWS\system32\WINSPOOL.DRV
    0x77c10000 - 0x77c68000      C:\WINDOWS\system32\msvcrt.dll
    0x76390000 - 0x763ad000      C:\WINDOWS\system32\IMM32.dll
    0x774e0000 - 0x7761d000      C:\WINDOWS\system32\ole32.dll
    0x5ad70000 - 0x5ada8000      C:\WINDOWS\system32\uxtheme.dll
    0x73760000 - 0x737a9000      C:\WINDOWS\system32\ddraw.dll
    0x73bc0000 - 0x73bc6000      C:\WINDOWS\system32\DCIMAN32.dll
    0x6d2b0000 - 0x6d303000      C:\Program Files\Java\jre1.6.0_03\bin\fontmanager.dll
    0x74720000 - 0x7476b000      C:\WINDOWS\system32\MSCTF.dll
    0x7c9c0000 - 0x7d1d7000      C:\WINDOWS\system32\shell32.dll
    0x77f60000 - 0x77fd6000      C:\WINDOWS\system32\SHLWAPI.dll
    0x773d0000 - 0x774d3000      C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll
    0x5d090000 - 0x5d12a000      C:\WINDOWS\system32\comctl32.dll
    0x77b40000 - 0x77b62000      C:\WINDOWS\system32\Apphelp.dll
    0x77c00000 - 0x77c08000      C:\WINDOWS\system32\VERSION.dll
    0x03850000 - 0x0386a000      C:\sqldeveloper-1.2.1.3213-no-jre\sqldeveloper\ide\lib\idenative.dll
    0x77120000 - 0x771ab000      C:\WINDOWS\system32\OLEAUT32.dll
    0x6d570000 - 0x6d583000      C:\Program Files\Java\jre1.6.0_03\bin\net.dll
    0x71ab0000 - 0x71ac7000      C:\WINDOWS\system32\WS2_32.dll
    0x71aa0000 - 0x71aa8000      C:\WINDOWS\system32\WS2HELP.dll
    0x6d590000 - 0x6d599000      C:\Program Files\Java\jre1.6.0_03\bin\nio.dll
    0x605d0000 - 0x605d9000      C:\WINDOWS\system32\mslbui.dll
    0x6d220000 - 0x6d243000      C:\Program Files\Java\jre1.6.0_03\bin\dcpr.dll
    0x71a50000 - 0x71a8f000      C:\WINDOWS\System32\mswsock.dll
    0x76f20000 - 0x76f47000      C:\WINDOWS\system32\DNSAPI.dll
    0x76fb0000 - 0x76fb8000      C:\WINDOWS\System32\winrnr.dll
    0x76f60000 - 0x76f8c000      C:\WINDOWS\system32\WLDAP32.dll
    0x66210000 - 0x66219000      C:\WINDOWS\system32\netware\NWWS2NDS.DLL
    0x50d50000 - 0x50d98000      C:\WINDOWS\system32\NETWIN32.DLL
    0x50d00000 - 0x50d15000      C:\WINDOWS\system32\CLNWIN32.DLL
    0x50df0000 - 0x50e10000      C:\WINDOWS\system32\LOCWIN32.DLL
    0x50db0000 - 0x50ddc000      C:\WINDOWS\system32\NCPWIN32.dll
    0x71ad0000 - 0x71ad9000      C:\WINDOWS\system32\WSOCK32.dll
    0x66220000 - 0x6622c000      C:\WINDOWS\system32\netware\NWWS2SLP.DLL
    0x66250000 - 0x66257000      C:\WINDOWS\system32\NWSRVLOC.dll
    0x76fc0000 - 0x76fc6000      C:\WINDOWS\system32\rasadhlp.dll
    0x662b0000 - 0x66308000      C:\WINDOWS\system32\hnetcfg.dll
    0x71a90000 - 0x71a98000      C:\WINDOWS\System32\wshtcpip.dll
    0x6d560000 - 0x6d569000      C:\Program Files\Java\jre1.6.0_03\bin\management.dll
    0x62f00000 - 0x62f13000      C:\oracle\product\10.2.0\client_1\ocijdbc10.dll
    0x03e50000 - 0x03ea7000      C:\oracle\product\10.2.0\client_1\OCI.dll
    0x2c560000 - 0x31bf6000      C:\oracle\product\10.2.0\client_1\OraOCIEI10.dll
    0x77a80000 - 0x77b14000      C:\WINDOWS\system32\CRYPT32.dll
    0x77b20000 - 0x77b32000      C:\WINDOWS\system32\MSASN1.dll
    VM Arguments:
    jvm_args: -Xmx512M -Xverify:none -XX:JavaPriority10_To_OSPriority=10 -XX:JavaPriority9_To_OSPriority=9 -Doracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG=true -Dsun.java2d.ddoffscreen=false -Dwindows.shell.font.languages= -Dide.conf=sqldeveloper.conf -Dide.home.dir.name=.sqldeveloper
    java_command: oracle.ide.boot.Launcher
    Launcher Type: SUN_STANDARD
    Environment Variables:
    PATH=C:\oracle\product\10.2.0\client_1;X:\oracle10g\product\10.2.0\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Intel\DMIX;C:\WINDOWS\system32\nls;C:\WINDOWS\system32\nls\ENGLISH;C:\Program Files\IDM Computer Solutions\UltraEdit-32
    USERNAME=leexx255
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 15 Model 2 Stepping 9, GenuineIntel
    --------------- S Y S T E M ---------------
    OS: Windows XP Build 2600 Service Pack 2
    CPU:total 1 (1 cores per cpu, 1 threads per core) family 15 model 2 stepping 9, cmov, cx8, fxsr, mmx, sse, sse2
    Memory: 4k page, physical 2079468k(1385300k free), swap 4021668k(3516444k free)
    vm_info: Java HotSpot(TM) Client VM (1.6.0_03-b05) for windows-x86, built on Sep 24 2007 22:24:33 by "java_re" with unknown MS VC++:1310
    Is this a java problem? SQL Developer problem? Or something else?
    Thanks in advance,
    a TOAD lover

    The problem you are seeing (the EXCEPTION_ACCESS_VIOLATION) is a result of a version mismatch between the JDBC driver being used by SQL Developer and the Oracle client that is found on the path.
    This issue only occurs when trying to use the OCI version of the JDBC driver. The simplest fix is to switch to using the basic connection type and thus using the thin (all Java) JDBC driver. As no Oracle client is required in this case, the version mismatch won't be an issue.
    However, the connection approach you are using should work, and if you wish to try to sort out the problems there, we should be able to further diagnose the underlying cause of the version mismatch.
    To do this, I would need to see what SQL Developer thinks are the potential Oracle client installs, as well as which install it ends up picking. Can you copy/paste the output in the Log Window (Logging Page) that is present after SQL Developer starts (but before you attempt to connect to any database)? There should be a whole series of entries like 'Checking for ORACLE_HOME environment variable' and 'Checking JDBC driver at <some path>'
    These log entries are output by SQL Developer as it tries to sort out the various bits of information about Oracle client installs and thus give a peek at the selection logic being used.
    Oh, and also - the value of your PATH variable would be useful as well. It may be that there is an Oracle client install on the PATH that supersedes the install SQL Developer is finding via the registry or ORACLE_HOME variable.
    - John McGinnis
    SQL Developer Team

  • Help how to connecting Oracle SQL Developer 3.0  with Oracle Database 11g

    Hello,
    I'm new in oracle developer yesterday i setup in my laptop database 11g the last version (11.2.0.1.0), well i follow steps still i got succeed to install, and i got my local host URL and i test my user name and password work very well, my problem now is i try to connect database 11g using Oracle SQL Developer 3.0 (3.0.04.34) but always filed and with my little experience i don't know where the wrong. as i said i test database after finish install is work fine the my URL is https://Ahmed-HP:1158/em and i test my username and password that i already set before is enter normal in my local database, please i need help to know how i connect database with Oracle SQL Developer 3.0 (3.0.04.34).
    Thanks,

    885173 wrote:
    EdStevens, thanks for your quick answer, sorry for my explain was doesn't clear, i open oracle sql developer and choose new connection i set connection name system_orcl username:system password:*i set my password that i create when i setup database*
    -Now the link that i got after finish install database is https://Ahmed-HP:1158/em so i have question about this point Hostname and port if the link to access database is this https://Ahmed-HP:1158/em so this mean i typing at Hostname:localhost and port:1158 ?
    because the message when i test connection always is filed and I'm sure i typing username and password and SID:orcl as i set when install database.port 1158 is what the dbcontrol (Oracle Enterprise Manager) is listening on. OEM is NOT the database. As far as the database is concerned, OEM is "just another client".
    Actually, the database doesn't listen for requests on any port. There is another process, the "listener" that listens for requests to connect to the database. Typically, it listens on port 1521. You should have a tnsnames.ora file set up to resolve a connection request to the correct host. You can read more on this at http://edstevensdba.wordpress.com/2011/02/09/sqlnet_overview/

Maybe you are looking for