Question about oracle.jbo.Row

Hi all!
I have a ResultSet (for example ResultSet rs) with the result of a query. Now, I need fill out a line of ResultSet data line object (for example line rw).
I've invoked rs.next () method, but how can I assign these values to the rw?
Thank you for your time and your answers.
JDeveloper version 11.1.2.2.0

Best regards, Stanislav

Stanislav,

Why do you want to get the data into a line object, if you do not have a VO? That is to say, what you're going to do with the line object that you build from the updated result? Can you explain your usecase?

Arun-

Tags: Java

Similar Questions

  • by using the DCDataRow class instead of the oracle.jbo.Row interface

    Hello

    The API documentation says that class oracle.adf.model.bean.DCDataRow extends oracle.jbo.server.ViewRowImpl and implements oracle.jbo.Row.

    -In the case of a reply in another forum thread, Re: best way to recover an attributeValue of links in a backing bean?:
    ""Btw.: you can cast DCDataRow, which is the super class for data models that do not work with oracle.jbo.Row, ".
    -Also in oct2010-otn-harvest - 183714.pdf it says:
    "As I mentioned earlier, the business can be anything, casting, in which case the line type for the type of business ADF oracle.jbo.Row component may not be a generic solution to use. In this case, the type of line to DCDataRow cast
    DCDataRow vRow = (DCDataRow) vDCIteratorBinding.getCurrentRow ();
    "

    This sample application uses the DCDataRow class instead of the oracle.jbo.Row interface
    at http://www.consideringred.com/files/oracle/2010/Thread1665841AttributeValuesApp-v0.03.zip
      public String getMyNameFromIterator()
      {
        BindingContainer vBindingContainer =
           BindingContext.getCurrent().getCurrentBindingsEntry();
        DCBindingContainer vDCBindingContainer = (DCBindingContainer)vBindingContainer;
        DCIteratorBinding vDCIteratorBinding =
           vDCBindingContainer.findIteratorBinding("findSomeMyRowsIterator");
        DCDataRow vDCDataRow = (DCDataRow)vDCIteratorBinding.getCurrentRow();
        return (String)vDCDataRow.getAttribute("myName");
      }
    question
    -(q1), which would be the more detailed explanation about when and why to make a cast of the class oracle.adf.model.bean.DCDataRow instead of the oracle.jbo.Row of the interface in managed bean code?

    Thank you very much
    Jan Vervecken

    Hello

    the answer to that is that I was wrong. DCDataRow is not the super class, but one of the classes of implementation. I'll fix the entrance of the harvest with the next update. Indeed line runs through implementations

    Frank

  • Question about Oracle schema E/R database dictionary

    Hello

    As we know, the dictionary in an Oracle database is a fairly large beast. I was wondering if there was an ERD of the tables/views most commonly used or available useful. That would make familiar you with the dictionary quite a little easier.

    I've been Googling for such a scheme, but without success.

    The question is: does anyone know where such a diagram might be available? If Yes, where?

    Thank you for your help,

    John.

    Are you talking about view DBA_xxx (DBA_TABLES, DBA_USERS, etc.) or V$? If you're talkink about DBA_xxx views, please google with "poster oracle dictionary '..."

    Edited by: P. Forstmann on Sept. 5. 2010 18:57

  • Question about oracle objects

    Hi people

    I came across the below example on the oracle documentation.

    I'm not quite sure why "emp is NULL #2' always get printed even if the Member attribute is assigned a value that should be non-NULL and" ""emp is NULL #3"isn't even after printing has been assigned to the object with a NULL value."

    Can one of you you please explain about it. or give the overview of the conditions of the NULLable object. Thank you!!

    DECLARE

    EMP employee_typ; -emp is atomically null

    BEGIN

    If emp IS NOTHING THEN DBMS_OUTPUT. Put_line ("emp is NULL #1"); END IF;

    IF emp.employee_id IS NULL THEN

    DBMS_OUTPUT. Put_line ("emp.employee_id is NULL #1");

    END IF;

    EMP.employee_id: = 330;

    If emp IS NOTHING THEN DBMS_OUTPUT. Put_line ("emp is NULL #2"); END IF;

    IF emp.employee_id IS NULL THEN

    DBMS_OUTPUT. Put_line ("emp.employee_id is NULL #2");

    END IF;

    EMP: = employee_typ (NULL, NULL, NULL, NULL,

    NULL, NULL, NULL, NULL, NULL, NULL, NULL,

    address_typ (NULL, NULL, NULL, NULL));

    -emp: = NULL; -It would have made the following statement of the TRUE IF

    If emp IS NOTHING THEN DBMS_OUTPUT. Put_line ("emp is NULL #3"); END IF;

    IF emp.employee_id IS NULL THEN

    DBMS_OUTPUT. Put_line ("emp.employee_id is NULL #3");

    END IF;

    EXCEPTION

    WHEN ACCESS_INTO_NULL THEN

    DBMS_OUTPUT. Put_line ('impossible to assign object NULL value');

    END;

    /

    The result is:


    EMP is NULL #1
    EMP.employee_id is NULL #1
    EMP is NULL #2
    EMP.employee_id is NULL #3

    I came across the below example on the oracle documentation.

    I'm not very sure why 'emp is NULL #2' always get printed even if the Member attribute is assigned a value that should be non-NULL and ' emp is NULL #3 "is not get printed even though the object is assigned to null."

    Can one of you you please explain about it. or give the overview of the conditions of the NULLable object.

    Have you actually tried this example? Why not?

    The best and often faster, learn is to DO - not just read.

    If you tried this example, you would see that you have been "bitten" by a documentation bug.

    EMP.employee_id: = 330;

    That the line of code won't work - it will trigger an exception is the output you get really

    PEM is NULL #1

    EMP.employee_id is NULL #1

    Can't assign value to the NULL object

    PL/SQL procedure successfully completed.

    SQL >

    The 'emp' instance has the value NULL as shows it the first message. If you cannot assign the 330 value him.

    For others, the example seems to be the Oracle documentation

    http://docs.Oracle.com/CD/B19306_01/AppDev.102/b14261/objects.htm#CIHEJIBA

  • Question about Oracle sequences

    Please let me know if this question is not the subject of this forum and advise which forum I should post it. Thank you.

    We have a database 10g running on the AIX servers. A process of data loading was recently, and the development team is of the opinion that the question can be corrupted in the database sequence. This sequence is used to generate a unique primary key for writing in a table.

    Are there problems with 10g about the objects sequence database becomes corrupted? If so, is there a Metalink note published on a fix?

    Thank you all for a light on this topic.

    Hello

    Interview the max value of your column of tabale, in order to know the populeted of the maximum value of the sequence, compare it your currval in the sequence, and the maximum value for the column. If the values are not the same and the currval is lower than the max value, you will probably have the constraint violation, then increment the value of your sequence curr.

    Concerning

  • Technical questions about Oracle Linux

    What is the ideal RAM should I assign to my virtual machine to run Oracle 12 c for personal use.

    Personal use - convenient, cloning, backup of the database. Recovery of database of .dbf file. Sqldeveloper execution. Thanks in advance.

    I did it with 2 GB of RAM dedicated to the virtual machine. If you host only has 4 GB of RAM, so you may not be able to run many other in the VM host upward.

    That being said, I have usually at least 8 GB of RAM on my laptop work/computers positions of our days, if not more. With 8GB, I can create a 4 GB VM and have a better experience.

    See you soon,.
    Brian

  • Questions about oracle advanced concepts

    All,

    Database version: 11.2.0.3

    How can we identify if my database using GG (Golden Gate), ADG (Active Data Guard), TDE (Transparent Data Encryption), advanced security option?

    Are there tables to display these details?

    Thank you

    A lot of information characteristic use is available in the http://docs.oracle.com/cd/E11882_01/server.112/e25513/statviews_3181.htm#I1023396 views DBA_FEATURE_USAGE_STATISTICS
    Some features are available, but require to pay for a license if you use them, so check with your DBA before being the first to use one, or it could cost a lot of money.
    Same V$ OPTION lists the options that are installed, but they could not be approved.

    Oracle Enterprise Manager displays DBA_FEATURE_USAGE_STATISTICS information on the server 'Use of database feature see' page.

    For example
    Select Name, version, Detected_usages of DBA_FEATURE_USAGE_STATISTICS

    where upper(name) like '%GOLDEN%' or upper(name) like '%ACTIVE%'
    or upper(name) like '%TRANSPARENT DATA%' or upper(name) like '%SECURITY%'
    
    NAME                                                             VERSION           DETECTED_USAGES
    ---------------------------------------------------------------- ----------------- ---------------
    Active Data Guard - Real-Time Query on Physical Standby          11.2.0.3.0                      0
    GoldenGate                                                       11.2.0.3.0                      0
    Transparent Gateway                                              11.2.0.3.0                      0
    Transparent Data Encryption                                      11.2.0.3.0                      0
    Label Security                                                   11.2.0.3.0                      0
    
    select parameter, value from v$option
    where upper(parameter) like '%GOLDEN%' or upper(parameter) like '%ACTIVE%'
    or upper(parameter) like '%TRANSPARENT DATA%' or upper(parameter) like '%SECURITY%';
    
    PARAMETER                                                        VALUE
    ---------------------------------------------------------------- ----------------------------------------------------------------
    Enterprise User Security                                         TRUE
    Oracle Label Security                                            FALSE
    Transparent Data Encryption                                      TRUE
    Active Data Guard                                                TRUE
    

    Do not trust with value = TRUE in the parameter $ v as meaning that you can use a feature - you might not be allowed - but if it's WRONG you certainly cannot.

  • Question about Oracle identity analytics

    Hello

    Is it possible in Oracle identity analytics (version 11.1.1.3.0) to compare the datas in OIA and data in LDAP for example?

    The goal is to see the differences between this 2 databases for roles and strategies.

    If possible, can you tell me how to make that comparison?

    Thanks for your help...

    I think not - OIA with no agents / connectors. What you can be able to model the data in the LDAP protocol as a resource in OIA and run a report against that?

  • Hi I have a question about the unique row function executed a query "select lower ('test' |)» SYSDATE + 1) twice; "fails when as" Select lower (sysdate + 1 |) " (' test') twice; "is executed without error?

    SQL > select lower (sysdate + 1 |) (' test') twice;

    LOWER (SYSDATE + 1

    ---------------

    07 jul-2014test

    SQL > select lower ('test' | + 1 sysdate) twice;

    Select lower ('test' | sysdate + 1) of the double

    *

    ERROR on line 1:

    ORA-01722: invalid number

    The query fails because it cannot perform arithmetic (+ 1) on a channel not digital.  However, the query that successfully interpreted the arithmetic in the first place, that it concatenated the string 'test' to it...  Make sense?

  • question about Oracle answers / Business Model

    Hello

    In a table of 'Projects', one of the attributes is work_time.
    I need to create a report in similar responses with a bellows:

    Working time | County
    1 - 10 days | 10
    11-20 days | 100
    ...................

    Can it be fixed when creating the repository? Or in the answers?
    I can solve it side DB, but maybe there is a way to do in BI...

    Thank you!

    Hello

    You can use

    cast(truncate(("Projects.work_time"-1)/10,0) * 10 as char) || ' - ' || cast(truncate(("Projects.work_time"+9)/10,0) * 10 as char) || ' days'
    

    Concerning
    Nicolae

  • Question about Oracle Query Builder

    Hi all

    I'm under Query Builder Version 6.0.7.1.0 to execute a SQL statement. He returned 19200 lines. When I try to export data in the CSV file, it exports only 19000 lines and gives the following error:

    OBE-15502: can have only 19000 lines per document

    Anyone know the cause of the error above? This is a limitation of the export of the query designer or I have some problems of configuration?

    Thank you
    Zahid

    I know the 16000 (not 19000) limit and this limit is coded hard and cannot be changed.

    Werner

  • Questions about the reorganization of the rows in the table by drag-and - drop feature

    I am referring to the demo: 106. Drag-and-drop the reorganization of the rows of the table in aCorner of Code DF to implement my case.

    I am facing some problems:

    1. the view object (bound to the table) is read only and it is created directly by very complex SQL queries, without entity objects. When it is run the code: dragRow.removeAndRetain () in the method: DnDAction processDrop (DropEvent dropEvent), it throws the error so that a guest view object is read-only. I want to know if there is another way to delete the moved collection line?

     public DnDAction processDrop(DropEvent dropEvent) {
    ...       
           CollectionModel collectionModel = (CollectionModel) table.getValue();        
            JUCtrlHierBinding treeBinding = (JUCtrlHierBinding) collectionModel.getWrappedData();
            
            //get access to the ADF iterator binding used by the table and the underlying RowSetIterator.
            //The RowSetIterator allows us to remove and re-instert the dragged row
            DCIteratorBinding departmentsIterator = treeBinding.getDCIteratorBinding();               
            RowSetIterator rsi = departmentsIterator.getRowSetIterator(); 
    
            int indexOfDropRow= rsi.getRangeIndexOf(dropRow);
           //get access to the oracle.jbo.Row instance represneting this table row
           Row dragRow = (ViewRowImpl)table.getRowData(draggedRowKey);
           //remove dragged row from collection so it can be added back
           dragRow.removeAndRetain();
           rsi.insertRowAtRangeIndex(indexOfDropRow, dragRow);
          ...
    }
    

    2. When you click on a button, I need to save the command results in the database using the command update # of each rank. Here it is the handler method for the event of the action (in MB) button.

    I want to use RowSetIterator table for encode it from all ranks and update the value # order of each rank.   I call a data control method to run sql update. is it ok? any suggestion?

        public void processSaveOrder(ActionEvent actionEvent) {
            CollectionModel collectionModel = (CollectionModel) mytable.getValue();        
            JUCtrlHierBinding treeBinding = (JUCtrlHierBinding) collectionModel.getWrappedData();
            
            //get access to the ADF iterator binding used by the table and the underlying RowSetIterator.
            //The RowSetIterator allows us to remove and re-instert the dragged row
            DCIteratorBinding iterator = treeBinding.getDCIteratorBinding();               
            RowSetIterator rsi = iterator.getRowSetIterator();
            Row row =rsi.first();
            System.out.println(0+"="+ row);
            int i = 1;
            while(rsi.hasNext()){
                row = rsi.next();
                System.out.println(i+"="+ row.getKey());
                i++;
            }
    
        }
    

    A workaround solution was found:

    In ADF 12 c, it can be solved by changing Updatable "Always" in the details tab of each attributes to read-only view object without entity object.

  • Question about the Oracle database resource management

    Good evening
    I have a question about Oracle database Resource Management (DRM) for Oracle Database 10 g. I had an incident which, in a development/UAT environment (different instances, same box, don't ask), a developer wrote a wrong SQL statement that consumed 99% of the CPU. Currently, there is no limit of resources on two cases of db, and the developers don't want limits. However, my manager wants a method to prevent something like this does not happen. If I use the Oracle database resources management, create a consumer group (called "DevEnv") at 40% CPU usage, what will happen if a user of DevEnv runs a bad SQL statement that normally consumes 90% CPU again? Anyone would take a different approach? Thank you.

    Sincerely,
    Sho Fukamachi

    782718 wrote:
    If users in the case of "db_uat" use 60% CPU would be users who belongs to DevEnv pending 'db_test' cannot be used more than 40% CPU, so their queries become slower at their end? I would like to know if this behavior works the same in an environment of multiple instances. Thank you.

    Yes, because the available processor would be 40%, they use more, while.

  • A question about the license of Oracle 1 g R2 Enterprise Edition

    Hi all


    I have a question about Oracle license and I would be grateful if you could help me thanks.

    I installed an Oracle (11g R2 Enterprise edition) server on a virtual linux machine. The pc being used for this purpose
    is my cell phone company (so a professional and not a personal computer). However, I use this Oracle Server
    only for the purpose, i.e. learning only to run the examples in my Oracle Press books (SQL, PL/SQL and some)
    administrative tasks) just to learn things.

    There is absolutely no data related to my business, stored or used on this server. Whenever I want to work with my
    data of the company, I use the Oracle server of the company that has the appropriate license of course. So, as I said, I
    Use this server of the company on the virtual machine only to run applications/programs in my Oracle Press books just for
    learning and I'm the only person who uses this server (no remote for other users).

    The reason why I needed to install this server on my PC, is that our DBA could not provide a training environment
    for me, with all the privileges and features.


    Should I buy a license for this Enterprise Server installed on my virtual machine?


    Thanks in advance,
    Dariyoosh

    The OTN license agreement:

    >
    LICENSE RIGHTS
    We grant an exclusive, non-transferable, limited license to use the programs only for the purpose of developing, testing, prototyping and demonstrating your application and not for other purposes. If you use the application you develop in this licence for any internal or for any commercial or purposes data processing production, or you want to use the programs for purposes other that those permitted under this agreement, you must get a production version of the program by contacting us or a reseller of Oracle to obtain the appropriate license. You acknowledge that we may not produce a production version of the programme and the development efforts undertaken by you at your own risk. We can check your use of the programs. Program documentation, if any, may be consulted online at http://otn.oracle.com/docs.

    Ownership and Restrictions all retain us the property and rights of intellectual property in the programs. Programs can be installed on a single computer only and worn by one person in the operating environment identified by us. You can make a copy of the program for backup purposes.

    You can not:
    -Use programs for your own internal data processing or for commercial or production purposes, or programs for any purpose except the development of your application.
    -use the applications you develop with programs for any internal data processing or commercial or production without obtaining an adequate license from us;
    -continue to develop your application after using for any treatment data internal, commercial or production end without obtaining an adequate license from us, or Oracle reseller;
    -remove or change any brand of program or a statement of property rights;
    -put the programs available in any manner to a third party;
    -Use programs to provide a third of training;
    -assign this contract or give or transfer the programs or interest to them to another person or entity; -cause or permit engineering reverse (unless required by law for interoperability), disassembly or decompilation of the programs;
    -disclose the results of benchmark tests of any program without our prior written consent.

  • oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: Houston-271

    Hi all

    I am trying to create a VO dynamic on the fly in my extended controller and I'm getting the following error stack. I get the error when I put it

    xxOnTheFlyViewObject.setWhereClauseParam (0, str2); Please help me ASAP


    The controller code:

    String str2 = pageContext.getParameter ("ASNReqFrmCustId");




    System.out.println ("in processRequest" + radioValue);
    If (flag is nothing)
    {
    OAM OAApplicationModule = pageContext.getApplicationModule (webBean);
    OAMessageRadioGroupBean rGBean1 = (OAMessageRadioGroupBean) webBean.findIndexedChildRecursive ("RadioGroup");
    String xxOnTheFlyVOQuery = "select (Address1 | ',' |)» City | ',' || Country | «, » || Zip_code) address of HZ_ORG_PROFILES_CPUI_V «;»
    / * String sWhereClauseValue = "33604." * /
    ViewObject xxOnTheFlyViewObject = oam.findViewObject("xxFNDUserDescVO");
    If (xxOnTheFlyViewObject is nothing)
    xxOnTheFlyViewObject = oam.createViewObjectFromQueryStmt ("xxFNDUserDescVO", xxOnTheFlyVOQuery);

    xxOnTheFlyVOQuery = xxOnTheFlyVOQuery + ' where party_id =: 1 '; "
    xxOnTheFlyViewObject.setWhereClauseParams (null);
    xxOnTheFlyViewObject.setWhereClauseParam (0, str2);
    pageContext.writeDiagnostics (this, "@ is the ID of the part" + str2, 1);

    xxOnTheFlyViewObject.executeQuery ();
    line oracle.jbo.Row = xxOnTheFlyViewObject.first ();
    String mSupHierarchyUsed = row.getAttribute (0) m:System.NET.SocketAddress.ToString ();
    get the value of the description column of the View returned record object
    If (line! = null)
    {
    String mSupHierarchyUsed1 = row.getAttribute (0) m:System.NET.SocketAddress.ToString ();
    System.out.println ("dynamic result of VO is = >" + mSupHierarchyUsed1);
    }
    Remove the view object, as it is no longer necessary
    xxOnTheFlyViewObject.remove ();
    xxOnTheFlyViewObject.remove ();
    System.out.println ("the value of the radio button is" + rGBean1);
    rGBean1.setSelectionValue (pageContext, "XXCONTACT_ADDR_BUTTON1");
    OAMessageTextInputBean headerBean = (OAMessageTextInputBean) webBean.findIndexedChildRecursive ("ASNCtctSelAddr");
    pageContext.writeDiagnostics (this, "@ the query that runs" + headerBean, 1);
    headerBean.setText (pageContext, mSupHierarchyUsed);
    }


    Error page
    Details of the exception.
    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: 27122 Houston: SQL error in the preparation of the statement. Instruction: select (Address1 |) ',' || City | ',' || Country | «, » || Zip_code) address HZ_ORG_PROFILES_CPUI_V
    at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:896)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:612)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1166)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2513)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1894)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:538)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:426)
    in OA. jspService(_OA.java:212)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
    in com.evermind.server.http.ServletRequestDispatcher.access$ 100 (ServletRequestDispatcher.java:51)
    to com.evermind.server.http.ServletRequestDispatcher$ 2.oc4jRun(ServletRequestDispatcher.java:193)
    at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
    at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
    at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
    in OA. jspService(_OA.java:221)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    to oracle.oc4j.network.ServerSocketReadHandler$ SafeRunnable.run (ServerSocketReadHandler.java:260)
    to com.evermind.util.ReleasableResourcePooledExecutor$ MyWorker.run (ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    # # 0 in detail
    java.sql.SQLException: invalid column index
    at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
    at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:199)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:263)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:271)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:445)
    at oracle.jdbc.driver.OraclePreparedStatement.setStringInternal(OraclePreparedStatement.java:5013)
    at oracle.jdbc.driver.OraclePreparedStatement.setObjectCritical(OraclePreparedStatement.java:7577)
    at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:7517)
    at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:8174)
    at oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedStatement.java:8155)
    at oracle.jdbc.driver.OraclePreparedStatementWrapper.setObject(OraclePreparedStatementWrapper.java:230)
    at oracle.jbo.server.BaseSQLBuilderImpl.bindParamValue(BaseSQLBuilderImpl.java:1847)
    at oracle.jbo.server.OracleSQLBuilderImpl.bindParamValue(OracleSQLBuilderImpl.java:3893)
    at oracle.jbo.server.BaseSQLBuilderImpl.bindParametersForStmt(BaseSQLBuilderImpl.java:3335)
    at oracle.jbo.server.ViewObjectImpl.bindParametersForCollection(ViewObjectImpl.java:13827)
    at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:804)
    at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:669)
    at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3723)
    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:743)
    at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:892)
    at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:806)
    at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:800)
    at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3643)
    at ceridian.oracle.apps.xxasn.common.customer.webui.aaCtctCreateCO40.processRequest(aaCtctCreateCO40.java:54)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:596)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1166)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2513)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1894)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:538)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:426)
    in OA. jspService(_OA.java:212)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
    in com.evermind.server.http.ServletRequestDispatcher.access$ 100 (ServletRequestDispatcher.java:51)
    to com.evermind.server.http.ServletRequestDispatcher$ 2.oc4jRun(ServletRequestDispatcher.java:193)
    at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
    at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
    at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
    in OA. jspService(_OA.java:221)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    to oracle.oc4j.network.ServerSocketReadHandler$ SafeRunnable.run (ServerSocketReadHandler.java:260)
    to com.evermind.util.ReleasableResourcePooledExecutor$ MyWorker.run (ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    java.sql.SQLException: invalid column index
    at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
    at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:199)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:263)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:271)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:445)
    at oracle.jdbc.driver.OraclePreparedStatement.setStringInternal(OraclePreparedStatement.java:5013)
    at oracle.jdbc.driver.OraclePreparedStatement.setObjectCritical(OraclePreparedStatement.java:7577)
    at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:7517)
    at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:8174)
    at oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedStatement.java:8155)
    at oracle.jdbc.driver.OraclePreparedStatementWrapper.setObject(OraclePreparedStatementWrapper.java:230)
    at oracle.jbo.server.BaseSQLBuilderImpl.bindParamValue(BaseSQLBuilderImpl.java:1847)
    at oracle.jbo.server.OracleSQLBuilderImpl.bindParamValue(OracleSQLBuilderImpl.java:3893)
    at oracle.jbo.server.BaseSQLBuilderImpl.bindParametersForStmt(BaseSQLBuilderImpl.java:3335)
    at oracle.jbo.server.ViewObjectImpl.bindParametersForCollection(ViewObjectImpl.java:13827)
    at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:804)
    at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:669)
    at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3723)
    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:743)
    at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:892)
    at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:806)
    at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:800)
    at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3643)
    at ceridian.oracle.apps.xxasn.common.customer.webui.aaCtctCreateCO40.processRequest(aaCtctCreateCO40.java:54)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:596)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1166)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2513)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1894)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:538)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:426)
    in OA. jspService(_OA.java:212)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
    in com.evermind.server.http.ServletRequestDispatcher.access$ 100 (ServletRequestDispatcher.java:51)
    to com.evermind.server.http.ServletRequestDispatcher$ 2.oc4jRun(ServletRequestDispatcher.java:193)
    at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
    at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
    at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
    in OA. jspService(_OA.java:221)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    to oracle.oc4j.network.ServerSocketReadHandler$ SafeRunnable.run (ServerSocketReadHandler.java:260)
    to com.evermind.util.ReleasableResourcePooledExecutor$ MyWorker.run (ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)


    Logout

    Copyright (c) 2006, Oracle. All rights reserved.

    Please check if your code as you are creating the first VO and not defining the where clause and just try to put its param.

    Please change your code as

    String str2 = pageContext.getParameter("ASNReqFrmCustId");
    System.out.println("in processRequest " + radioValue);
    if (flag == null)
    {
    OAApplicationModule oam = pageContext.getApplicationModule(webBean);
    OAMessageRadioGroupBean rGBean1 = (OAMessageRadioGroupBean)webBean.findIndexedChildRecursive("RadioGroup");
    String xxOnTheFlyVOQuery = "select (address1 || ',' ||city || ',' || Country ||','||postal_code)address from HZ_ORG_PROFILES_CPUI_V ";
    /*String sWhereClauseValue = "33604";*/
    ViewObject xxOnTheFlyViewObject = oam.findViewObject("xxFNDUserDescVO");
    if (xxOnTheFlyViewObject == null)
    xxOnTheFlyViewObject = oam.createViewObjectFromQueryStmt("xxFNDUserDescVO", xxOnTheFlyVOQuery);
    //xxOnTheFlyVOQuery = xxOnTheFlyVOQuery + "where party_id = :1 ";   //Remove this Line
    xxOnTheFlyViewObject.setWhereClauseParams(null);
    xxOnTheFlyViewObject.setWhereClause(null);   //Add this Code
    xxOnTheFlyViewObject.setWhereClause( "party_id = :1 ");  //Add this Code
    xxOnTheFlyViewObject.setWhereClauseParam(0, str2);
    pageContext.writeDiagnostics(this, "@@ The party ID is " + str2, 1);
    xxOnTheFlyViewObject.executeQuery();
    oracle.jbo.Row row = xxOnTheFlyViewObject.first();
    String mSupHierarchyUsed = row.getAttribute(0).toString();
    //get the value of description column from View Object record returned
    if(row != null)
    {
    String mSupHierarchyUsed1 = row.getAttribute(0).toString();
    System.out.println("Result from Dynamic VO is =>" + mSupHierarchyUsed1 );
    }
    //Remove the view object, as this is no longer required
    xxOnTheFlyViewObject.remove();
    xxOnTheFlyViewObject.remove();
    System.out.println("The value of the Radio Button is " + rGBean1);
    rGBean1.setSelectionValue(pageContext, "XXCONTACT_ADDR_BUTTON1");
    OAMessageTextInputBean headerBean = (OAMessageTextInputBean)webBean.findIndexedChildRecursive("ASNCtctSelAddr");
    pageContext.writeDiagnostics(this, "@@ The query which is executing " + headerBean, 1);
    headerBean.setText(pageContext,mSupHierarchyUsed);
    }
    

    Thank you
    AJ

Maybe you are looking for

  • How to restore the app icons

    I accidentally deleted some of my iphone apps 6 and I can't figure out how to restore them.

  • updates SP3 requiring c/d

    I'm being invited to download windows xp sp3 updates. I downloaded these updates, but when I try to install it asks I don't have an installation cd. I contacted Dell computers and told me that this cd is not available. I checked to see what the file

  • Signature of the problem

    Problem event name: APPCRASHApplication name: Explorer.exeApplication version: 6.0.6002.18005Application timestamp: 49e01da5Fault Module name: comcasttb.dllFault Module Version: 5.0.8.138 Can someone help me with this error?  I ran a SCAN SFC, but be

  • My Windows Vista suddenly says product key is not valid.

    Hi, my windows vista family premium has been recently reisnatlled of the disks that came with the computer, and suddenly he says that the product key is not valid. I put the computer to get the product key and he came and he said that it was not vali

  • I want my options to click right back!

    I'm so frustrated! I've had cloud creative (via a University), which was a lot more that I needed.  Which has expired, so I was shopping tonight for something less.What I want to do is power right click on a doc on my computer and have the option to