Setting user_id

Hi all
I am followed by users through the site and the first part works very well and defines and updates a hit counter. The problem is with setting user_id and custno. My table of clientinfo database has two number fields user_id and custno the rest are text. No asre AutoNumber fields. What should I set user_id for and custno in in the code so that it works. I put custno as 0 for stop errors in creating user cfquery but that gives me just a mistake later. What should I do? Thank you

<!--> header.cfm included on all pages
<! - identify user by cookie - >

< isdefined ("Cookie.user_id") CFIF >
< CFSET user_id = trim (Cookie.user_id) >
< CFELSE >
< CFSET user_id = "1" >
< / CFIF >

<!-page sponsor find out more: - >
< CFSET cgi.remote_addr = address >
< CFSET cgi.remote_host = host >
< CFSET referer = cgi.http_referer >
< CFSET cgi.http_user_agent = agent >
< CFSET = cgi.script_name page >
< CFIF NOT Len (host) >
< CFSET = 'unknown' host >
< / CFIF >
< CFIF NOT LEN (referer) >
< CFSET referer = "unknown" >
< / CFIF >



<! - display counter - >
< cfquery name = "GetHits" datasource = 'mydatasource' >
SELECT * from hit_counter
< / cfquery >

< CFIF GetHits.recordcount is 0 >
< cfquery name = "CreateHit" datasource = 'mydatasource' >
INSERT INTO hit_counter (hit_count)
VALUES (1)
< / cfquery >

Hits: 1

<!-mysql datasource < cfquery name = "newUser" datasource = username 'SecurityDB' = 'root' password = "" >-->

< cfelse >
Hits: < query CFOUTPUT = "GetHits" > #hit_count # < / cfoutput >
< / cfif >

< cfquery name = "updateHits" datasource = 'mydatasource' >
UPDATE hit_counter SET hit_count = hit_count + 1
< / cfquery >








< CFIF not isdefined ("custno") >
< isdefined ("session.custno") CFIF >
< cfset custno = session.custno >
< / cfif >
< / cfif >


<!-if the user has been here before, create no ID and cookie for them: - >
< CFIF NOT LEN (user_id) >
< CFQUERY NAME = "CreateUser" DATASOURCE = 'mydatasource' >
Insert into ClientInfo (Id, RemoteAddress, RemoteHost, Referer, UserAgent, page, custno)
values (#user_id # "#address #", "#host #", "#referer #", "#agent #", "#page #", 0)
< / CFQUERY >


< CFQUERY NAME = "Makecookie" DATASOURCE = 'mydatasource' >
SELECT max (ID) as high of clientinfo
< / CFQUERY >

< CFOUTPUT QUERY = "Makecookie" >
< CFSET high = cook >
< CFSET user_id = high >
< / CFOUTPUT >

< CFCOOKIE NAME = "user_id" VALUE = "' #cook # ' EXPIRES ="never">"
< CFELSE >





<!-add existing follow-up: - > user registration

< CFQUERY NAME = "TrackUser" DATASOURCE = 'mydatasource' >
insert into ClientTrack (Id, RemoteAddress, RemoteHost, Referer, UserAgent, page, custno)
values ("#user_id #", "#address #", "#host #", "#referer #", "#agent #", "#page #",)
< isdefined ("custno") CFIF >
"#custno #
< cfelse >
'0'
(< / cfif >)
< / CFQUERY >
< / CFIF >


<!-if variable custno in (e-mail for example) URL, save in the user database: - >
< isdefined ("custno") CFIF >
< CFQUERY NAME = "UpdateUser" DATASOURCE = 'mydatasource' >
Update ClientInfo
< isdefined ("custno") CFIF >
Set custno = "#custno #",.
< cfelse >
Set custno = custno,
< / cfif >
WHERE ID = "#user_id #
< / CFQUERY >
< isdefined ("custno") CFIF >
< cfset session.custno = custno >
< / cfif >
< cfelse >

<!-if not, try to set the number of custno leave previous visit: - >
< CFQUERY NAME = "GetUser" DATASOURCE = 'mydatasource' >
SELECT custno, id
OF ClientInfo
WHERE ID = "#user_id #
< / CFQUERY >

<!-session variable set for use by other pages: - >
< CFIF GetUser.custno is not "" > "".
< cfset session.custno = GetUser.custno >
< / cfif >
< / cfif >

Let me first of all ask a question here is just eating me so I can't sleep, eat, or breath. :)

Are the CUSTNO and IDS of unique numbers? It seems to me that you have 2 keys when you only need 1.

Now, why do you have session.custno and custno? Why not stick with just the session variable?

Basically, you do a lot of things the hardway and I think it is confusing to you.

Tags: ColdFusion

Similar Questions

  • Bad Update number of records

    Hi all

    my table is having only 5 records
    SQL> select * From serial_no;
    
    SERIAL_NO            USER_NAME
    -------------------- -----------------
    INA73709H3           Moni rora
    INA81904H1           Vari Singh
    INA8370841           Meg poor
    CND822XDWM           Biren Singh
    CNCKL02255           Meg poor
    My other table is to have 3000 sets. Now I need to update my second user_id column table with the user_name serial_no table column that is to have the serial number unique column and I will execute following command
    UPDATE BKP A SET USER_ID=(SELECT USER_NAME FROM SERIAL_NO B WHERE A.SERIAL_NO=B.SERIAL_NO)
    In this case it should update the records only 5 who are having the same serial number but this command was updated records of 2197.

    Can someone tell me why this is so.
    UPDATE BKP A SET USER_ID=(SELECT USER_NAME FROM SERIAL_NO B WHERE A.SERIAL_NO=B.SERIAL_NO)
    where exists
     (SELECT null FROM SERIAL_NO B WHERE A.SERIAL_NO=B.SERIAL_NO) 
    

    Or use NVL or FUSION, to avoid two scans on table...

  • In the form of table-update of rows based on the selection of the checkbox

    Hi all

    I have a tabular layout with line selector. I need to update manually checked columns, how would write a process audited records updated?

    Something like this:
    BEGIN     
         FOR i in 1..apex_application.g_f01.count LOOP
    
              IF apex_application.g_f01(i) is not null THEN
                   UPDATE TEST_USERS
                        set USER_ID = :P14_TO
                   WHERE rowid = :APEX$ROW_ID;
                   COMMIT;
              END IF;
         END LOOP;
    END;
    Thank you very much.

    You can refer to the line that you want to process through the value stored in the box.

    If you use apex_application.g_f01 (i) to make reference to the line and you want to update the row based on the ROWID in your request, your SQL query should have the box as follows:

    apex_item. CheckBox2 (1, rowid)

    Then your PLSQL process would be like this:

    BEGIN
         FOR i in 1..apex_application.g_f01.count LOOP
    
              IF apex_application.g_f01(i) is not null THEN
                   UPDATE TEST_USERS
                        set USER_ID = :P14_TO
                   WHERE rowid = APEX_APPLICATION.G_F01(i);
                   COMMIT;
              END IF;
         END LOOP;
    END;
    

    I hope this helps.

    Cheers, Pete

  • Display name/description in a table

    Version 3.2.0.00.27

    I have a tabular presentation. The pk is user_id. This isn't an oracle sequence. It's just a field of varchar2. Shape inserts only updates.
    This column not updated as sa is the PK.

    The column is also a FK to another table that is the full name of the user.

    That's what I want to display. The full name. How not to display in the form of tables? The wizard has created two columns one
    user_id and user_id_display. Why two?

    I tried to change the type of field of each of them to rely on a LOV and then the COMPLETE name LOV poster, but I get an error when I try to save a change.

    I get
    Error in mru internal routine: ORA-20001: Error in MRU: row= 0, ORA-20001: ORA-20001: Current version of data in database has changed since user initiated update process. current checksum = "71784D6553F544123BBBCCABBD8E213E", item checksum = "E52F0743B41D337D75EF5C00CFF90DB8"., update "BIDIDEV"."TB_BD_USER" set "USER_ID" = :b1, "BID_ADMIN" = :b2, "BID_MATERIAL" = :b3, "UPDATE_FILTER" = :b4, "PROJECT_FILTER" = :b5, "BID_SRADMIN" = :b6, "PROGRAM_COORDINATOR" = :b7
    For those famliar with Oracle Forms, I'm just trying to do a trigger to post request to query and display a name rather than just the code.

    Why not include the column of another table in your query that generates the data in tabular form. Mark the column read-only, so it can not be updated...

    Thank you

    Tony Miller
    Webster, TX

    Time passes fast like the wind, but the flies from fruits such as bananas.

    If you answer this question, please mark the thread as closed and give points where won...

  • using the custom value sets rules of SOUL of special type of information

    Hi, I have custom value sets that I use with my types of special information. I have allowed these types of special information self-service and attached rules for approval their.
    Here my problem, some of the sets values are sql based and are designed to obtain information on the applicant. then I use a lot fnd_profile.value ('user_id').
    For example,.
    Select email_address from fnd_user where user_id = fnd_profile.value('user_id')

    But when the sit is sent for approval, any field, the use of these custom value sets are missing. the only fields that are displayed are those not not with value sets with user_id profile as part of the query.
    My question is, is there a better way to retrieve information about the employees and thus be able to avoid this error?
    Thank you very much
    Iraqi

    Hi innocent,

    for the specific e-mail address case, maybe you can remove the valueset validation, set a default value based on the query and convert the field read-only, although I recall some faulty difficulties read only FDF.

    or maybe you could try changing the valueset to something like:

    Select email_address from fnd_user where user_id = fnd_profile.value('user_id')
    Union
    Select varchar2_value in the hr_api_transaction_values where >

    see you soon
    Giuseppe

  • wwv_flow_fnd_user_api.edit_fnd_user to set the change of password on first use

    Hello

    Oracle Database 11 g Release 11.2.0.1.0 under Windows 2008 R2 x 64
    Request Express 4.1.0.00.32

    I import a workspace of our dev system to 100 databases and I want to make sure that developers are not required to change password on the first loging, otherwise it will lose a lot of time

    I am running

    ALTER session set current_schema = APEX_040100;

    Start
    wwv_flow_security.g_security_group_id: = 10;
    wwv_flow_security. G_user: = "ADMIN";
    wwv_flow_security.g_import_in_progress: = true;

    for r in (select *)
    of apex_040100.wwv_flow_fnd_user
    where security_group_id <>10) loop
    wwv_flow_fnd_user_api.edit_fnd_user (p_user_id = > r.user_id,)
    p_user_name = > r.user_name,
    p_change_password_on_first_use = > 'n',.
    p_first_password_use_occurred = > 'Y');
    end loop;

    commit;

    wwv_flow_security.g_import_in_progress: = false;
    end;

    However, this does not seem to do anything and does not return an error. When I query the table of apex_040100.wwv_flow_fnd_user nothing has changed

    I searched the documentation of the APEX (http://docs.oracle.com/cd/E23903_01/welcome.html) for wwv_flow_fnd_user_api , and there is only a single match which lists just the name of the package, not even the specification

    Thanks in advance

    Robert

    OK now, I had a little more time to look at your code.

    I would like this:

    declare
      t_secgrp_id     apex_040100.apex_applications.workspace_id%type;
      t_existing_appl apex_040100.apex_applications.application_id%type := ;
    begin
    
      select workspace_id
      into   t_secgrp_id
      from   apex_applications
      where  application_id = t_existing_app;  
    
      wwv_flow_security.g_security_group_id := t_secgrp_id;
      wwv_flow_security.g_user := 'ADMIN';
      wwv_flow_security.g_import_in_progress := true;
    
      for r in (select *
                from apex_040100.wwv_flow_fnd_user
                where security_group_id t_secgrp_id)
      loop
        wwv_flow_fnd_user_api.edit_fnd_user(p_user_id                      => r.user_id,
                                            p_user_name                    => r.user_name,
                                            p_change_password_on_first_use => 'N',
                                            p_first_password_use_occurred  => 'Y');
      end loop;
    
      commit;
    
      wwv_flow_security.g_import_in_progress := false;
    
    end;
    

    see especially the secgrp...

    Kind regards
    Richard

    -----
    blog: http://blog.warp11.nl
    Twitter: @rhjmartens
    If you answer this question, please mark the thread as closed and give points where won...

  • The User_id, User_name and role with Logout Button display

    Dear friends,

    I want to display User_id, User_name and role close link to logout on the top side on the right side.

    These column User_id User_name and role comes from the USER table.

    How and where I can set to display this combination near logout link.

    Thank you

    Published by: Sophie on July 20, 2011 12:20 AM

    OK... got my backups on my laptop and that's what I've done in the past:

    On my models / walk-in Tabs

    &APP_USER. &G_APP_USER_EMP_TYPE. #NAVIGATION_BAR#
    

    & G_APP_USER_EMP_TYPE. is my point of application which I use one on until the process on my login go to home page... Sorry I thought I was using an application process (I have to fix this in the future)

    It apears in my home like this:

    Logout for the user role button
    CAMPMNG_DEV CALL_FARM Logout

  • default value setting

    In my application, LoggedInUserVO (user_id, company_name, company_tel...) is the view object created in the option "read only through SQL query access. The 'user_id' is the key.

    for example, user_id: Sam, company_name: ABC, company_tel: 79890761...
    user_id: Helen, company_name: ABC, company_tel: 79890761...
    user_id: John, company_name: CWT, company_tel: 90908765...

    BookingEO, BookingVO created in the option "Updatable access through the entity objects". the atrributes are (booking_id, booking_date, create_by, comany_name...), the "booking_id" is the key.

    I ignored the "Create method" in BookingEO of assgin "Booking_id" is database sequence, "booking_date" is obtained from the history column definition and "create_by" is the security of the ADF.

    My question is when the user click on the button to "newBooking" (createInsert BookingVO operation), the creation page new booking is made, the booking_id, booking_date, and create_by fields are fillt with the values of the above mentioned parameters. but I also want the company_name from LoggedInUserVO.company_name based on the default user login ID, then user can overwrite or just leave it there, and then enter information for booking and validate the new booking. How can setting of the BookingEO.company_name of LoggedInUserVO.company_name? Thank you!

    for example.

    new booking page:
    =============
    Booking_id: 001 reserved (e) by: sam Create Date: April 13, 2011.
    Company_name: ABC (default to the login user's company, can be overwritten by the user)
    Booking_item: amount of booking mug: 3

    [Save] [Cancel]
    Rgds!

    Please note the following
    adf.object.applicationModule.findViewObject('__LoggedInUserVO__').currentRow.Name

    LoggedInUserVO is the name of your instance viewObject in your module of the application
    not the name of your project model.
    the default name will be LoggedInUserVO1
    take care of the name of the instance

    Published by: M.Jabr on April 13, 2011 13:35

  • Error in the setWhereClauseParam to the controller with Date setting

    Hi all

    I am strugling last few days how to the controller with parameter setWhereClauseParam to Date...

    We have requirment

    1, while the Search Page enter date_creation (Data Type is Date) based on this query feacthing ViewObject.
    2, I created the query to view object as shown below
    SELECT paa.creation_date, paa.date_start, paa.date_end,
    SYSDATE duty_resumption_date, paa.absence_days leave_deducted,
    PAA.absence_days leave_added, detail of "Let Deucted",
    PAA.absence_days balance_remaining,
    Fu.user_id
    AAP, women's wear, fnd_user fu per_all_people_f Per_absence_attendances
    WHERE papf.person_id = paa.person_id
    AND papf.person_id = fu.employee_id
    AND paa.creation_date < = TO_Date(:1,'DD-MON-YYYY')

    3, ControlerCO with processFormRequest, I'm writing the code as shown below


    Am = (OAApplicationModule) pageContext.getApplicationModule (webBean) OAApplicationModule;
    OAViewObject oaviewobject = (OAViewObject) am.findViewObject ("XXSearchVO");
    If (pageContext.getParameter ("Go")! = null)
    {

    Created string = pageContext.getParameter ("Creation");


    If ((créé! = null) & & (created.length ()! = 0)) {}

    System.out.println ("we trial request form:" + created);
    oaviewobject.setWhereClause (null);
    oaviewobject.setWhereClauseParams (null);
    System.out.println ("after SetWhereClauseParams Null :"); ")
    oaviewobject.setWhereClauseParam(1,created);
    oaviewobject.executeQuery ();
    }

    Table OAAdvancedTableBean = (OAAdvancedTableBean) webBean.findChildRecursive ("ResultsTable");
    table.queryData (pageContext, false);
    }
    }


    4, after the execution of file XXSearchPG am getting error below.

    Details of the exception.
    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: 27122 Houston: SQL error in the preparation of the statement. Instruction: SELECT paa.creation_date, paa.date_start, paa.date_end,
    SYSDATE duty_resumption_date, paa.absence_days leave_deducted,
    PAA.absence_days leave_added, detail of "Let Deucted",
    PAA.absence_days balance_remaining,
    Fu.user_id
    AAP, women's wear, fnd_user fu per_all_people_f Per_absence_attendances
    WHERE 1 = 1
    AND papf.person_id = paa.person_id
    AND papf.person_id = fu.employee_id
    AND paa.creation_date < = TO_Date(:1,'DD-MON-YYYY')
    at oracle.apps.fnd.framework.OAException.wrapperException (unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException (unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors (unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage (unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage (unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage (unknown Source)
    in OA. jspService(_OA.java:71)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
    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.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
    to oracle.oc4j.network.ServerSocketReadHandler$ SafeRunnable.run (ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
    to oracle.oc4j.network.ServerSocketAcceptHandler.access$ 700 (ServerSocketAcceptHandler.java:34)
    to oracle.oc4j.network.ServerSocketAcceptHandler$ AcceptHandlerHorse.run (ServerSocketAcceptHandler.java:880)
    to com.evermind.util.ReleasableResourcePooledExecutor$ MyWorker.run (ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    # # 0 in detail
    java.sql.SQLException: try to set a parameter name that does not intervene in the SQL: 2
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:175)
    at oracle.jdbc.driver.OraclePreparedStatement.setObjectAtName(OraclePreparedStatement.java:8210)
    at oracle.jbo.server.OracleSQLBuilderImpl.bindParamValue(OracleSQLBuilderImpl.java:3916)
    at oracle.jbo.server.BaseSQLBuilderImpl.bindParametersForStmt(BaseSQLBuilderImpl.java:3335)
    at oracle.jbo.server.ViewObjectImpl.bindParametersForCollection(ViewObjectImpl.java:13759)
    at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:801)
    at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:666)
    at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3655)
    at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection (unknown Source)
    at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection (unknown Source)
    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:742)
    at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:891)
    at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:805)
    at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:799)
    at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3575)
    at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery (unknown Source)
    at xxdbank.oracle.apps.per.selfservice.webui.XXSearchCO.processFormRequest(XXSearchCO.java:75)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processFormRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage (unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage (unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage (unknown Source)
    in OA. jspService(_OA.java:71)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
    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.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
    to oracle.oc4j.network.ServerSocketReadHandler$ SafeRunnable.run (ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
    to oracle.oc4j.network.ServerSocketAcceptHandler.access$ 700 (ServerSocketAcceptHandler.java:34)
    to oracle.oc4j.network.ServerSocketAcceptHandler$ AcceptHandlerHorse.run (ServerSocketAcceptHandler.java:880)
    to com.evermind.util.ReleasableResourcePooledExecutor$ MyWorker.run (ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    java.sql.SQLException: try to set a parameter name that does not intervene in the SQL: 2
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:175)
    at oracle.jdbc.driver.OraclePreparedStatement.setObjectAtName(OraclePreparedStatement.java:8210)
    at oracle.jbo.server.OracleSQLBuilderImpl.bindParamValue(OracleSQLBuilderImpl.java:3916)
    at oracle.jbo.server.BaseSQLBuilderImpl.bindParametersForStmt(BaseSQLBuilderImpl.java:3335)
    at oracle.jbo.server.ViewObjectImpl.bindParametersForCollection(ViewObjectImpl.java:13759)
    at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:801)
    at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:666)
    at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3655)
    at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection (unknown Source)
    at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection (unknown Source)
    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:742)
    at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:891)
    at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:805)
    at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:799)
    at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3575)
    at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery (unknown Source)
    at xxdbank.oracle.apps.per.selfservice.webui.XXSearchCO.processFormRequest(XXSearchCO.java:75)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processFormRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage (unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage (unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage (unknown Source)
    in OA. jspService(_OA.java:71)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
    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.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
    to oracle.oc4j.network.ServerSocketReadHandler$ SafeRunnable.run (ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
    to oracle.oc4j.network.ServerSocketAcceptHandler.access$ 700 (ServerSocketAcceptHandler.java:34)
    to oracle.oc4j.network.ServerSocketAcceptHandler$ AcceptHandlerHorse.run (ServerSocketAcceptHandler.java:880)
    to com.evermind.util.ReleasableResourcePooledExecutor$ MyWorker.run (ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)

    Please help me.

    Thank you
    Venkat Reddy Pulichintha
    [email protected]

    Hello

    When I tried the same thing with

    oaviewobject.setWhereClauseParam(0,created);

    Instead of

    oaviewobject.setWhereClauseParam(1,created);

    It works fine with me please check

    thanx
    Pratap

  • iPhone 6s more 'Phone noise cancelling' setting Grayed Out

    I have a 6 more than 128 GB iPhone running iOS 10.0.2. I can't activate the 'Phone noise cancelling' setting in settings > general > accessibility > telephone noise cancelling because it is grayed out. I have attached a screenshot for reference.

    I've tried hard restart my iPhone (Home + Power button) without success. Any help is very appreciated! Thank you.

    Hey there, Stephen Bond,.

    Thank you for using communities of support from Apple! I see from your post that your iPhone more 6s on iOS 10.0.2 does not work as expected because the cancellation of noise from phone toggle is grayed out. I'll be happy to help you.

    First check to see if the hearing aid Mode is enabled in settings > general > accessibility > hearing aids. If this option is enabled, then telephone noise cancelling will be grayed out as you describe. If this isn't the case and that the option is grayed out, please continue.

    How to back up your iPhone, iPad and iPod touch - please backup your iPhone to ensure that your personal information is safe.

    Use iTunes on your Mac or PC to restore the iPhone, iPad or iPod to factory settings - this process will completely erase the iPhone to allow a new copy of the iOS to install. The first time, select "set up as a new iPhone. Once your iPhone is back to the home screen, check the setting of the new. If everything works as it should, use the "restore from backup" link in the section «Get help» If it is not, under the same article, "Contact Apple Support".

    Take care and have a great day!

  • Does anyone know how to turn off this setting when your phone is at a certain angle turns on without you pressing the button side feed or House? Please if you know tell me!

    Does anyone know how to turn off this setting when your phone is at a certain angle turns on without you pressing the button side feed or House? Please if you know tell me!

    Settings > display and brightness > raise to Wake

  • I am trying to set up my new iPhone 7 more but it says SIM necessary?

    Im trying to set up my new iPhone Plus 7 but it says "SIM" required?

    You must use a sim card to activate the iPhone.

    Don't you have a?

    Where did you buy this iPhone?

    Has not chosen a carrier when you purchase it?

    Don't you have a cellular carrier that you want to use iPhone with?

  • power of Attorney of iOS 10 setting does not save

    Hello

    I'm having a problem with the proxy settings in iOS 10.0.2

    It was working fine before the upgrade, but I've been on the vocation and when I return to work I could not wifi configuration to use the proxy.

    I put it on manual and whenever I entered my (proxy, port, and authentication) setting it back to off.

    Is anyone else having the same problem?

    anyone?

  • Cannot set the time on the lock screen in iOS 10

    I guess that's a stupid question, but that's.

    I've just updated to iOS 10 days previously.

    Previously, I had my iPhone value never expire and go to the lock screen. I prefer to leave the phone on until I'm ready to turn it off.

    After the iOS upgrade, the screen starts to weaken after a minute or two and if I don't hit the button or other it turns itself off.

    So I have to waste time, it opens by pressing the button Home, inputing my 4 digit code and have spent the necessary iCloud screen - I don't do iCloud.

    Looks like that I used to go into the settings > passcode lock > and there was a framework for '' never. '' Placing it now longer available is 4 hours, which is what I now have it together, but it is still greys out and hangs and then after about 1 minute.

    Is this a bug or I do something wrong?

    The setting has been moved to iOS 10. He is now in settings/display and brightness.

  • How to set an alarm on my watch unless it is also put on my iPhone?

    I have a Apple Watch (series 2) and an iPhone 6, two running the most recent versions of the OS. I put an alarm on my watch and when it fires, it is also an alarm on my iPhone. I just want to turn off the alarm on my watch and I want to shut up my iPhone.

    How can I do this?

    If you set an alarm on the watch itself, and he made his appearance in the list of alarms on the phone? Or is it just by alerting you on the phone?

    From this page of the User Guide Apple Watch, http://help.apple.com/watch/#/apd27ce65478 , that it would work on the other hand, but an alarm on the Watch not push to the iPhone or the alert on the iPhone. I just tested this on my watch during the drafting of this response and an alarm on my watch was not on the phone or the alert on the phone. Is it possible that you did not create a new alarm, but rather edited a?  Sorry, is not of importance, like all of the alarms on the phone doesn't actually appear on the watch, only the alert is pushed to the watch.

Maybe you are looking for

  • How can I install the plug-ins for Photoshop CC 2015.5, Capitan

    I have huge problems of installation of plug-ins for Photoshop CC 2015.5 Capitan. What is the difference with the 'Actions' / Plug-ins. I used Photoshop for a while, but certainly not a professional. The new version of Photoshop CC of 2015 to 2015.5

  • I'm having a problem strange sync my 4 GB Sansa Clip + with Winamp

    Sansa Clip + 4 GB MTP mode MicroSDHC 32GB Windows 7 64 - bit Winamp (no additional plugins) I recently bought a new 4 GB Sansa Clip + with a 32 GB MicroSD card. Using Winamp, I synced my library on the SD card. Everything went as not expected, no pro

  • Computer stops responding when you run any game

    Graphic problem (or so I think that) I don't know why it does. But every time I play a game my Pc the computer hangs and my moniter screen shows a bunch of discolored pixels. Ive got to day still does not, reinstalled and it does not always work, and

  • Different Versions of the JDE running on a computer

    Is it possible to run different versions of the JDE on a single computer.  I remember some time back on the posts, people are complaining about in this regard.  Sign tool would work on all versions? I don't want to experiment and risk having to reins

  • Number of data warehouses

    Hi allWe have 1 x SSD for each host and 5 x HDD for each host altogether 3 host to form a cluster VSAN. As I understand it, we can ONLY create a store of data per cluster. A client require separate datastore, how can accommodate us both store data us