Code Insight Problem ?

Hi,
there are 3 fields on a table called
sale_date_id
start_date_id
end_date_id
We have just added 3 new fields
sale_date
start_date
end_date
However, Code insight in a select statement only shows the first 3 fields when the first couple of letters are entered.
Are the table definitions cached somewhere, or is this a problem ?
thanks,
Graham

I fail to reproduce it. Here is my transcript:
create table test_alter_tbl (
i integer
SELECT <ctrl-space> FROM test_alter_tbl
"i" is prompted
alter table test_alter_tbl add (
j integer
SELECT <ctrl-space> FROM test_alter_tbl
Both i and j are prompted.

Similar Messages

  • Code insight problem when updating classes / jars

    I have a problem with JDeveloper 9.0.3.2 build 1145....
    I create a class with some methods and deploy it to a jar. I create another class in a different project and import the class from the original project. The code insight works fine. I now add a method to the original class and redeploy but the code insight in the second class know nothing about the new methods it until i restart JDeveloper!
    Frustrating, any ideas ?

    This has not been fixed in 9.0.5 actually, at least not the code insight
    aspects. I just checked that it still reproduces under the latest 9.0.5
    builds.
    Since the bug 3034796 was originally filed for Javadoc issues, I've split
    off the code insight issues (which you are hitting) into bug 3122056.
    Unfortunately, there is no workaround for this problem. I'm sorry for the
    inconvenience.
    (From Jimmy - Oracle JDeveloper Team)

  • 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

  • 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

  • Jsp taglibs in include files not detected, throws errors, no code insight

    I have a jsp which is included in all the other jsp. it looks something like this
    taglibs.jsp
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
    <%@ taglib uri="http://www.springframework.org/tags" prefix="spring" %>
    <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
    test.jsp
    <%@ include file="/jsp/menu/taglibs.jsp"%>
    <html>
         <head>
              <title>Tours</title>
         </head>
         <body>
    <form:form commandName="testCommand">
                   <form:hidden path="tour.firstname" id="tour.firstname" />
    and so on.
    I am having 2 problems
    1. the jsp editor show errors all over the place saying
    element path not expected
    element commandName not expected etc.
    2. no code insights.
    but if i include the taglib def in test.jsp it dosn't show any error and also provides code insights. but seldom do people include all taglibs in all jsps.
    is there a way for Jdeveloper to show code insights in jsp pages which includes a jsp or like xml schemas could be added at some place(tools-pref-xml schemas) and when used anywhere, would provide code insights.

    am not sure, try with this
    <jsp:include   .../>

  • Slow code insight in JDev 9.0.3.1035

    Hello,
    sometimes when I invoke code insight in my Jdev it needs up to 30 secs to display. In this time JDeveloper is completely blocked and does not react to any keyboard or mouse input. It doesn't matter if the library is on a network drive or on the local harddisk, even with standard JDK-Lib (for example: java.text. ) this problem appears. And, this happens not always, sometimes the popup comes as fast as I set in JDev's preferences.
    Has anyone experienced such a behaviour??
    Thank you.
    Christian

    Interesting... I confirmed via. Metalink that there was a bug within JDev 9.0.3.1 that caused code insight to fail when editing JSP against at least an Orace Portal based project.. I'm not sure if it's related, but I have a feeling it might be. Are you by chance developing with Portal? I've also noticed no problems with code insight when i'm working with straight webapps built from Struts. Perhaps it's to do with the libraries in your project.
    If you're on Windows, try the sysinternals file monitor program (www.sysinternals.com) and see if it's trying to access large files or something over the network.
    HTH,
    -sean

  • 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

  • Code Insight not working properly - 9.0.3. preview

    We are having some problems with Code Insight on the 9.0.3 preview version of JDeveloper. We have a couple of libraries which regularly change so when a new version comes along we simply overwrite the old one (they are saved in <JDEV_HOME>\jlib. In 9.0.2 all we needed to do was exit and restart JDeveloper and the new classes could be seen in Code Insight. This doesn't seem to be the case now although my code compiles OK. We thought that there might be a cache of some sort related to these libraries and what we've found is a folder under <JDEV_HOME>\lib called ojpd. There appears to be a file for each library in here. We renamed
    the ones related to our libraries and this fixed our problems, but a new version was created. It seems to us that JDeveloper should be checking the modified date of any of these libraries and if so create a new 'ojpd' file. Is this a known bug?
    Thanks
    Ian

    JDeveloper actually checks the number of bytes in a .jar file that it has stored parse data for. I believe there was a bug in the preview release involving this check. This bug has since been fixed.
    To work around it in the preview you can delete the ojpd files corresponding to the archives you have changed. The files will be named after the archive, with a hash of the unique part of their path appended.
    These files are only built for archives that are included in libraries, and reside under Oracle Home (the directory containing the jdev directory), or the User Home.

  • Code Insight deletes code!

    JDeveloper 10.1.3.2.0.4066
    I've been working with JDeveloper 10.1.2 for a number of years and make good use of the code insight features. However I've recently started to evaluate 10.1.3.2.0 and I've noticed a disturbing change in behaviour. If I place the cursor in the middle of an existing method call in my code (i.e. get|Name()) and invoke code insight with Ctrl-Space the feature now truncates my method call to the point where the cursor is placed, leaving get|().
    As far as I'm concerned, this is very BAD! I don't want any feature to EVER change my existing code without me performing a conventional commit action (left mouse-click or enter key)
    When this feature was non-intrusive I frequently used it to check for other methods on the object instance, or even check the return type for the existing method call. I can't think of any scenario where I would want the code to change unless I actually select an alternative method from the menu.
    Has anybody else had problems with this feature?
    Can I configure it to behave as it did in 10.1.2?
    What's the best way for me to feed back my discontent?
    Does anybody else agree with me that this is not a positive enhancement?!
    Matthew

    Thanks for reporting, I confirmed this behavior in 10.1.3 and the 11 technology preview.
    The good news are that in newer builds of 11 this has been fixed - so you shouldn't be seeing this in the future.
    I filed a bug (#6165291) on this to see if we can get it fixed in a 10.1.3 patch.
    (for now you can just press ctrl+z to return the code to its previous state).

  • 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

  • ANSI join syntax with code-insight

    I've noticed that SQL Developer 1.1.3 doesn't perform code-insight into table aliases when I use the ANSI join sytax. Is there a configuration option to make this possible or does it just not exist yet?

    Hi,
    Currently on SQL Developer 1.2, Windows XP, and Database 9.2
    I have the same problem too.
    The Code-Insight is unable to show the Code Completion for aliased table name in ANSI JOIN
    SELECT *
    FROM    Schema1.Table1 t1
    INNER JOIN Schema1.Table2 t2 ON t2.     -- cannot show the code-insightHowever the following code works just fine for the code-insight
    SELECT *
    FROM    Schema1.Table1 t1,
                  Schema1.Table2 t2
    WHERE t1.Field1 = t2.Field1Any suggestion?
    Regards,
    Buntoro

  • 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

  • 2.1.1: column completition in code insight

    Hello Forum,
    I have some trouble using column completition via code insight. The behavior seems to have been changed from 2.1.0.
    When I enter
    select ma from user_tables;
    place the the cursor after the "ma" and press ctrl-space, I expect (and was used to in previous versions) to get all columns starting with ma (i.e. max_extents and max_trans).
    But in 2.1.1 I get just max. I can circumvent this by writing
    select u.ma from user_tables u;
    Then I get the expected result. Now the question is: can I get the old behavior back?
    It is somewhat annoying to be forced to use an alias even in single table selects. I tried some preferences but they did not help.
    I connect to Oracle 10.2.0.4 on Windows. SQL Developer runs on WinXP.
    Regards,
    dhalek

    Please bear in mind that 30EA introduces new completion problem.
    30EA2/30EA1 : Code Completion
    Regards,
    Buntoro

  • Code Insight and JSP and JDEVELOPER

    Hi everybody
    Does anybody can help me how I can enable code insight feature of jdeveloper?
    Remember that import statement is in jsp tags.
    Thanks a lot
    Shahram

    The Code Insight feature currently only works with .java files.
    null

  • Code insight not working in sql developer 1.1.0.23

    i just downloaded today. insight options all checked in preferences section. popup time set to less than a second. i get nothing to work in sql worksheet or while modifying a package body.

    Hello,
    You should see things from this side sometimes ;-) It's a small team, working hard, very focused! Yes, there is indeed a sense of urgency and we are testing a patch SQL Developer 1.1 at the moment. There is always the battle between wanting to get an updated release to you, the community, quickly, and delaying to ensure what you get is good.
    Code insight, performance and many other issues have been addressed in this patch.
    As for your other point, we want the tool to be lightweight, easy to install, easy to use with a clear user interface. Perhaps there'll be a new battle when adding features, but that's the goal.
    Regards
    Sue

Maybe you are looking for

  • Web.show_document in calling parameter form of a report(solved)

    Hi, Can you please write which is the syntax of calling a report in Dev10g which has a parameter form.....???? something like ....but i don't know how exactly.... param_form_var:='yes'; URL_VAR:='/reports/rwservlet?server='||rep_server_name_var||'&re

  • How do I create a text blast using Messages in an iPhone but without showing the telephone numbers of the recipients to each other?

    We would like to keep that information private.  I only see "To:"  Is there a way to change "To:" to "Bcc:"? Thank you.

  • 2800 Inventory on Modules

    Hello - I am having 2821 Router. I am trying to find out the WAN Interface modules (WIC) installed in the Router. I am using commands "show version" and "show inventory" "show version" gives output 1 Serial interface 2 Channelized T1/PRI ports "show

  • BC4J, OC4J and solaris

    We are developing an JSP application with JDeveloper9i candidate, using BC4J and JBO tags. It works well over Windows NT. Now, we need to deploy that application over Sun Solaris. How I can do that ???. How I install bc4j 5.0 library ?

  • Program opens but won't stay visible

    I have Premier Elements 8 and Windows 7.  Premier Elements is on the taskbar at the bottom of the screen.  I always click on this and then open a previous project.  This week I opened it, I momentarily saw the menu and the entire screen minimized so