Bug in JDev--help OTN

Previously I had reported a problem in trying to define a rowSetInfo for a detail panel. In the queryinfo dialog the columns I was choosing were being ignored after clicking on the OK button. I finally discovered what the problem is. I have one master table and several dependent tables. When I entered the Queryinfo dialog, it would show me the views for the master table on the left and the list of views for the other tables on the right. The one I was selecting was the last one in the list. When I selected the tab to pick the fields it would show me all the available fields in the view. I would pick the ones I wanted, test the query which would work, look at the SQL which was right and then click OK. At which point, the fields I selected were gone.
I finally tried selecting the first view in the list of the Queryinfo dialog. I selected its fields and clicked OK. Lo and behold, it added the columns to the tree in the structure pane and when I reenterd the Queryinfo dialog, it still remembered the correct fields. I then tried selecting different views, from the second to the last in the list, and none of them would remember all of the fields picked nor would they show up in the structure pane. The behavior did not change slightly. They would all remember the first field in the list which turned out to be the foreign key. This is all being done in JDev 3.0. Does this behavior still exist in the later releases? I got around the problem by creating separate business components projects for each required master-detail relationship and then creating separate sessionInfos to assign the appropriate rowInfoSets to.
As long as I have your attention, I noticed that I had forgotten a column in the definition of a rowInfoset. When I go back to the Queryinfo dialog and try to add it in, the edit is ignored after I click OK (sound familiar?). Do I have to delete the rowinfo and start over? If I delete the rowinfo, do I need to break the linkages with the textcontrols on the panel first? This will make development harder because it will be difficult to add and delete fields to aid debugging. I noticed that when I have tried to delete a rowinfoset previously, JDev tends to hang and stops responding. I have to kill it with the task manager.
Thanks in advance for the help.
Peter

I'll see if I can explain my second request in more depth...
I am developing a jsp application using the Struts framework from Apache. The Struts Framework works by having a central "controller" servlet that controls access to server resources. As such, the controller servlet sets up java resource bundles, data beans, etc, for beans and taglibs in my jsp pages to make use of.
The simplest example is a form taglib that struts provides. It provides taglibs for building html forms that key off of a resource bundle.
i.e
<form:text property="username" size="16" maxlength="16"/>
This resource bundle is not initialized until the controller servlet completes its init() method. So, if I run a struts jsp page without first init'ing the servlet, I'll get an error because the taglibs can't locate the bundle they need.
Currently I'm working around this by having a browser window open with the servlet url in it and pressing refresh every time I run a jsp.
Basically, It would be nice to have a "load on startup" feature like Apache JServ has for servlets.
Let me know if you have any other questions

Similar Messages

  • My iPhone 4S can't support camera 360 apps.Once I open the apps 3 sec it will auto jump out to the home page.Look likes the apps crashed.Isn't my iPhone problem or the apps got bug?Please help me.TQ

    My iPhone 4S can't support camera 360 apps.Once I open the apps 3 sec it will auto jump out to the home page.Look likes the apps crashed.Isn't my iPhone problem or the apps got bug?Please help me.TQ

    Close all open apps by double-tapping the home button, then swiping up and off the screen with the app window (not the smaller icon).
    Reset your device: hold down the home button along with the sleep/wake button until the screen goes black and you see the Apple, then let go. (No data loss)

  • How to add to JDev help?

    Can I extend the standard JDev help to include extra API documentation, such as the Mail API doco?

    No, not directly but several indirect ways.
    Let me explain.
    The online help system for JDeveloper is available in two flavors:
    HTML Help (Compressed *.chm files)
    To view this version of the online help, you must have Microsoft Internet Explorer 4.0 or higher installed on your machine. This documentation is packaged in compressed *.chm files. It offers full-text search capabilities.
    **** Because we use compressed CHUM (*.chm) files, it is not possible for you to add your Chum files (even if you had them) to the JDeveloper set.
    WebHelp (Regular HTML files)
    This documentation is packaged in uncompressed *.html files. Note that if you are installing onto a FAT file system (rather than to NTFS), you may need a large amount of disk space because the documentation consists of a large number of small files. The actual disk requirement will depend upon the size of the hard drive and of the sector.
    To add your own help files, you need:
    1. Help Viewer
    2. Help Documentation
    3. Link from JDeveloper or Start menu to the help system.
    You must choose a help viewer (#1) and this will dictate the format of your Help Documentation (#2).
    To get JDeveloper to invoke your help system,
    you can do one of several things:
    1. You can add a menu to the JDeveloper Tools menu simply by editing the [Jdev]\bin\Tools.cfg and inserting a help invocation line in this file.
    2. You can do a similar thing but make the invocation as a link from your windows Start menu (probably in the JDeveloper folder)
    3. You can write an Addin and add the help system to any other location other then the tools menu (e.g. the Help menu).
    So, although you can not link directly into the JDeveloper help system, this is not as much of a restriction as it may seem.
    I hope this helps,
    John - JDeveloper Team
    null

  • My apple ID was hacked and a game by GodGame Inc was bought and installed. When I try to report a problem about this transaction, the link automatically sends me to the apple store support. The application is bugged. Please help.

    My apple ID was hacked and a game by GodGame Inc was bought and installed. When I try to report a problem about this transaction, the link automatically sends me to the apple store support. The application is bugged. Please help.

    thanks for your response roaminggnome. I changed my password immediately after it happened and I have contacted i tunes to let them know of this dillemma.
    The I-tunes credit was a promotional thing by Apple to buy their laptop. So I didn't pay for the i-tunes credit in the first place. Do you think my bank will be able to reinburse Itunes credit then? I will ask support when they get back to me.

  • Bug in JDev 11g 11.1.1.0.2

    In the context of the JavaBean XML Model "Overview" editor i JDev 11g 11.1.1.0.2:
    When I add a validator and specify an appropriate text resource for the error message, JDev deletes my carefully authored description comment from the property resource bundle.

    Hi, I am using Oracle supplied HR schema, table EMPLOYEES. I created EO on EMPLOYEES table. All the attributes show correctly as Persistent first.
    Under Default Value section, I selected Radio Button "SQL" and entered valid Sql statement, Hit save button. I moved to next attribute, then I see. The previous attribute for which I entered Sql statement as default value, turned to Transient. But this is a Persistent attribute. It is not allowing me to change it back to Persistent.
    Hope the above steps will help to reproduce the bug in your system.

  • JDev903 custom tag (bug?)-JDev Team please respond

    JDeveloper is continually hanging while working with custom tags. For example, I will select Add Tag and nothing will happen and JDeveloper stops responding. If I go to End Task, I am told that JDeveloper is waiting for a response, but by then JDev is just a gray window. This behavior becomes more frequent after a change, i.e. change a tag name, try to delete a tag or library. In fact, I have had to completely start over in the creation of a tag library when I notice a necessary change within a tag due to the hanging and disappearance of menu items. Please see previous post, Re: 10.1.3.1 xpath-functions.xml
    Please look into this issue. Our team feels that custom tags could be a valuable tool, but we are RAPID and we don't have time to constantly shut-down and restart our IDE.
    Thanks,
    Deb

    David,
    One thing to try would be JPublisher from the command line. If your problem persists with JPublisher from the command line, then the bug needs to be filed against that product. If not, then the problem is with us.
    In either case, please post your code so we can try to reproduce the error.
    The JPublisher command line facility is documented in the JPublisher User's Guide, available from the Oracle8i 8.1.6 documentation pages on OTN.
    Thanks!

  • Is it bug on JDev 10.1.3.1?

    I tried to define a region using <af:regionDef> tag and registered that region in region-metadata.xml under WEB-INF directory in JDev 10.1.3 and it works fine.
    When I created region-metadata.xml in WEB-INF directory in 10.1.3, I am able to see this file under ‘Resources’ directory as well.
    But when I do the same thing with JDev 10.1.3.1, it is not working at all and I am not able to see region-metadata.xml under ‘Resources’ directory when I created this file under WEB-INF directory.
    1.     Why doesn’t it work on JDev 10.1.3.1?
    2.     Why doesn’t region-metadata.xml appear under ‘Resources’ directory on JDev 10.1.3.1 as it does on JDev 10.1.3?
    Thank you.
    Message was edited by:
    V.Piraba
    null

    It's probably a bug. I recommend you to use 10.1.3.0 if you depend on regions. But if you wannt to stick with 10.1.3.1, as temporary solutions, you can remove <regionDef tags in your region file and things should work ok. I hope this helps.

  • Bug?  JDev Doesn't Remove From CVS

    Has anyone had any problems removing from cvs? I'll remove a view object from cvs, and then erase from disk. I then go out and check the file system where the cvs repository resides and these files still exist. When I do a full checkout into a new workspace these files show up in the project again. Is this a bug?
    -Brian

    hi,
    i am having the same problem when removing a file via cvs. i did removing as follows:
    removing the file via 'Versioning - Remove...'.
    the messages log shows the proper cvs command 'cvs remove -lf filename'
    the 'uncommitted files' view shows the file with status 'scheduled for removal' but the file is not selectable and all commit buttons remain disabled.
    after pressing 'save all' the file disapears from the uncommitted files view.
    now the project file appears in the uncommitted files view with status modified and the 'commit all' button is enabled (but in the Versioning menu the 'commit...' entry is still disabled).
    pressing 'commit all' now does not remove the file from the cvs repository.
    after updating the project from cvs shows the previously removed file again with status 'scheduled for removal'
    jdev version: 9.0.5.2
    os: Windows XP sp1
    cvs client: cvsnt 2.0.41a
    i have tested the removal via cvs command line and it worked as expected.
    i hope this description can help to reproduce the problem.
    regards
    robert

  • Minor display bug in JDev 11g "View Annotation" with Subversion

    Hi all,
    A very minor visual display issue with the "View Annotations" feature of JDev 11g when using a Subversion repository. To reproduce, simply follow these steps:
    1). Open up any source file and right-click in the editor; select Versioning -> View Annotation. The annotations will be shown, and if you right-click again, you will see a check-mark next to the "View Annotation" menu item.
    2). Open another source file. Annotations are not shown. Right-click in the editor; you will see that "View Annotation" menu item displays a check-mark (even though annotations are not shown). Select Versioning -> View Annotation. Annotations are now shown, but you will see the check-mark is no longer displayed.
    To summarize my analysis; it appears that "View Annotation" was intended to be a global setting (as indicated by the check-mark), but is actually implemented on a file-by-file basis. Obviously a very minor display bug not affecting functionality, but a bug nonetheless.
    John

    John,
    I filed a bug
    thanks
    Frank

  • [Bug] Compiler bug in JDev  10.1.3.0.4 (SU5)

    Hello,
    I would like to report a bug with Java 5 compiler in JDev 10.1.3.0.4 (SU5) build JDEV_ADF_10.1.3_NT_030125.0900.3673 regarding covariant return types.
    As of Java 5, it's now possible to override a method with a different return type as long as the new return type is a subclass of the overridden method's return type. JDeveloper compiler will manage that correctly (no compilation error), but will result in a java.lang.AbstractMethodError if the overriding definition come from an interface.
    So the reproduction case is :
    public interface Interface1 {
       public Object myMethod();
    public interface Interface2 extends Interface1 {
      public String myMethod();
    public abstract class AbstractInterface2 implements Interface2 {
    public class MyClass extends AbstractInterface2 {
      public String myMethod() {
        return "Hello"!;
    public static void main(String... args) {
      Interface1 myObject = new MyClass();
      myObject.myMethod();
    }I did not test with other JDev version.
    Regards,
    Simon Lessard

    quick workaround is to set project output directory to the WEB-INF/classes directory and compile the jsp from jdeveloper, oc4j then updates the loaded class file without re-compiling the jsp.
    This works fine, but if I let OC4J try to compile the JSP problem still occurs, anyone have any ideas why either of these problems occur?

  • Bug in JDev 11g: clicking "Run" button won't run active file

    Hi everybody.
    If you start a new Application in Oracle JDeveloper 11g and start creating Java classes, at some point you're bound to create a main() function in one of them to ensure everything is working correctly, even if that class is not your application entry point.
    The problem is that, once you run it the first time, JDev 11g will always attempt to run that original class instead of the file you're currently working on.
    More info:
    - This only happens with the "Run" and "Debug" toolbar buttons and menu items, the keyboard shortcuts (Ctrl-F11 and such) work as expected.
    - The checkbox labeled "Attempt to Run Active File Before Default" in the Launch Settings is selected (The "Default Run Target" textbox is empty).
    I downloaded the JDev 11g version that came WITHOUT a JDK and I'm running Java version 1.6.0_07 on Windows XP.
    Thanks in advance for any help.

    More info on the subject:
    Oracle JDev 11g seems to be unable to detect that there is an active file at all! This is evidenced by the fact that all of the External Tools are inactive at all times.
    Is it JDev's fault, or is it the installed JDK's?

  • View Link Bug!  - JDEV Developers please read.

    This has to be a bug. When I am done with my project for the day I check in the files into PVCS. After check in the files are deleted off my local drive. When I recheck out my project and do a rebuild on the project, I get several View link XML files that say that they are not correct. However when I pull them up in the editor and relink them, there is NO CHANGE to the XML file that stores the DEF. Below is a sample of one of the files. If I go into this view link with the visual editor and reselect the linking nodes, all is fine in JDEV.
    Is this a bug that is being worked on for the next version?
    SAMPLE
    <?xml version='1.0' encoding='windows-1252' ?>
    <!DOCTYPE ViewLink SYSTEM "jbo_03_01.dtd">
    <ViewLink Name="RequestCauseLookupVL">
    <DesignTime>
    <Attr Name="_isCodegen" Value="true"/>
    <Attr Name="_version" Value="10.1.3.36.73"/>
    </DesignTime>
    <ViewLinkDefEnd Name="RequestVO" Cardinality="1"
    Owner="dataAccess.Request.RequestView" Source="true">
    <AttrArray Name="Attributes">
    <Item Value="dataAccess.Request.RequestView.CauseCd"/>
    </AttrArray>
    <DesignTime>
    <Attr Name="_finderName" Value="RequestVO"/>
    <Attr Name="_accessor" Value="true"/>
    <Attr Name="_minCardinality" Value="1"/>
    <Attr Name="_isUpdateable" Value="true"/>
    <Attr Name="_entityAccessor" Value="true"/>
    </DesignTime>
    </ViewLinkDefEnd>
    <ViewLinkDefEnd Name="ReqCause_LOV" Cardinality="1"
    Owner="dataAccess.lov.ReqCause_LOV">
    <AttrArray Name="Attributes">
    <Item Value="dataAccess.lov.ReqCause_LOV.LookupId"/>
    </AttrArray>
    <DesignTime>
    <Attr Name="_finderName" Value="ReqCause_LOV"/>
    <Attr Name="_accessor" Value="true"/>
    <Attr Name="_isUpdateable" Value="true"/>
    <Attr Name="_entityAccessor" Value="true"/>
    </DesignTime>
    </ViewLinkDefEnd>
    </ViewLink>

    Hi Steve,
    JDev appears to be updating the viewlink files. I have not edited any of them and they all have the timestamp of when i closed JDev last Friday:
    -rw-rw-rw-   1 user     group        1236 Sep  1 16:45 ApprovalDetailsFkLink.xml
    -rw-rw-rw-   1 user     group        1224 Sep  1 16:45 InvestigatorsFkLink.xml
    -rw-rw-rw-   1 user     group        1260 Sep  1 16:45 MulticentreProjectsFkLink.xml
    -rw-rw-rw-   1 user     group        1258 Sep  1 16:45 PrjWorklistItemsFkLink.xml
    -rw-rw-rw-   1 user     group        1200 Sep  1 16:45 FieldBasedFKLink.xml
    -rw-rw-rw-   1 user     group        1195 Sep  1 16:45 GmAnimalsFKLink.xml
    -rw-rw-rw-   1 user     group        1225 Sep  1 16:45 HarmfulFKLink.xml
    -rw-rw-rw-   1 user     group        1032 Sep  1 16:45 ObservationFKLink.xml
    -rw-rw-rw-   1 user     group        1226 Sep  1 16:45 OtherInvestigatorsFKLink.xml
    -rw-rw-rw-   1 user     group        1196 Sep  1 16:45 OtherPartiesFKLink.xml
    -rw-rw-rw-   1 user     group        1028 Sep  1 16:45 PermitsFKLink.xml
    -rw-rw-rw-   1 user     group        1206 Sep  1 16:45 ProjectPartiesFKLink.xml
    -rw-rw-rw-   1 user     group        1042 Sep  1 16:45 RespInvestigatorsFkLink.xml
    -rw-rw-rw-   1 user     group        1012 Sep  1 16:45 SurgeryFKLink.xml
    -rw-rw-rw-   1 user     group        1190 Sep  1 16:45 TeachingFKLink.xmlthe CVS looks like this (August 24 was when i deleted them all from CVS and re-added them):
    -r--r--r--    1 banstey  dba          1347 Aug 24 09:51 ProjectPartiesFKLink.xml,v
    -r--r--r--    1 banstey  dba          1172 Aug 24 09:51 PermitsFKLink.xml,v
    -r--r--r--    1 banstey  dba          1337 Aug 24 09:51 OtherPartiesFKLink.xml,v
    -r--r--r--    1 banstey  dba          1367 Aug 24 09:51 OtherInvestigatorsFKLink.xml,v
    -r--r--r--    1 banstey  dba          1176 Aug 24 09:51 ObservationFKLink.xml,v
    -r--r--r--    1 banstey  dba          1399 Aug 24 09:51 PrjWorklistItemsFkLink.xml,v
    -r--r--r--    1 banstey  dba          1401 Aug 24 09:51 MulticentreProjectsFkLink.xml,v
    -r--r--r--    1 banstey  dba          1365 Aug 24 09:51 InvestigatorsFkLink.xml,v
    -r--r--r--    1 banstey  dba          1377 Aug 24 09:51 ApprovalDetailsFkLink.xml,v
    -r--r--r--    1 banstey  dba          1325 Aug 24 09:51 AnimalFKLink.xml,v
    -r--r--r--    1 banstey  dba          1331 Aug 24 09:51 TeachingFKLink.xml,v
    -r--r--r--    1 banstey  dba          1186 Aug 24 09:51 RespInvestigatorsFkLink.xml,v
    -r--r--r--    1 banstey  dba          1341 Aug 30 11:37 AnimalCareFKLink.xml,v
    -r--r--r--    1 banstey  dba          1341 Aug 30 11:38 FieldBasedFKLink.xml,vTimestamps of my associations are all over the place, which is consistent with the creation process.
    Will do an unchanged commit and post the results.
    regards,
    Brenden

  • Bug in JDev 9.0.3.3: Adding new attributes

    for me, it's seems to be a bug when:
    - you have an existing view object with attributes of two EOs
    - add new attributes from the EOs to the view object (in our case the column names are identical, JDev names them to TCN and TCN1 in the select-statement of the query)
    - update of the query of the view object doesn't properly work as well as attribute mapping shows that my new attributes are transient
    - removing all attributes from the view object and reassigning them again leads to a strange attribute mapping, i.e. now I have to set them again by manual.
    Does anyone have the same experience with attribute removal and addtion of view objects?
    Regards,
    Stefan

    Stefan,
    I tried to reproduce it with my 9.0.3.3 (Build 1205) installation but wasn't successful. Here's what I did:
    1. Create 2 entities
    2. Create one VO based on the two
    3. Run it
    4. Edit the VO and add an attribute from the second entity having the same name
    5. Run it
    There must be something that you do differently from what I describe. Can you try to find ou what it is?
    Frank

  • To Jdev, Help Please...

    Env
    OS Nt SP 4
    ORACLE 8.1.6.0
    Jdev 3.2
    Oracle 8.1.7 Jdbc
    java.sql.SQLException: ORA-01722: invalid number void oracle.jdbc.dbaccess.DBError.throwSqlException(java.lang.String, java.lang.String, int) (DBError.java:168) int oracle.jdbc.oci8.OCIDBAccess.check_error(int, oracle.jdbc.oci8.OCIDBStatement) (OCIDBAccess.java:1597) int oracle.jdbc.oci8.OCIDBAccess.fetch(oracle.jdbc.dbaccess.DBStatement, oracle.jdbc.dbaccess.DBDataSet, int) (OCIDBAccess.java:1410) void oracle.jdbc.driver.OracleStatement.doExecuteQuery() (OracleStatement.java:1681) void oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout() (OracleStatement.java:1870) java.sql.ResultSet oracle.jdbc.driver.OracleStatement.executeQuery(java.lang.String) (OracleStatement.java:538) void Boa.BoaPantallas.paquetes(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) (BoaPantallas.java:1186) void Boa.BoaPantallas.execute(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) (BoaPantallas.java:1377) void Boa.BoaProject.performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) (BoaProject.java:180) void Boa.BoaProject.doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) (BoaProject.java:46) void javax.servlet.http.HttpServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) (HttpServlet.java:760) void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse) (HttpServlet.java:853) void oracle.lite.web.JupServlet.service(oracle.lite.web.JupRequest, oracle.lite.web.JupResponse) (JupServlet.java:186) void oracle.lite.web.AppServletHandler.handle(java.lang.String, int, oracle.lite.web.JupRequest, oracle.lite.web.JupResponse) (AppServletHandler.java:280) void oracle.lite.web.JupApplication.service(oracle.lite.web.JupRequest, oracle.lite.web.JupResponse) (JupApplication.java:301) void oracle.lite.web.JupHandler.handle(oracle.lite.web.JupRequest, oracle.lite.web.JupResponse) (JupHandler.java:94) void oracle.lite.web.HTTPServer.process(oracle.lite.web.JupRequest, oracle.lite.web.JupResponse) (HTTPServer.java:295) boolean oracle.lite.web.HTTPServer.handleRequest(oracle.lite.web.JupInputStream, oracle.lite.web.JupOutputStream) (HTTPServer.java:162) boolean oracle.lite.web.JupServer.handle(oracle.lite.web.JupInputStream, oracle.lite.web.JupOutputStream) (JupServer.java:280) void oracle.lite.web.SocketListener.process(java.net.Socket) (SocketListener.java:148) void oracle.lite.web.SocketListener$ReqHandler.run() (SocketListener.java:199)
    Select
    SUBSTR(A.RAZONSOCIAL_ASE,1,30) ASEGURADORA,
    A.CVE_ASE CVE_ASEGURADORA,
    TO_CHAR (SUM (DECODE (SUBSTR(P.DESCRIPCION_PAQ,1,2),'AM',TO_NUMBER(PRO.FORMULA),0)),'FM$999,999,990.00') AMPLIA,
    SUM (DECODE (SUBSTR(P.DESCRIPCION_PAQ,1,2),'AM',PRO.CVE_PRODUCTO,0)) PROAM,
    TO_CHAR (SUM (DECODE (SUBSTR(P.DESCRIPCION_PAQ,1,2),'LI',TO_NUMBER(PRO.FORMULA),0)),'FM$999,999,990.00') LIMITADA,
    SUM (DECODE (SUBSTR(P.DESCRIPCION_PAQ,1,2),'LI',PRO.CVE_PRODUCTO,0)) PROLI,
    TO_CHAR (SUM (DECODE (SUBSTR(P.DESCRIPCION_PAQ,1,2),'RC',TO_NUMBER(PRO.FORMULA),0)),'FM$999,999,990.00') RC,
    SUM (DECODE (SUBSTR(P.DESCRIPCION_PAQ,1,2),'RC',PRO.CVE_PRODUCTO,0)) PRORC
    FROM ASEGURADORA A, CONVENIO C, PAQUETES P, PRODUCTOS PRO
    WHERE
    *********** Problem Lines
    PRO.CVE_VEHICULO = 25468
    AND PRO.CVE_MODELO = 1996
    *********** Problem Lines
    AND PRO.CVE_CONVENIO <> 'CNVTND01'
    AND PRO.CVE_CONVENIO LIKE '%TV%'
    AND C.CVE_CONVENIO = PRO.CVE_CONVENIO
    AND C.CVE_ASE = A.CVE_ASE
    AND PRO.CVE_PAQUETE = P.CVE_PAQUETE
    GROUP BY SUBSTR(A.RAZONSOCIAL_ASE,1,30), A.CVE_ASE
    ORDER BY 1
    Hi, I need your help with that query
    It runs ok in SQL-PLUS
    And If the Problem lines are changed for
    this:
    "PRO.CVE_VEHICULO = 1
    AND PRO.CVE_MODELO = 2000" runs ok
    I4ve been testing with thin driver and It4s the same thing.
    What4s wrong with my query.
    Thank very much for your help.

    Env
    OS Nt SP 4
    ORACLE 8.1.6.0
    Jdev 3.2
    Oracle 8.1.7 Jdbc
    java.sql.SQLException: ORA-01722: invalid number void oracle.jdbc.dbaccess.DBError.throwSqlException(java.lang.String, java.lang.String, int) (DBError.java:168) int oracle.jdbc.oci8.OCIDBAccess.check_error(int, oracle.jdbc.oci8.OCIDBStatement) (OCIDBAccess.java:1597) int oracle.jdbc.oci8.OCIDBAccess.fetch(oracle.jdbc.dbaccess.DBStatement, oracle.jdbc.dbaccess.DBDataSet, int) (OCIDBAccess.java:1410) void oracle.jdbc.driver.OracleStatement.doExecuteQuery() (OracleStatement.java:1681) void oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout() (OracleStatement.java:1870) java.sql.ResultSet oracle.jdbc.driver.OracleStatement.executeQuery(java.lang.String) (OracleStatement.java:538) void Boa.BoaPantallas.paquetes(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) (BoaPantallas.java:1186) void Boa.BoaPantallas.execute(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) (BoaPantallas.java:1377) void Boa.BoaProject.performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) (BoaProject.java:180) void Boa.BoaProject.doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) (BoaProject.java:46) void javax.servlet.http.HttpServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) (HttpServlet.java:760) void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse) (HttpServlet.java:853) void oracle.lite.web.JupServlet.service(oracle.lite.web.JupRequest, oracle.lite.web.JupResponse) (JupServlet.java:186) void oracle.lite.web.AppServletHandler.handle(java.lang.String, int, oracle.lite.web.JupRequest, oracle.lite.web.JupResponse) (AppServletHandler.java:280) void oracle.lite.web.JupApplication.service(oracle.lite.web.JupRequest, oracle.lite.web.JupResponse) (JupApplication.java:301) void oracle.lite.web.JupHandler.handle(oracle.lite.web.JupRequest, oracle.lite.web.JupResponse) (JupHandler.java:94) void oracle.lite.web.HTTPServer.process(oracle.lite.web.JupRequest, oracle.lite.web.JupResponse) (HTTPServer.java:295) boolean oracle.lite.web.HTTPServer.handleRequest(oracle.lite.web.JupInputStream, oracle.lite.web.JupOutputStream) (HTTPServer.java:162) boolean oracle.lite.web.JupServer.handle(oracle.lite.web.JupInputStream, oracle.lite.web.JupOutputStream) (JupServer.java:280) void oracle.lite.web.SocketListener.process(java.net.Socket) (SocketListener.java:148) void oracle.lite.web.SocketListener$ReqHandler.run() (SocketListener.java:199)
    Select
    SUBSTR(A.RAZONSOCIAL_ASE,1,30) ASEGURADORA,
    A.CVE_ASE CVE_ASEGURADORA,
    TO_CHAR (SUM (DECODE (SUBSTR(P.DESCRIPCION_PAQ,1,2),'AM',TO_NUMBER(PRO.FORMULA),0)),'FM$999,999,990.00') AMPLIA,
    SUM (DECODE (SUBSTR(P.DESCRIPCION_PAQ,1,2),'AM',PRO.CVE_PRODUCTO,0)) PROAM,
    TO_CHAR (SUM (DECODE (SUBSTR(P.DESCRIPCION_PAQ,1,2),'LI',TO_NUMBER(PRO.FORMULA),0)),'FM$999,999,990.00') LIMITADA,
    SUM (DECODE (SUBSTR(P.DESCRIPCION_PAQ,1,2),'LI',PRO.CVE_PRODUCTO,0)) PROLI,
    TO_CHAR (SUM (DECODE (SUBSTR(P.DESCRIPCION_PAQ,1,2),'RC',TO_NUMBER(PRO.FORMULA),0)),'FM$999,999,990.00') RC,
    SUM (DECODE (SUBSTR(P.DESCRIPCION_PAQ,1,2),'RC',PRO.CVE_PRODUCTO,0)) PRORC
    FROM ASEGURADORA A, CONVENIO C, PAQUETES P, PRODUCTOS PRO
    WHERE
    *********** Problem Lines
    PRO.CVE_VEHICULO = 25468
    AND PRO.CVE_MODELO = 1996
    *********** Problem Lines
    AND PRO.CVE_CONVENIO <> 'CNVTND01'
    AND PRO.CVE_CONVENIO LIKE '%TV%'
    AND C.CVE_CONVENIO = PRO.CVE_CONVENIO
    AND C.CVE_ASE = A.CVE_ASE
    AND PRO.CVE_PAQUETE = P.CVE_PAQUETE
    GROUP BY SUBSTR(A.RAZONSOCIAL_ASE,1,30), A.CVE_ASE
    ORDER BY 1
    Hi, I need your help with that query
    It runs ok in SQL-PLUS
    And If the Problem lines are changed for
    this:
    "PRO.CVE_VEHICULO = 1
    AND PRO.CVE_MODELO = 2000" runs ok
    I4ve been testing with thin driver and It4s the same thing.
    What4s wrong with my query.
    Thank very much for your help.

  • Bug in JDev 9.0.3.3 when using derived views

    Hi,
    I observed in JDev 9.0.3.3 the following behavior when
    using derived views:
         -I'm creating the view V1 based on the entity E1, add to it a couple of fields from E1 without generating Java files and close the wizard
         -now I'm trying to create another view V1Ext that extends V1; when I try to add to V1Ext new fields from E1, the corresponding wizard button is disabled!!
    Regards,
    Dan

    If you whant to add additional attributes from E1 you must now the "magic clue" to tell Jdeveloper to make E1 editable. As far as I know this is not a bug, but a "feature" of JDeveloper:
    Do the following:
    In the ViewObject Wizard go to the Entities page and mark the Entity E1 on the left and also mark Entity E1 on the right. Now you will realize that the Button ">" will be enabled. If you click on it you will be asked if you "want to update Entity E1 with E1..." (don't know the actual message, sorry). Press "OK" and you will be able to edit attributes of E1.
    It's magic, isn't it?

Maybe you are looking for