BUG?: Code Editor – Completion Insight - Autogenerate GROUP BY clause
With the “Autogenerate GROUP BY clause” enabled the following problem occurs:
Coding an inline select in an aggregate query:
SELECT (SELECT DEPARTMENT_NAME
FROM departments d
WHERE d.department_id = e.department_id) dep
, JOB_ID
, SUM (salary)
FROM employees e
GROUP BY department_id, job_idCode group-by-autogenerate transforms this from time to time into:
SELECT (SELECT DEPARTMENT_NAME
FROM departments d
WHERE d.department_id = e.department_id) dep
, JOB_ID
, SUM (salary)
FROM employees e
GROUP BY (SELECT DEPARTMENT_NAME
FROM departments d
WHERE d.department_id = e.department_id), JOB_IDWhich results in:
ORA-22818. 00000 - "subquery expressions not allowed here"
*Cause: An attempt was made to use a subquery expression where these
are not supported.
*Action: Rewrite the statement without the subquery expression.
when trying to run it.
(version 2.1.0.6.3; build MAIN-63.73; Windows XP)
Duplicate of
2.1 EA1 - Auto Group By inserted when unwanted/expected
Similar Messages
-
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 -
Code Templates/Completion Insight SQL Developer 3.2.2
Hello, today I got the version 3.2.2. During the first start all setting from my previous version were imported and all work perfect, except the completion insight.
If I write
ssf +[CTRL + Space]
the result in the previous version is
select * from
In the new version, for the same input is:
ssfselect * from
For other code template it is the same, the id for the code template will not be delete while setting the code template.
Is this a bug or is there somethin wrong with my enviroment?It's a bug that's been fixed for version 4.0.
-
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 -
Hi -
Version 3.2.20.09.
Code Editor>Completion Insight All check boxes checked.
Does this functionality work on a Mac (Os X 10.8.2) connection to Sql Server using the 3rd party tools as referenced in the documentation.
I would love to use SD but not having the auto complete makes it unusable.
It never works. Ever. Not automatically, not by trying to invoke it using ctr+spacebar or any other shortcuts I've created and tried.
Doesn't work for table/view population or sql functions.
Is there something additional I need to do or am I barking up the wrong tree?
thanksFor Oracle, yes.
For SQL Server, no.
SQL Server support is primarily for migrations to Oracle. I know many folks like to run SQL Developer for SQL Server b/c it will run on a Mac, but it's not intended to be a fully featured IDE for any database platform other than Oracle database. -
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. -
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 -
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.
-
Disable group by completion insight in SQL Worksheet
Does anyone know how to disable the group by completion insight in a SQL worksheet? I like all of the code completions other than this one; it has messed up may queries.
I have searched the preferences and cannot find it. I thought I remembered enabling it at one point, but now I'm stuck.
ThanksDoes anyone know how to disable the group by completion insight in a SQL worksheet? I like all of the code completions other than this one; it has messed up may queries.
I have searched the preferences and cannot find it. I thought I remembered enabling it at one point, but now I'm stuck.
Thanks -
BUG: JDeveloper code editor shows valid static import call as error
I've noticed what appears to be a bug in the JDeveloper code validator when dealing with static imports.
The following classes demonstrate the problem:
package test;
public class Parent {
public static void parentMethod() {
System.out.println("called parentMethod.");
package test;
public class Child extends Parent {
public static void childMethod() {
System.out.println("called childMethod.");
package test;
import static test.Child.*;
public class StaticInheritanceTest {
public static void main(String[] args) {
Child.childMethod();
Child.parentMethod();
childMethod();
parentMethod(); //<-- this line is highlighted as an error
}Notice how on lines 7 and 8 of StaticInheritanceTest, the code validator does recognise that both parentMethod and childMethod are static methods of the Child class.
Since 'Child' has been statically imported, then parentMethod should be available. Although parentMethod is presented as an 'auto-suggest' at line 11 in StaticInheritanceTest, when you try to call it the code editor shows the call as an error and the Ctrl-Click (to drill down into the method) doesn't work.
When I run the class, it compiles successfully and runs with the following output:
called childMethod.
called parentMethod.
called childMethod.
called parentMethod.This might seem like an obscure and theoretical problem, but I've hit this whilst using Mockito, which uses exactly this kind of inherited static method to provide matchers.Hi,
thanks. Will file a bug. This seems to be a designtime only issue that does not present a show stopper.
Frank -
Code/completion insight Multi column select
Hi
Is it possible to select multiple columns via code insight pop up window.
For example if I have the following query
select a.
from table a
If I type a. completion insight will show me the columns for the table. I would like select more than one column at one time (like in TOAD)
Thanks in advanceNo, but you can:
* request it at the SQL Developer Exchange
* use the popup describe of the table (selecting the table name in the worksheet and pressing shift-F4)
* drag a table from the navigator treeview to the worksheet to generate a SELECT statement with all columns
Have fun,
K. -
JDev Team
The code editor highlights the string inside split() in red. The message displayed is " String literal contains illegal escape character '.' "
String prodID = "10.5.1";
String[] prodLevelId = prodID.split("\\.");
Thanksbalar1,
Thanks for the feedback. I checked your testcase in more current builds and the error is no longer present, so this issue is isolated to the preview. Thanks again for making us aware of this problem.
--RiC -
Bug: syntax error in code editor breaks layout and redrawing windows incorrect
I'm working with "SQL Developer" version:
Oracle IDE 4.0.0.13.80
Plataforma Java(TM) 1.7.0_45
installed on windows 7 64 bits.
when I execute some ddl command in the code editor with syntax error, all layout windows are incorrectly drawn, and I have to close "SQL Developer" application to go on.
Example:
COMMENT ON COLUMN "TABLE"."COLUMN1" IS 'comments on column 1';
COMMENT ON COLUMN "TABLE"."COLUMN2" AS 'comments on column 2';
First comment is correctly aplied but second comment has a syntax error (AS is wrong) but you no receive error output, layout it hangs.
I tested with thick/OCI and using jdbc, and I always go to the same problem.Good Morning
Did you ever get this working without restoring ?
Kind Regards
Marius -
BUG JDeveloper hangs when Completion Insight invoked with accelerator
JDeveloper 10.1.2 build 1811
Windows XP Professional Version 2002 Service Pack 2
Nondeterministic... occurs about once a day on average.Occurs the first time that you invoke completion insight after starting JDeveloper (ctrl-space for me, by the way) .
-
I have the last version 1.1.2.25.79 but when I want do a Completion Insight
Select *
from (Here press Control + Space)
not happend anything.
The Completion Insight it's turn off or something?, It's a bug?
Thanks.
Cristian Saavedra DesmoineauxYes - the Code Completion was removed for performance reasons but the Code Editor should automatically provide a drop-down prompt for table/view objects if the schema owner is used (which is the subject of the original posting).
Maybe you are looking for
-
Crystal reports LOV cascading prompts row level security not working
Crystal report LOV cascading prompts with row level security is not woking when the crytal report cache server/page server cache (Oldest On-Demand Data Given To a Client (in minutes)) is turned on. But its working fine when the cache is turned off. U
-
Missing spring-loaded posts, anyone know where I can get some new ones?
About half a year before intel and macs combined my previous mac mini crashed in which after having already an apple care service check up was designated a "User-caused damage" to the mother board. An bug from who knows where some how got into the co
-
Can't get X to work properly (ATI AIW 9800)
Hello, I have a few problems. My first problem is this. The dpi was messed up when i first install, so i thought no big deal, I'll just go and configure the defaultserverargs setting in the startx script to "-dpi 75". This does not seem to work. Seco
-
File to IDOC. Mapping doubts...
Hi XI Gurus.. I'm doing a file to IDOC scenario.. I've a filed called Master Number and Sequence number.. First I've to sort the file based on Master number. based on this sorted file I must sort the sequence numbers. For example: 0011232 01 001
-
How the availability of a system is calculated?
Hello all, Could you please let me know how the availability of a system is calculted? I have generated the EWA report for one of my production system and the report says that my systems availability is 40%. But my system wasn't down for the whole we