SQLdeveloper on mac and code insight

Hi!
Just downloaded SQL developer 2.1.0.63 and running it on snow leopard. (BTW, for others out there, make sure that you unzip the file with the standard apple utility).
I cannot get code insight to work for an Oracle or a Teradata DB.
For Oracle, i type in SELECT * FROM <DB_NAME>. ctr+space and nothing happens. this is in sql worksheet and in newly created files.
BUT if i just type in SELECT, in a second it gives me select * from table autocompletion.
as for teradata, i only get autocompletion after select in newly created files, but in sql worksheet - nothing works at all.
any luck on this?

when in type in select * from DBNAME.
this is what i see in the console:
*...?aux tok2?, parse time = 16
Finished parsing = 0
InsightableOracleDatabase.fetch() time = 2216
SELECT 'SCHEMA' type, username owner, username object_name, null column_name, null column_id, null data_type
FROM all_users WHERE rownum <=50
and username like ?
union all
SELECT object_type type, owner, object_name, null column_name, null column_id, null data_type
FROM all_objects
WHERE      object_type ='TABLE' and object_name not like 'BIN$%' and rownum <=50
and object_name like ?
union all
SELECT object_type type, owner, object_name, null column_name, null column_id, null data_type
FROM all_objects
WHERE      object_type ='VIEW' and object_name not like 'BIN$%' and rownum <=50
and object_name like ?
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 ?
and rownum <=50
and owner in (user,'PUBLIC')
DBNAME%
DBNAME%
DBNAME%
DBNAME%
Code completion time = 2271
when i do this:
select * from DBNAME.TABLENAME T where t.
i get this in console:
*...?aux t2?, parse time = 23
InsightableOracleDatabase.fetch() time = 705
SELECT 'COLUMN' type, owner, table_name object_name, column_name, column_id, data_type
FROM sys.all_tab_cols
WHERE hidden_column = 'NO' and rownum <=50 and owner = ? and table_name = ?
union all
SELECT object_type type, user owner, object_name, null column_name, null column_id, null data_type
FROM all_objects
WHERE rownum <=50 and object_name not like 'BIN$%' and object_type IN ('PROCEDURE','FUNCTION','PACKAGE')
and owner = ?
union all
SELECT 'FUNCTION' type, owner, object_name||'.'||procedure_name object_name, null column_name, null column_id, null data_type
FROM all_procedures
WHERE rownum <=50 and procedure_name is not null
and owner in('SYS',?) and object_name = ?
DBNAME
TABLENAME
B
TERADATA
B
Code completion time = 1534
In this case, the autocompletion works!
but in the first case - it doesn't do anything (((
This is when connected to a Oracle DB. (i just also have a teradata connection installed, but it is not connected. not sure why it appears in the console).
Please help!
Edited by: strannik19 on Jan 13, 2010 3:55 AM

Similar Messages

  • Facelets and code insight for XHTML

    Hi,
    what about support for facelets and code insight for xhtml?
    Thanks,
    Uros.

    Hi,
    actually the templating mechanism is deployable in shared libraries, which means you should be able to reuse this outside of JDeveloper with the right libraries in place. The issue we found with Facelets is with the required binding references that we need for ADF to work in templates (though this is an Oracle specific problem for as long as JSR 227 isn't turned into a J2EE standard) .
    Also, templates in JDeveloper 11 are referenced at runtime, which means they can be changed on the fly even after deployment and all pages will reflect them. Plus, you don't need to configure a new extension and filter to your JSF files/configuration making it more straight forward.
    And yes, it can be deployed to other J2EE containers than Oracle- Not sure what the open source plans are, but I'll point someone from our Trinidad supporters to this thread to shed some light on what the Trinidad community has in the plans.
    Your point for a common templating support is well taken (though I wished there would be something better than Facelets ;-) )
    Frank

  • Table aliases and Code Insight Completion

    Oops, never mind, I see there are lots of threads on this... so the big question is: Does anyone know when this will be supported?
    One thing I am noticing with the new SQL Developer is that if you use table aliases (as we do here) that Code Insight Completion doesn't work. For example, if I type the following SQL:
    SELECT *
    FROM My_Table mt
    WHERE mt.
    At the point where I put the dot (i.e. mt.) I would assume that code insight would drop down a box showing me the columns in the alias mt (i.e. My_Table). But nothing happens. Now if I put the full table name My_Table in there (i.e. WHERE My_Table.) then the drop down occurs. But not if you use a table alias - and putting the full table name in defeats the purpose of using aliases.
    I know that in other SQL developers (such as PL/SQL Developer) this works fine and we are used to it working this way with aliases. Is there another way to get SQL Developer to do it this way? Or is this going to have to be a NEW feature later on?
    Thanks.
    Tom
    Message was edited by:
    tbsimpson

    Try searching this has been answered.
    http://forums.oracle.com/forums/search.jspa?objID=f260&q=alias+insight
    -kris

  • Underline and Code Insight Problem in JDev 10.1.2.0.0 (1811)

    I have just included the libraries to be able to use the MyFaces compnents in jdeveloper and everithing seemed to be working fine, until I imported a package in my case import org.apache.myfaces.custom.date.HtmlInputDate;
    The Jdev editor is underlining the line in blue telling me it cannot find the package if I declare a variable of the same type private HtmlInputDate dateFrom; I still get it underlined. funnily enough if I decide to compile it everything works fine. I'm having the same problem when using Log4J. After this happens codeinsight is not available for the underlined items.
    It seems as if the compiler can find the packages but the editor no. Am I missing something? anybody had the same problem?

    To tell you the truth I'm using a combination of 10.1.2 and 10.1.3 since the beta is still lacking the capability to handle BC4J. I'm waiting eagerly for the final release.
    As regards that document I followed the instructions to setup the 10.1.3 and followed the same guidelines to apply the same settings on 10.1.2 which has a different screen to setup the libraries. maybe I just missed out some jar files in the library setup in 10.1.2

  • Autocomplete / code insight features appeared in Release 919.

    The first time I ran version 919, in the SQL Worksheet pain I typed in "DBMS_" and Code Insight popped up listing the database packages starting with "DBMS_". That was very cool! Only problem is Code Insight has disappeared. I made no Raptor configuration changes yet it no longer comes up when I type in "DBMS_".
    Mike

    Let correct myself. I found it. I had accidentally pressed the correct keystroke (ctrl-space) and did not realize it. It is working now.
    Sorry,
    Mike

  • Code insight is not working correctly in Jdev 10.1.3 (preview) and java 1.5

    The code insight does not work for me. I followed the advice of Steve Muench given here:
    http://radio.weblogs.com/0118231/stories/2003/01/17/whyIsntMyCodeInsightWorking.html
    but that did not change the problem. The problem seems to be related to new java 1.5 features. As soon as I start using generics the code insight is lost...
    Any clues what is going on? I s this easy to fix?
    -- example: (NOTE that iI use double (( )) to indicate generics definitions. the forum software would not let me put in the correct syntax!)
    package mypackage;
    import java.util.Set;
    public class tester1
    private Set ((Integer)) intSet = null;
    public tester1()
    intSet. ---- NO CODE INSIGHT POPS UP! (if i change to "private Set intSet = null;" it works)
    public static void main(String[] args)
    new tester1();
    P.S.
    Also, i noticed that the auto-import ist not working for the "Set((Integer))" line!
    Message was edited by:
    user444936

    thanks for the info.
    Hmm - too bad. I may have to switch to eclipse or something then, since my project involves some 1.5 parts and the missing code insights and import features are a real pain for me.
    Cheers,
    Jochen

  • Trying to load illustrator 6cs onto new mac and the old activation code for my ill cs doesn't work with it

    Trying to load a downloaded version of illustrator 6cs onto new mac and the old activation code for my illustrator cs doesn't work with it.  Do I need a new code or am I missing something?  Same goes for my Photoshop cs.

    you need your serial number.
    if you purchased from or registered with adobe check your account, https://www.adobe.com/account.html

  • Can someone please help me re-install my Creative Design 5.5 on my Mac?  My MacBook Pro recently crashed and had to have the hard drive replaced.  The back up from Time Machine is not reinstalling the program.  Since I have the download paid, and codes, I

    Can someone please help me re-install my Creative Design 5.5 on my Mac?  My MacBook Pro recently crashed and had to have the hard drive replaced.  The back up from Time Machine is not reinstalling the program.  Since I have the download paid, and codes, I need direction on how to reinstall -- HELP?

    Hi bodegakc,
    If you have the serial number then please use the below mentioned link to download the product you are looking for .
    CS5.5
    Also before installing Please go to Applications-->Utilities--> Adobe installers and if there is any uninstaller for CS5.5 , you can remove it and do a fresh install.
    You can also use creative cloud cleaner tool before installing.
    Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
    Thanks
    Nikhil Gupta

  • I wanted to install windows for Mac and I had vista so I put I the disk and installed it then it  loses my  computer wen I turned it on it went straight to windows and it asked me to install it and put in the windows box code I found out I didn't have Ma.

    I wanted to install windows for Mac and I had vista so I put I the disk and installed  followed the steps it then it  closed my  computer wen I turned it on it went straight to windows and it asked me to install it and put in the windows box code I found out I didn't have it so I wanted to go back to Mac I shut it off and it just goes back to windows and asks me to put the box code how do I get rid of it and go back to Mac because no buttons work at the start and i can't take out the disk !! Help

    The two other posts are correct... so I'll just clarify.  What's happening right now is your system is trying to boot into Windows in order to finish the installation.  What you want to do is make it boot into OS X.  As mende1 indicated, with your system off, hold down the Option key and continue to hold it while you turn the system on.  You will eventually be presented with an option to select which partition you would like to boot from.  Choose OS X.  After you get into OS X, again, as mende1 indicated, change the Startup Disk to OS X.  What this will do is cause your system to automatically boot into OS X when you restart it instead of you having to use the Option key when booting each time.
    Relaunching BootCamp Assistant will allow you to remove your Windows installation and partition. 

  • On Firefox 3.6.x on Mac and Windows, Google Analytics tracking code leads to an Error 400 page

    Our business sent out an email campaign that has several links containing Google Analytics tracking code in the URL.
    In the tracking code, which is automatically generated via the email campaign software, is an em-dash. The URLs works in every browser (Google Chrome, Safari, Windows) and in older versions of FireFox. They do not work in 3.6.x versions of FireFox in both Mac and Windows.
    As a result, when customers click on a link in the email, they get a page that says "HTTP Error 400 - request is badly formed" because FireFox interprets the em-dash as garbage.
    Once this error occurs none of the pages in the site can be accessed unless a specific cookie is removed.
    Seeing how many people do not know how to clear cookies - it is especially cryptic in the Windows version of FF 3.6.10 - what are the chances that there will be a release of Firefox to remedy this problem? And is there anything else that could be done?

    Weird. We are having this same problem as well. Ours happens in Chrome as well. What I have figured out is -at least for us - is its somethign to do with the Google Analytics tracking cookie on our site. If I go to cookies and then delete the _umtz cookie, the site will load fine. In the time being I have set "pageTracker._setCampaignTrack(false); " in our tracking code to keep the script from dropping the cookie in users browsers.

  • Code Insight and mixed case PL/SQL identifiers

    Let’s assume I hava a package “Test” with a procedure “DoSomeReallyHardWork”.
    I would like code insight to complete a call of this procedure and preserve the original case.
    I don’t like “test.dosomereallyhardwork” and I strongly dislike “TEST.DOSOMEREALLYHARDWORK".
    Is there any way to achive this kind case preservation?
    I recompiled my code with PL/Scope turned on, but it seems that all identifiers are stored in uppercase. Bug or feature?

    The identifiers are case insensitve, so your code could as easily read
    create or replace procedure TestProc is
    ThisVarHasNoMeaning varchar2(100);
    begin
    ThisVarHasNoMeaning := 'Test';
    THISVARHASNOMEANING := 'Other';
    end TestProc
    You only have one identifier, but can have multiple capitalizations. While it would be nice if the declaration was the 'definitive' one, it looks like they've gone the easy route and uppercased them all for consistency.
    If you used _ (the This_Var) in your variable names, at least you could use initcap to pretty them up.

  • Code insight and possible side effects

    Hi,
    I'm using SQL Developer 1.2 on MacOSX 10.4.9 (MacBook Pro) and noticed the following problems:
    In SQL Worksheet, start typing a query and use the shortcut for code insight ie: "SELECT * FROM SCHEMA.EMPL":
    Nothing happens, no completion popup is displayed (first problem)
    Hit backspace to correct the table name : the backspace is disabled (second problem) as other keys (already mentionned in the forum).
    Load presets from preferences: keys are now working again (... except code insight)
    Regards
    FJ

    Hi,
    I downloaded the latest release of SQLDevlopper (multiplatform this time) and here is the error log linked to my actions.
    - Create a new connection, test it with success and save. - OK
    - Connect to the new connection:
    java.sql.SQLException: Fonction non prise en charge
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
    at oracle.jdbc.dbaccess.DBError.throwUnsupportedFeatureSqlException(DBError.java:690)
    at oracle.jdbc.OracleDatabaseMetaData.getDatabaseMajorVersion(OracleDatabaseMetaData.java:4028)
    at oracle.dbtools.raptor.InitializeConnectionListener.initConnection(InitializeConnectionListener.java:99)
    at oracle.dbtools.raptor.InitializeConnectionListener$1.run(InitializeConnectionListener.java:73)
    - Type query select * from myschema. :
    Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: oracle.jdbc.OraclePreparedStatement.setStringAtName(Ljava/lang/String;Ljava/lang/String;)V
    at oracle.dbtools.db.DBUtil.bind(DBUtil.java:748)
    at oracle.dbtools.db.DBUtil.bind(DBUtil.java:1094)
    at oracle.dbtools.db.DBUtil.executeOracleQuery(DBUtil.java:470)
    at oracle.dbtools.db.DBUtil.executeQuery(DBUtil.java:497)
    at oracle.dbtools.db.DBUtil.executeReturnArrayList(DBUtil.java:658)
    at oracle.dbtools.db.DBUtil.resolveName(DBUtil.java:1142)
    at oracle.dbtools.db.DBUtil.resolveName(DBUtil.java:1108)
    at oracle.dbtools.raptor.insight.CompletionInsight.getInsightData(CompletionInsight.java:236)
    at oracle.javatools.editor.insight.AbstractInsight.showInsight(AbstractInsight.java:777)
    at oracle.javatools.editor.insight.AbstractInsight.showInsight(AbstractInsight.java:707)
    at oracle.javatools.editor.insight.AbstractInsight.actionPerformed(AbstractInsight.java:502)
    at javax.swing.Timer.fireActionPerformed(Timer.java:271)
    at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    Now the backspace key is not working till the reloadBuffers() function is called
    Hope this helps
    Message was edited by:
    user580108

  • Code Insight and Fedora Core 2

    Hi,
    Code insight doesn't seem to work on my FC2 system. Does anyone know how to fix it ?
    Leighton

    One or more of the following steps makes it work: ( Our system is Fedora Core 2 / KDE 3.3.0 / Java 1.4.2_04 / kernel 2.6.5 / AMD Duron 1800+ / 512MB RAM + 1GB cache )
    1. upgrade to kernel 2.6.9-rc3 ( not likely to be relevant )
    2. upgrade to Java 1.4.2_05 and configure JDeveloper for this library
    3. make it a system library
    4. turn of IPv6 lookups in KDE ( set env var KDE_NO_IPV6=true )
    Leighton

  • HT4061 I have an iphone  5s, does not boot, blinking white screen with black logo, when trying itunes restore from mac and pc, error code 4013 which is usb error, any ideas?

    I have an iphone  5s, does not boot, blinking white screen with black logo, when trying itunes restore from mac and pc, error code 4013 which is usb error, any ideas?  Does a totally dead battery have that effect?  I have had it plugged in to a computer overnight, but maybe does not charge when totally dead?
    Please help, thanks in advance all1

    Hi eggroll77,
    Welcome to Apple Support Communities.
    That alert codes does suggest there is a USB related issue. If you haven’t already, try the troubleshooting suggestions in the article linked below.
    iOS: Restore errors 4005, 4013, and 4014
    I hope this helps.
    -Jason

  • I purchased a new mac and have home sharing turned on my PC and when I pull up Itunes I can see the library but when I click on it the library does not come up to transfer any of movies or music? Can anyone give me some insight?

    I purchased a new mac and I am unable to connect to the home share on it. In the itunes pane the name is there but it will not show library when I click on it. I am trying to sync my ipad on the new machine and use some of the items off my other pc. I am using the same user name on both computers. Any help would be greatly appreciated!

    Hi,
    See if these Links for Home Sharing add any light to the problem
    Understanding
    http://support.apple.com/kb/HT3819
    Troubleshooting
    http://support.apple.com/kb/TS2972
    How to
    http://support.apple.com/kb/HT2688

Maybe you are looking for