[1.1.1.25.14] Completion insights don't pop up in SQL Worksheet
On my system, with win xp pro and jdk 1.5.0_09, completion insights don't work in SQL Worksheet.
I've forced debug mode in sqldeveloper.conf en started up SQL Developer 1.1.1.25.14 via the command prompt, which means stack traces are now dumped to system out.
This is what happens when I type ctrl-space in SQL Worksheet:
13-Feb-2007 15:21:15 oracle.dbtools.raptor.insight.CompletionInsight getDefaultInsightContext
INFO: context = fr
13-Feb-2007 15:21:15 oracle.dbtools.raptor.insight.CompletionInsight getInsightData
INFO: getInsightData: fr
13-Feb-2007 15:21:15 oracle.dbtools.db.DBUtil executeOracleQuery
INFO: Prepared:select object_type,owner,object_name,rank from ( select object_type,owner,object_name,0 rank from all_objects where object_name = :NAME
and UPPER(owner) = nvl(:OWNER,UPPER(sys_context('USERENV', 'CURRENT_SCHEMA'))) and object_type not in ( 'SYNONYM' ) union all select ao.object_typ
,ao.owner,ao.object_name,decode(UPPER(syn.owner), nvl(:OWNER,UPPER(sys_context('USERENV', 'CURRENT_SCHEMA'))),10,20) from all_objects ao,all_synonyms syn
where ao.owner = syn.table_owner and ao.object_name = syn.table_name and syn.synonym_name = :NAME ) where object_type not in ('PACKAGE BODY') order
by rank
13-Feb-2007 15:21:15 oracle.dbtools.db.DBUtil bind
INFO: Bind:NAME:FR
13-Feb-2007 15:21:15 oracle.dbtools.db.DBUtil bind
INFO: Bind:OWNER:null
13-Feb-2007 15:21:15 oracle.dbtools.db.DBUtil executeOracleQuery
INFO: Prepared:select 'SCHEMA' object_type , :OWNER owner , :OWNER object_name from all_users where username = :OWNER
13-Feb-2007 15:21:15 oracle.dbtools.db.DBUtil bind
INFO: Bind:OWNER:FR
13-Feb-2007 15:21:15 oracle.dbtools.raptor.insight.CompletionInsight getInsightData
INFO: Found base Object
13-Feb-2007 15:21:15 oracle.dbtools.raptor.insight.CompletionInsight findAliasedName
INFO: Checking:select * fr
Exception invoking action: completion-insight
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1768)
at oracle.dbtools.raptor.insight.CompletionInsight.getInsightData(CompletionInsight.java:247)
at oracle.javatools.editor.insight.AbstractInsight.showInsight(AbstractInsight.java:777)
at oracle.javatools.editor.insight.AbstractInsight.invokeCompletionTypeAction(AbstractInsight.java:395)
at oracle.javatools.editor.insight.AbstractInsight.invokeAction(AbstractInsight.java:368)
at oracle.javatools.editor.BasicEditorPane.invokeAction(BasicEditorPane.java:1983)
at oracle.ide.ceditor.keymap.IdeKeymapHelper.invokeAction(IdeKeymapHelper.java:185)
at oracle.javatools.editor.keys.MultiKeyHandler.keyPressed(MultiKeyHandler.java:334)
at java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:191)
at java.awt.Component.processKeyEvent(Component.java:5446)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2713)
at java.awt.Component.processEvent(Component.java:5265)
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.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1810)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:672)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:920)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:798)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:636)
at java.awt.Component.dispatchEventImpl(Component.java:3841)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Window.dispatchEventImpl(Window.java:1778)
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)
Hope this helps...
On my system, with win xp pro and jdk 1.5.0_09,
completion insights don't work in SQL Worksheet.
I've forced debug mode in sqldeveloper.conf en
started up SQL Developer 1.1.1.25.14 via the command
prompt, which means stack traces are now dumped to
system out.
This is what happens when I type ctrl-space in SQL
Worksheet:
13-Feb-2007 15:21:15
oracle.dbtools.raptor.insight.CompletionInsight
getDefaultInsightContext
INFO: context = fr
13-Feb-2007 15:21:15
oracle.dbtools.raptor.insight.CompletionInsight
getInsightData
INFO: getInsightData: fr
13-Feb-2007 15:21:15 oracle.dbtools.db.DBUtil
executeOracleQuery
INFO: Prepared:select
object_type,owner,object_name,rank from ( select
object_type,owner,object_name,0 rank from all_objects
where object_name = :NAME
and UPPER(owner) =
nvl(:OWNER,UPPER(sys_context('USERENV',
'CURRENT_SCHEMA'))) and object_type not in (
'SYNONYM' ) union all select ao.object_typ
,ao.owner,ao.object_name,decode(UPPER(syn.owner),
nvl(:OWNER,UPPER(sys_context('USERENV',
'CURRENT_SCHEMA'))),10,20) from all_objects
ao,all_synonyms syn
where ao.owner = syn.table_owner and ao.object_name =
syn.table_name and syn.synonym_name = :NAME ) where
object_type not in ('PACKAGE BODY') order
by rank
13-Feb-2007 15:21:15 oracle.dbtools.db.DBUtil bind
INFO: Bind:NAME:FR
13-Feb-2007 15:21:15 oracle.dbtools.db.DBUtil bind
INFO: Bind:OWNER:null
13-Feb-2007 15:21:15 oracle.dbtools.db.DBUtil
executeOracleQuery
INFO: Prepared:select 'SCHEMA' object_type , :OWNER
owner , :OWNER object_name from all_users where
username = :OWNER
13-Feb-2007 15:21:15 oracle.dbtools.db.DBUtil bind
INFO: Bind:OWNER:FR
13-Feb-2007 15:21:15
oracle.dbtools.raptor.insight.CompletionInsight
getInsightData
INFO: Found base Object
13-Feb-2007 15:21:15
oracle.dbtools.raptor.insight.CompletionInsight
findAliasedName
INFO: Checking:select * fr
Exception invoking action: completion-insight
java.lang.StringIndexOutOfBoundsException: String
index out of range: -1
at java.lang.String.substring(String.java:1768)
at
oracle.dbtools.raptor.insight.CompletionInsight.getIns
ightData(CompletionInsight.java:247)
at
oracle.javatools.editor.insight.AbstractInsight.showIn
sight(AbstractInsight.java:777)
at
oracle.javatools.editor.insight.AbstractInsight.invoke
CompletionTypeAction(AbstractInsight.java:395)
at
oracle.javatools.editor.insight.AbstractInsight.invoke
Action(AbstractInsight.java:368)
at
oracle.javatools.editor.BasicEditorPane.invokeAction(B
asicEditorPane.java:1983)
at
oracle.ide.ceditor.keymap.IdeKeymapHelper.invokeAction
(IdeKeymapHelper.java:185)
at
oracle.javatools.editor.keys.MultiKeyHandler.keyPresse
d(MultiKeyHandler.java:334)
at
java.awt.AWTEventMulticaster.keyPressed(AWTEventMultic
aster.java:191)
at
java.awt.Component.processKeyEvent(Component.java:5446
at
javax.swing.JComponent.processKeyEvent(JComponent.java
:2713)
at
java.awt.Component.processEvent(Component.java:5265)
at
java.awt.Container.processEvent(Container.java:1966)
at
java.awt.Component.dispatchEventImpl(Component.java:39
55)
at
java.awt.Container.dispatchEventImpl(Container.java:20
24)
at
java.awt.Component.dispatchEvent(Component.java:3803)
at
java.awt.KeyboardFocusManager.redispatchEvent(Keyboard
FocusManager.java:1810)
at
java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(
DefaultKeyboardFocusManager.java:672)
at
java.awt.DefaultKeyboardFocusManager.preDispatchKeyEve
nt(DefaultKeyboardFocusManager.java:920)
at
java.awt.DefaultKeyboardFocusManager.typeAheadAssertio
ns(DefaultKeyboardFocusManager.java:798)
at
java.awt.DefaultKeyboardFocusManager.dispatchEvent(Def
aultKeyboardFocusManager.java:636)
at
java.awt.Component.dispatchEventImpl(Component.java:38
41)
at
java.awt.Container.dispatchEventImpl(Container.java:20
24)
at
java.awt.Window.dispatchEventImpl(Window.java:1778)
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(Ev
entDispatchThread.java:163)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchT
hread.java:157)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchT
hread.java:149)
at
java.awt.EventDispatchThread.run(EventDispatchThread.j
ava:110)
Hope this helps...The Oracle instance I'm connecting to:
Oracle9i Enterprise Edition Release 9.2.0.7.0 - 64bit Production
PL/SQL Release 9.2.0.7.0 - Production
CORE 9.2.0.7.0 Production
TNS for Solaris: Version 9.2.0.7.0 - Production
NLSRTL Version 9.2.0.7.0 - Production
Similar Messages
-
Completion Insight not working
A customer is using the same version of SQL Developer on the same workstation platform as myself. My Completion Insight works, his does not.
SQL Developer version 3.1.07 on Windows 7 Professional.
Completion Insight is enabled under Tools->Preferences->Completion Insight. Regardless of this setting the ctl + <space> shortcut works instantly for me, but under no circumstances for the customer.
I made a test account on the DB that mirrors customer's privileges - my Completion Insight using the test account still works, so the problem must be with local to his install.
I verified his SQL Developer files came from the same zip file I used for my own installation.
Any ideas what is preventing his Completion from working?You might consider upgrading your customer to the latest release, v3.2.20.09
In the meantime, I've noticed completion insight NOT working when there's a syntax/parsing issue. For example, what's in the worksheet code wise when they try it?
With an empty worksheet, if they type select * from <ctrl><space>, does nothing come back? -
Group By Completion Insight Bug
1. Open a connection and type the following:
select d.dummy, count(d.dummy) from dual d group by d.dummy;
2. Now modify the select list as follows:
select d.dummy, count(d.dummy), count(d.dummy) sum from dual d group by d.dummy;
3. Completion insight changes the code to:
select d.dummy, count(d.dummy), count(d.dummy) from dual d group by d.dummy, count;
ORA-00904: "COUNT": invalid identifier
Version 2.1.1.64
Java(TM) Platform 1.6.0_15
Oracle IDE 2.1.1.64.45
Versioning Support 2.1.1.64.45
Mac OSX LeopardHi Vadim,
I agree with you about the order of the SQL clauses. They must have been pretty keen on it 'making sense' in English. Meh! ;)
Autocomplete is cool, but as someone who can touch type (albeit at only ~70 wpm!), I usually find waiting for it to kick in a bit tiresome given that I can finish "select * from" in not much more than a second. I don't turn it off because it hardly ever gets a chance to fire.
I do use autocomplete in some other tools; in VB, it gives you a canonical map of the object model you are working with (often there seem to be things missing in SQL Developer). In TextMate, on the other hand, it isn't so 'smart', but its wicked fast, which it does by simply relying on text in the current file. Both work well. I do understand there is a different set of challenges in a DBMS client, though.
Incidentally, when I just tried selecting two tables simultaneously, the tool generated invalid SQL:
select * from V_TN_SPAN_GRPS _, V_TNS_WITH_DEFAULT_CONTRACTS S
(i.e. it supplied an underscore as the alias for the first view.)
Also, Ctrl+Space doesn't work for me (I'm on a Mac). Actually, there appear to be several default keymappings that don't work on a Mac. Here is my version info...
About
Oracle SQL Developer 3.0.02
Version 3.0.02
Build MAIN-02.83
Copyright © 2005,2010 Oracle. All Rights Reserved.
IDE Version: 11.1.1.4.37.58.80
Product ID: oracle.sqldeveloper
Product Version: 11.1.2.02.83
Version
Component Version
========= =======
Java(TM) Platform 1.6.0_20
Oracle IDE 3.0.02.83
Versioning Support 3.0.02.83
Properties
Name Value
==== =====
apple.awt.graphics.UseOpenGL false
apple.awt.graphics.UseQuartz false
apple.laf.useScreenMenuBar true
awt.nativeDoubleBuffering true
awt.toolkit apple.awt.CToolkit
class.load.environment oracle.ide.boot.IdeClassLoadEnvironment
class.load.log.level CONFIG
class.transfer delegate
com.apple.macos.smallTabs true
com.apple.mrj.application.apple.menu.about.name SQL_Developer
com.apple.mrj.application.growbox.intrudes false
file.encoding MacRoman
file.encoding.pkg sun.io
file.separator /
gopherProxySet false
http.agent Mozilla/5.0 (Java 1.6.0_20; Mac OS X 10.5.8 x86_64; en_US) ICEbrowser/v6_1_3
ice.browser.forcegc false
ice.pilots.html4.ignoreNonGenericFonts true
ice.pilots.html4.tileOptThreshold 0
ide.AssertTracingDisabled true
ide.bootstrap.start 1292186226787790000
ide.build MAIN-02.83
ide.conf /Users/henrycollingridge/software/oracle_sql_developer/3.0 EA2/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin/sqldeveloper.conf
ide.config_pathname /Users/henrycollingridge/software/oracle_sql_developer/3.0 EA2/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin/sqldeveloper.conf
ide.debugbuild false
ide.devbuild false
ide.extension.search.path sqldeveloper/extensions:jdev/extensions:ide/extensions
ide.firstrun true
ide.java.minversion 1.6.0_04
ide.main.class oracle.ide.boot.IdeLauncher
ide.patches.dir ide/lib/patches
ide.pref.dir /Users/henrycollingridge/.sqldeveloper
ide.product oracle.sqldeveloper
ide.splash.screen splash.gif
ide.startingcwd "/Users/henrycollingridge/software/oracle_sql_developer/3.0 EA2/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin"
ide.user.dir /Users/henrycollingridge/.sqldeveloper
ide.user.dir.var IDE_USER_DIR
ide.vcs.noapplications true
ide.work.dir /Users/henrycollingridge/sqldeveloper
java.awt.graphicsenv apple.awt.CGraphicsEnvironment
java.awt.printerjob apple.awt.CPrinterJob
java.class.path ../../ide/lib/ide-boot.jar
java.class.version 50.0
java.endorsed.dirs /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib/endorsed
java.ext.dirs /Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib/ext
java.home /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
java.io.tmpdir /var/folders/Z7/Z7MY8LDOGtWDoXjXAewXxk++0Wk/-Tmp-/
java.library.path .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
java.naming.factory.initial oracle.javatools.jndi.LocalInitialContextFactory
java.protocol.handler.pkgs oracle.jdevimpl.handler
java.runtime.name Java(TM) SE Runtime Environment
java.runtime.version 1.6.0_20-b02-279-9M3165
java.specification.name Java Platform API Specification
java.specification.vendor Sun Microsystems Inc.
java.specification.version 1.6
java.util.logging.config.file logging.conf
java.vendor Apple Inc.
java.vendor.url http://www.apple.com/
java.vendor.url.bug http://bugreport.apple.com/
java.version 1.6.0_20
java.vm.info mixed mode
java.vm.name Java HotSpot(TM) 64-Bit Server VM
java.vm.specification.name Java Virtual Machine Specification
java.vm.specification.vendor Sun Microsystems Inc.
java.vm.specification.version 1.0
java.vm.vendor Apple Inc.
java.vm.version 16.3-b01-279
jdbc.library /Users/henrycollingridge/software/oracle_sql_developer/3.0 EA2/SQLDeveloper.app/Contents/Resources/sqldeveloper/jdbc/lib/ojdbc5.jar
line.separator \n
log.file.name ../\log\datamodeler.log
mrj.build 9M3165
mrj.version 1050.1.6.0_20-279
oracle.home /Users/henrycollingridge/software/oracle_sql_developer/3.0 EA2/SQLDeveloper.app/Contents/Resources/sqldeveloper
oracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG true
oracle.jdbc.mapDateToTimestamp false
oracle.translated.locales de,es,fr,it,ja,ko,pt_BR,zh_CN,zh_TW
oracle.xdkjava.compatibility.version 9.0.4
orai18n.library /Users/henrycollingridge/software/oracle_sql_developer/3.0 EA2/SQLDeveloper.app/Contents/Resources/sqldeveloper/jlib/orai18n.jar
os.arch x86_64
os.name Mac OS X
os.version 10.5.8
path.separator :
reserved_filenames con,aux,prn,lpt1,lpt2,lpt3,lpt4,lpt5,lpt6,lpt7,lpt8,lpt9,com1,com2,com3,com4,com5,com6,com7,com8,com9,conin$,conout,conout$
sqldev.debug false
sun.arch.data.model 64
sun.awt.exception.handler apple.awt.CToolkit$EventQueueExceptionHandler
sun.boot.class.path ../../rdbms/jlib/ojdi.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/jsfd.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/Resources/Java/JavaRuntimeSupport.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/sunrsasign.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/charsets.jar
sun.boot.library.path /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Libraries
sun.cpu.endian little
sun.cpu.isalist
sun.io.unicode.encoding UnicodeLittle
sun.java.launcher SUN_STANDARD
sun.java2d.ddoffscreen false
sun.jnu.encoding MacRoman
sun.management.compiler HotSpot 64-Bit Server Compiler
sun.os.patch.level unknown
svnkit.sax.useDefault true
user.country US
user.dir /Users/henrycollingridge/software/oracle_sql_developer/3.0 EA2/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin
user.home /Users/henrycollingridge
user.language en
user.name henrycollingridge
user.timezone Pacific/Auckland
windows.shell.font.languages
Extensions
Name Identifier Version Status
==== ========== ======= ======
Check For Updates oracle.ide.webupdate 11.1.1.4.37.58.80 Loaded
Code Editor oracle.ide.ceditor 11.1.1.4.37.58.80 Loaded
Component Palette oracle.ide.palette1 11.1.1.4.37.58.80 Loaded
Database Connection Support oracle.jdeveloper.db.connection 11.1.1.4.37.58.80 Loaded
Database Object Explorers oracle.ide.db.explorer 11.1.1.4.37.58.80 Loaded
Database UI oracle.ide.db 11.1.1.4.37.58.80 Loaded
Diff/Merge oracle.ide.diffmerge 11.1.1.4.37.58.80 Loaded
Extended IDE Platform oracle.javacore 11.1.1.4.37.58.80 Loaded
External Tools oracle.ide.externaltools 11.1.1.4.37.58.80 Loaded
File Support oracle.ide.files 11.1.1.4.37.58.80 Loaded
Help System oracle.ide.help 11.1.1.4.37.58.80 Loaded
History Support oracle.jdeveloper.history 11.1.1.4.37.58.80 Loaded
Import/Export Support oracle.ide.importexport 11.1.1.4.37.58.80 Loaded
Index Migrator support oracle.ideimpl.indexing-migrator 11.1.1.4.37.58.80 Loaded
JDeveloper Runner oracle.jdeveloper.runner 11.1.1.4.37.58.80 Loaded
Log Window oracle.ide.log 11.1.1.4.37.58.80 Loaded
Mac OS X Adapter oracle.ideimpl.apple 11.1.1.4.37.58.80 Loaded
Navigator oracle.ide.navigator 11.1.1.4.37.58.80 Loaded
Object Gallery oracle.ide.gallery 11.1.1.4.37.58.80 Loaded
Oracle IDE oracle.ide 11.1.1.4.37.58.80 Loaded
Oracle SQL Developer oracle.sqldeveloper 11.1.2.02.83 Loaded
Oracle SQL Developer - 3rd Party Database Browsers oracle.sqldeveloper.thirdparty.browsers 11.1.1.02.83 Loaded
Oracle SQL Developer - DBA Navigator oracle.sqldeveloper.dbanavigator 11.1.1.02.83 Loaded
Oracle SQL Developer - Extras oracle.sqldeveloper.extras 1.1.1.02.83 Loaded
Oracle SQL Developer - File Navigator oracle.sqldeveloper.filenavigator 11.1.1.02.83 Loaded
Oracle SQL Developer - Migrations Antlr3 Translator oracle.sqldeveloper.migration.translation.core_antlr3 11.1.1.02.83 Loaded
Oracle SQL Developer - Migrations Application Migration oracle.sqldeveloper.migration.application 11.1.1.02.83 Loaded
Oracle SQL Developer - Migrations Core oracle.sqldeveloper.migration 11.1.1.02.83 Loaded
Oracle SQL Developer - Migrations DB2 oracle.sqldeveloper.migration.db2 11.1.1.02.83 Loaded
Oracle SQL Developer - Migrations DB2 Translator oracle.sqldeveloper.migration.translation.db2 11.1.1.02.83 Loaded
Oracle SQL Developer - Migrations Microsoft Access oracle.sqldeveloper.migration.msaccess 11.1.1.02.83 Loaded
Oracle SQL Developer - Migrations Microsoft SQL Server oracle.sqldeveloper.migration.sqlserver 11.1.1.02.83 Loaded
Oracle SQL Developer - Migrations MySQL oracle.sqldeveloper.migration.mysql 11.1.1.02.83 Loaded
Oracle SQL Developer - Migrations Sybase Adaptive Server oracle.sqldeveloper.migration.sybase 11.1.1.02.83 Loaded
Oracle SQL Developer - Migrations T-SQL Translator oracle.sqldeveloper.migration.translation.core 11.1.1.02.83 Loaded
Oracle SQL Developer - Migrations Teradata oracle.sqldeveloper.migration.teradata 11.1.1.02.83 Loaded
Oracle SQL Developer - Migrations Translation UI oracle.sqldeveloper.migration.translation.gui 11.1.1.02.83 Loaded
Oracle SQL Developer - Object Viewer oracle.sqldeveloper.oviewer 11.1.1.02.83 Loaded
Oracle SQL Developer - Real Time SQL Monitoring oracle.sqldeveloper.sqlmonitor 11.1.1.02.83 Loaded
Oracle SQL Developer - Reports oracle.sqldeveloper.report 11.1.1.02.83 Loaded
Oracle SQL Developer - Scheduler oracle.sqldeveloper.scheduler 11.1.1.02.83 Loaded
Oracle SQL Developer - Schema Browser oracle.sqldeveloper.schemabrowser 11.1.1.02.83 Loaded
Oracle SQL Developer - SearchBar oracle.sqldeveloper.searchbar 11.1.1.02.83 Loaded
Oracle SQL Developer - Snippet oracle.sqldeveloper.snippet 11.1.1.02.83 Loaded
Oracle SQL Developer - Spatial oracle.sqldeveloper.spatial 11.1.1.02.83 Loaded
Oracle SQL Developer - TimesTen oracle.sqldeveloper.timesten 2.0.0.02.83 Loaded
Oracle SQL Developer - Tuning oracle.sqldeveloper.tuning 11.1.1.02.83 Loaded
Oracle SQL Developer - Unit Test oracle.sqldeveloper.unit_test 11.1.1.02.83 Loaded
Oracle SQL Developer - User Extensions Support oracle.sqldeveloper.userextensions 11.1.1.02.83 Loaded
Oracle SQL Developer - Worksheet v2 oracle.sqldeveloper.worksheet 11.1.1.02.83 Loaded
Oracle SQL Developer - XML Schema oracle.sqldeveloper.xmlschema 11.1.1.02.83 Loaded
Oracle SQL Developer Data Modeler oracle.datamodeler.viewer 3.0.0.654 Loaded
Oracle SQL Developer Data Modeler - Reports oracle.sqldeveloper.datamodeler_reports 11.1.1.02.83 Loaded
PROBE Debugger oracle.jdeveloper.db.debug.probe 11.1.1.4.37.58.80 Loaded
Peek oracle.ide.peek 11.1.1.4.37.58.80 Loaded
Persistent Storage oracle.ide.persistence 11.1.1.4.37.58.80 Loaded
Property Inspector oracle.ide.inspector 11.1.1.4.37.58.80 Loaded
QuickDiff oracle.ide.quickdiff 11.1.1.4.37.58.80 Loaded
Replace With oracle.ide.replace 11.1.1.4.37.58.80 Loaded
Runner oracle.ide.runner 11.1.1.4.37.58.80 Loaded
VHV oracle.ide.vhv 11.1.1.4.37.58.80 Loaded
Versioning Support oracle.jdeveloper.vcs 11.1.1.4.37.58.80 Loaded
Versioning Support for Subversion oracle.jdeveloper.subversion 11.1.1.4.37.58.80 Loaded
Virtual File System oracle.ide.vfs 11.1.1.4.37.58.80 Loaded
Web Browser and Proxy oracle.ide.webbrowser 11.1.1.4.37.58.80 Loaded
XML Editing Framework IDE Extension oracle.ide.xmlef 11.1.1.4.37.58.80 Loaded
audit oracle.ide.audit 11.1.1.4.37.58.80 Loaded
classpath: protocol handler extension oracle.jdeveloper.classpath 11.1.1.0.0 Loaded
jdukshare oracle.bm.jdukshare 11.1.1.4.37.58.80 Loaded
mof-xmi oracle.mof.xmi 11.1.1.4.37.58.80 Loaded
oracle.ide.dependency oracle.ide.dependency 11.1.1.4.37.58.80 Loaded
oracle.ide.indexing oracle.ide.indexing 11.1.1.4.37.58.80 Loaded
palette2 oracle.ide.palette2 11.1.1.4.37.58.80 Loaded
status oracle.ide.status 11.1.1.4.37.58.80 Loaded -
Completion Insight changes since v1.5.5
The completion insight is dramatically less useful in versions since 1.5.5. In that version the pop up completions were very fast, and the focus was always on the "best match" for the table in question. Also, common keywords such as FROM, WHERE, etc. popped up quickly. There current version is so slow that it isn't really useful, and it seems to stop working (3.2.20.09. but also 3.1.07) often.
When pounding out a lot of code, the completion insight for 1.5.5 is really a productivity tool. Is there any chance that a future version will get back to that level of excellence?Previously, when I turned on my computer, a Safari browser window would automatically open on my screen. I didn't have to touch anything and I liked this. Now, however, the Safari application "starts" (as evidenced by the little blue dot under the dock icon) but no window opens...
Others have reported this. It seems to be a bug. The workaround is to remove Safari from your login items and replace it with a webloc file pointing to the site you want opened at login. To create the file, load the site and drag the URL from the address bar to the Desktop. Rename the file if you wish, then put it anywhere in your home folder. Add it to your login items.
I seem to have lost some auto-fill or predictive text functionality.
Also reported, also apparently a bug, or perhaps an intentional change. I don't know of a workaround.
...in Safari's preferences I have checked the box which reads "Open 'safe' files after downloading." Previously, whenever I would download a document from my email, it would open automatically. I liked this. Now, however, the files download and are saved in my downloads folder but do not open.
I've never used this feature myself, because I think it's dangerous, so I don't know how it's changed. In the past it has caused security problems. It has always been true that Safari would only open downloaded files that were considered "safe," according to their type. Some file types that were formerly considered safe may no longer be -- at least, I hope that's the case. -
Completion Insight seldom works
Running ver. 3.1.07. Completion Insight seldom/seldom/seldom works. I have it turned on. Suggestions.
I thought I sent a debug/trace file with a new thread but can't find it and don't find the directions recreate the debug/trace file.
Any suggestions.
Can't send u a debug file as I could never get the exe to execute from the gin dir.Hi,
Completion Insight seldom/seldom/seldom worksis a bit vague. You can always download the current 3.2 release (3.2.09.30) and try that out -- each release has bug fixes. I do recall something about it not working in the scenario File | Open | SQL File , even after selecting a connection. Not sure if that was fixed for 3.2, or is queued up for 3.2.1.
Otherwise please provide a specific description of incorrect behavior with a detailed test case.
Regards,
Gary
SQL Developer Team -
3.1EA2 issue - Completion insight popup too narrow
Since updating to 3.1EA2, the popup containing choices for completion seems to be set to a fixed width, and is only wide enough to show 10-11 characters.
Possibly what is needed here are more eyes and more test cases. Apparently many have found enough cases to feel this is an obvious problem.
Take the following case on WinXP, 3.1.06.44:
1) Launch SQL Developer. A fresh start may not be necessary, but ensures everything is initialized.
2) Connect to SCOTT schema.
3) In worksheet, quickly enter "select * from emp;" so no completion insight pop-up appears.
4) Change "*" to "e".
5) Pop-up appears with EMPNO, ENAME at top, with room for 11 characters, but some items are longer.
6) Highlight EMPNO and ENAME, then <Enter>.
7) This yields "select EMPNO M, ENAME N from emp;"
8) Insert a comma after "ENAME N"
9) Pop-up appears with all EMP table columns, but only showing the first 2.5 letters. Don't select anything.
10) Continue inserting after the comma. Add a blank space followed by a lowercase j.
11) Pop-up appears with items starting in J, including JOB, but only showing the first 2 letters.Hopefully this behavior is not unique to my environment and others can replicate it.
Thanks,
Gary
SQL Developer Team
Edited by: gggraham on Nov 18, 2011 3:19 PM
Sizing of SQL Developer window or the worksheet pane does not affect the pop-up list width. Code editor font is DialogInput. LAF is Windows. -
Completion Insight Won't Work After Changing Worksheet's Connection.
I've noticed that with 3.1.07.42 completion insight seems unreliable and managed to track it down to being caused by switching a worksheet's connection. The completion insight functionality seems to remain stuck in the first connection.
Steps to recreate:
1. Open a worksheet to connection1.
2. Paste in two incomplete queries. One for a table only present in connection1, and another with the same for connection2.
3. Verify that completion insight works for the query for connection1.
4. Switch worksheet's connection to connection2
5. Try to bring up the completion insight for the connection2 query. Fails for me.
6. Try to bring up the completion insight for the connection1 query. Still works.I don't know how to verify this but maybe there was a bad batch of ink out there. My ink was low, changed the cartidge, still not joy. I did the clean heads so many times i ran out of another color. I changed the print head assembly and still no joy. I gave up at this point, but does anyone know if HP has any advisaries about bad ink (up till now I have always used HP Ink). Or maybe they wouldn't want to admit it because of all of the repairs they would be resposible for.
-
I recently downloaded SQL developer Version 2.1.1.64. However the code completion feature is not working automatically. I have checked the Automatically complete code in SQL worsheet checkbox under Tools->Preferences-> Code Editor-> Completion Insight.
Strangely, I get the code completion pop up window when I explicitly press the completion insight shortcut(Ctrl + Space).
Please help.
Thanks and Regards.Hi, I am getting the following logs :
Code completion time = 1015
*...?aux tok2?, parse time = 63
InsightableOracleDatabase.fetch() time = 360
Code completion time = 844
Finished parsing = 0
*...?aux tok2?, parse time = 62
InsightableOracleDatabase.fetch() time = 344
Code completion time = 812
Finished parsing = 0
*...?aux tok2?, parse time = 63
InsightableOracleDatabase.fetch() time = 359
Code completion time = 891
Finished parsing = 0
Thanks -
"completion insight" and "change case as you type" won't work for sql file
Hi there,
Just updated to 3.1 on my Mac Lion. It's very likely a bug since it used the work with 3.0.
I have a "temp.sql" file where I store several queries. I start SQL Developer, open "temp.sql", connect to a DB but "completion insight" and "change case as you type" won't work anymore.
If I click in "Unshared SQL Worksheet", the new worksheet tab will work fine with completion and change case, but I want to use my temp.sql and save things there when closing the application.
To reproduce yourself the issue:
Open SQL Dev, connect to a DB (it will open a worksheet), do some queries and check that change case and completion are working, quit SQL Dev, but save the worksheet in a sql file before. Re-open SQL Dev and open the sql file. Connect to the same DB and try to change the queries or create another. Completion and change case won't work anymore.
About
Oracle SQL Developer 3.1.07
Version 3.1.07
Build MAIN-07.42
Copyright © 2005, 2011 Oracle. All Rights Reserved.
IDE Version: 11.1.1.4.37.59.48
Product ID: oracle.sqldeveloper
Product Version: 11.2.0.07.42
Version
Component Version
========= =======
Java(TM) Platform 1.6.0_31
Oracle IDE 3.1.07.42
Versioning Support 3.1.07.42Well, it's partially working, if your sql file is big (like mine), say with more than 1000 lines, then, maybe because of memory usage, the automatic completion won't work as expected, though, sometimes, after a while, crtl-space would stil work.
So, the problem may have been addressed, but I believe this feature can be definitely improved. -
Can't get completion insight to work
Hi all,
I just can't get completion insight to work on the newer releases of sqldeveloper. It works fine until Version 1.5.5 Build MAIN-5969. However on both Version 2.1.0.62 Build MAIN-62.61 and Version 2.1.0.63 Build MAIN-63.73 it justn't work no matter what settings I use.
I have run both the builds from \sqldeveloper\bin\sqldeveloper.exe and no exceptions are reported.
This is the console output from 2.1.0.63
Finished parsing = 16
UsersCache.fillIn() time = 2015 ret==null?: false
Finished parsing = 0
Finished parsing = 0
Finished parsing = 0
Finished parsing = 0
*...?aux t2?, parse time = 172
Finished parsing = 0
Finished parsing = 0
InsightableOracleDatabase.fetch() time = 2609
select 'TABLE' type, user owner, name object_name, null column_name, null column
id, null datatype FROM sys.obj$ o
where o.owner# = 173
and o.name not like 'BIN%'
and o.type# = 2
and rownum <=50
union all
select 'VIEW' type, user owner, name object_name, null column_name, null column_
id, null data_type FROM sys.obj$ o
where o.owner# = 173
and o.name not like 'BIN%'
and o.type# = 4
and rownum <=50
Code completion time = 3516
Finished parsing = 0
*...?aux tok2?, parse time = 31
Finished parsing = 0
Finished parsing = 0
Finished parsing = 0
Finished parsing = 0
Finished parsing = 0
Finished parsing = 0
InsightableOracleDatabase.fetch() time = 38828
select 'TABLE' type, ''||o.owner# owner, name object_name, null column_name, nul
l column_id, null data_type FROM sys.obj$ o
where o.name not like 'BIN%'
and o.type# = 2
and rownum <=50
and name like ?
union all
select 'VIEW' type, ''||o.owner# owner, name object_name, null column_name, null
column_id, null data_type FROM sys.obj$ o
where o.name not like 'BIN%'
and o.type# = 4
and rownum <=50
and name like ?
union all
select 'TABLE' type, user owner, synonym_name object_name, null column_name, nul
l column_id, null data_type
from all_synonyms
where synonym_name like ?
and rownum <=50
and owner in (user,'PUBLIC')
AP_I%
AP_I%
AP_I%
Code completion time = 38984
Any help to get this working would be much appreciated.
ThanksThis console output says that the completion insight queries are executing - the first example took ~ 3.5 seconds and the second example took ~ 39 seconds. Unfortunately, it doesn't tell you how many records it returned.
If you copy the queries out of the console output and run them manually, do you get any results? For example, the second query would be:
select 'TABLE' type, ''||o.owner# owner, name object_name, null column_name, null column_id, null data_type
FROM sys.obj$ o
where o.name not like 'BIN%'
and o.type# = 2
and rownum <=50
and name like 'AP_I%'
union all
select 'VIEW' type, ''||o.owner# owner, name object_name, null column_name, null column_id, null data_type
FROM sys.obj$ o
where o.name not like 'BIN%'
and o.type# = 4
and rownum <=50
and name like 'AP_I%'
union all
select 'TABLE' type, user owner, synonym_name object_name, null column_name, null column_id, null data_type
from all_synonyms
where synonym_name like 'AP_I%'
and rownum <=50
and owner in (user,'PUBLIC')theFurryOne -
Completion Insight not working correctly when using Enterprise User Security (EUS) logon
This is a pre existing issue we've experienced with SQL Developer, though I've only just worked out what is causing the issue it is present in previous versions of the tool, up to the current 4.0.EA2.
We experience issues with the Completion Insight functionality of SQL Developer.
When we log into a database using Enterprise User Security i,e authenticating against OID, the schema of the database account is prefixed to any reference to public synonyms, ie all user_%, all_%, dba_% and v$% views.
When I change the authentication of the database account back to normal database authentication the schema prefix correctly isn't shown. It simply suggests the synonym name of the views.
An example of this is as follows when attempting to query the DBA_TABLES view:
The database account is ORADBA and has DBA privs.
The EUS user that is mapped to the ORADBA schema is dbutler.
The ORADBA user is configured to authenticate externally (against OID).
I login with my dbutler directory credentials:
If I start typing:
select * from dba_tabl
The object name is suggested as ORADBA.dba_tables
If I change the authentication of the ORADBA account back to database authentication, the prefix is no longer present.
i.e If I start typing:
select * from dba_tabl
The object name is suggested as dba_tablesIf you're not using DB 10.2 this is the "expected" behavior for the DB. See also metalink note 351170.1 "Enterprise Users Can Connect to a Database when the OID Account is Disabled"
regards,
--Olaf -
BUG: EA 2.1 code editor: completion insight doesn't work in opened files
I just migrated from SQLDEV 1.5.5 to EA 2.1. It's nice that I colud find so many of my suggestions implemented in this new version. THANKX :-)
code editor:
When I'm working in SQL Worksheet the "completion insight" feature is working well, but when I try to use it in an opened file, it doesn't work.
Is there a special preference to turn on for use with files?
Edited by: @chris on 12.11.2009 10:57Correct it did work in 1.5. on .sql files, when connected, so I have updated the ER to bug. We also need to expand this to support PL/SQL files.
Sue -
Jdeveloper11gR2 Cannot get code Completion Insight in *.jsp files
I am not getting code completion insight when pressing Ctrl + Space in *.jsp files. But it works in *.java files. My version of Jdeveloper is Jdeveloper 11g Release 2 version 11.1.2.2.0 .
Edited by: Smitha Bhatt on Jun 7, 2012 5:40 PMI filed bug 14169588 for this.
-
Completion Insight Problem for SQL Developer 3.0.04.34 ?
Hello,
I am observing that for a SQL Worksheet which has more than 270 lines of different SQL queries, the Completion Insight doesn't work.
I am using Oracle SQL Developer 3.0.04.34 on a Windows 7 (32 bit machine).
Is there anything else which needs to be checked?
Edited by: 922015 on Mar 19, 2012 11:02 PMCan't reproduce. Need a test case.
select * from emp; -- repeated 500 times
then
select * from e<ctrl-space> -- line #501
works. -
3.1EA1: Completion insight
Hello,
Im using SQL Developer on Windows 7 32-bit, Java 1.6.0_27, Oracle 10gR2
Completion insight is not working when writing a query in an *.sql file. Eventough the database connection is opened and selected in the sql-worksheet.
Kind regards,
D.Hi Vadim,
Thanks for picking up this thread. A quick update on my research for this matter...
1) In 3.0.04.34, I have no trouble getting Code Insight to work on an opened SQL file once a connection is selected from the drop-down list.
2) In 3.1.06.44, it does not work after selecting the first connection, but will after switching to another connection, e.g.,
Test case:
a. Open a SQL file containing "select deptno from emp"
b. Select a "local_scott" connection from the drop-down list.
c. Change text to "select deptno, e from emp" and ctrl-space with cursor immediately after the ", e". No result.
d. Select another connection, say "remote_scott", from the drop-down list.
e. Repeat (c), highlighting "empno" and "ename" in the list. Enter to add to the SQL text. 3) In 3.1.06.44, running from the command line, I got the following exception while adding ", j" followed by ctrl-space:
Registered TimesTen
Parser.forest(): AssertionErrorunwind labeled_nonblock_stmt: unlabeled_nonblock_stmt!; @[0,11)
Exception in thread "InsightThread" java.lang.NullPointerException
at oracle.dbtools.raptor.insight.CompletionInsight.complete(CompletionInsight.java:740)
at oracle.dbtools.raptor.insight.CompletionInsight$InsightThread.run(CompletionInsight.java:507)
but it seemed to work fine anyway.
It's great that a workaround exists. I leave any bug raising up to you.
-Gary
Maybe you are looking for
-
Mac Pro seems to be missing 0.5 GB of ram after Snow Leopard install
I just installed Snow Leopard on my Mac Pro (2 x 2.8 GHz Quad-Core Intel Xeon). The computer has only ever had the default 2 GB of RAM that comes with it from Apple. I know I need more, it's on order. The odd thing that I noticed after installing Sno
-
Swing Component to access a Servlet
Hi All, I am new to the technology of java and servlets. We have a Web Application which runs on the JSP and Servlet technology using a BEA Weblogic Server. User(Client) connects to the server with Login.jsp by providing a valid user-name . The serve
-
Database Console Comes Up Blank
Hi, Our database is on Windows 2003 Server. I just upgraded my database to 10G and have not had a chance to install the Grid control as of yet. I doing it one step at a time. I'm still trying to use the basic Database Control from the browser. The pr
-
Change display language to english
I have a new Lenovo running win 7. As it was acquired in Venezuela the os is in Spanish... is there any way to change the display language to english? thanks sjferrari
-
Macbook Pro shuts down intermittently and kernel_task running at 300% constantly
I've bought a refurbished 13" Macbook Pro (early 2011, Mac OS X Lion 10.7.3) last month and it was working fine all along until yesterday, when the MBP decides to shut itself down while I was surfing the web through Safari and that's why my problem b