Problem with cursor Max for the PLSQL called by OAF Page

All,

We developed a custom and Self Service OFA this page page, we call PLSQL package to validate and insert the data into the database tables. It worked well, but when we deployed this form throughout the Organization (meaning more users), we reach the limits of MAX cursor for a session.

This for allows Manager to update all their coordinated under, so in a session, a Manager may work on more than one employee so reach the limit of MAX cursor.

Please help on how we can solve this problem, I checked all of the cursors used in the PLSQL package are closed properly.

Ex PLSQL Call:

String createRow = null;

try {}

OADBTransaction oadbtransaction = (OADBTransaction) pageContext.getApplicationModule (webBean) .getTransaction ();

java.sql.Connection connection = oadbtransaction.getJdbcConnection ();

CallableStatement callablestatement = oadbtransaction.createCallableStatement ("start: 1: = xxx_hr_multiple_rates_pkg.is_create_job_row (pc_job_name = >: 2);") end; ", 1);

callablestatement.setString (2, primaryJob.getText (pageContext));

callablestatement.registerOutParameter(1,Types.VARCHAR);

CallableStatement.Execute ();

createRow = callablestatement.getString (1);

String [] retVals = am.invokeMethod ("createWFMJob", parameter1) (String []);

System.out.println("CreateRow:"+CreateRow);

CallableStatement.Close ();

}

catch (Exception e) {}

e.printStackTrace ();

pageContext.writeDiagnostics (this, try (), 1);

}

Thank you

A

Ankit,

Please attach your PL/SQL code, so that we can have a look that the issue could be in that.

In addition,

Why do you call the code inside this test below? What is the link?

String [] retVals = am.invokeMethod ("createWFMJob", parameter1) (String []);

Why do you need the code below? Delete this.

java.sql.Connection connection = oadbtransaction.getJdbcConnection ();

Move the callablestatement.close ();  outside of try catch.

See the link, if you need some examples below:

Advice from the Oracle Johny: OAF: sample code to call the function PL/SQL of OA Framework

See you soon

AJ

Tags: Oracle Applications

Similar Questions

  • Dynamic problem with lookup-query for the purpose of resource request

    Hi all
    I need to set up several IOM user exchange mailboxes, I can set up AD account and account of the mailbox without any problem, but only for the first ad and Exchange account. For the second and third, etc. I get the error: "Invalid login name" during Exchange of account provisioning. I discovered that this problem exists with Exchange Connector - it is not able to collect correct GUID. So in my xml Dataset I use dynamic query Lookup to select manually correct Alias, the login name and GUID. The query for the GUID is the sequel (I cloned RO for AD and Exchnage):

    AttributeReference available-in-bulk = "true" length = "32" widget = 'search query' type = 'String' attr-ref = "Object GUID" name = "Object GUID" >
    * < lookupQuery search-query = "select distinct UD_KFUSER_OBJECTGUID GUID, ud_KFUSER_uid like UD_KFUSER UD_KFUSER, orc orc Login, sta sta where UD_KFUSER.orc_key = orc.orc_key and orc.usr_key = ' $Form data." Take ' and UD_KFUSER. "UD_KFUSER_AD = 27 and orc.orc_status = STA.sta_status AND STA.sta_bucket! = 'Cancelled'" display-field = "GUID" save-field = "Object GUID" / > *.
    * < / AttributeReference > *.


    My questions are:

    1. I have to type * to run the query in the user interface, without * I got error:

    + < 17 February 2012 11:12:22 THIS > < error > < oracle.adfinternal.view.faces.config.ric +.
    h.RegistrationConfigurator > < BEA-000000 > < ADF_FACES - 60096:Server Exception durin
    PPR, #10 g
    oracle.iam.platform.canonic.base.NoteException: an error occurred during executin
    g the search query.
    to oracle.iam.platform.canonic.agentry.GenericEntityLookupActor.perform)
    GenericEntityLookupActor.java:337)
    Is this right?

    2. when I got correct values (from the search query) - they are missing on the details of the application and form of RO - what Miss me?

    I use OIM 11.1.1.5, in my xml dataset I use correct attr-Ref (labels), when I type the values manually, they are propagated to form RO and Exchange mailbox is created.
    Best
    MP

    I not had no problem when writing search query.
    This works very well for me.
    The request will be filled for the field, so why choose *?
    I used as

  • Problem with DESC ordering for the resolution of conflicts

    I am trying to create a composite event with semantic alias set and table. I created a simplified below example to show the problem that I get. I have assessments that are entered into a table, and whenever a new is an elder at the same address, the composite event should fire. But, if there is more than two for the same address, I want only to raise the event for the most recent prior assessment. I know that this is not yet a complete solution I have to find a way to expire old events after they are used for the composite event, but I can't get beyond the error I get. CREATE_RULE_CLASS gives me the following error:

    Error on line 1
    ORA-41621: error in ordering the property:
    ORA-00904: "RLM$ EVENT. "" RLM OBCOL_0DESC$ ": invalid identifier
    ORA-06512: at "EXFSYS. DBMS_RLMGR', line 709
    ORA-06512: at line 2

    Looks like he's trying to treat my "DESC" designation under another name of the column to order by. Oracle 11g Enterprise 11.1.0.7.0. Here is my script:

    CREATE TABLE APPRAISALTEST
    (
    APPRAISAL_ID NUMBER (20) NOT NULL,
    ADDRESS_ID NUMBER (20).
    DATE OF APPRAISAL_DATE,
    NUMBER VALUE (10)
    );

    CREATE A UNIQUE APPRAISALTEST_PK ON APPRAISALTEST INDEX
    (APPRAISAL_ID);


    Start
    DBMS_RLMGR. CREATE_EVENT_STRUCT (data = > 'AppraisalPair');

    DBMS_RLMGR. () ADD_ELEMENTARY_ATTRIBUTE
    Event_Struct = > 'AppraisalPair ',.
    attr_name = > "appr1"
    tab_alias = > RLM$ TABLE_ALIAS ('APPRAISALTEST'));

    DBMS_RLMGR. () ADD_ELEMENTARY_ATTRIBUTE
    Event_Struct = > 'AppraisalPair ',.
    attr_name = > "appr2"
    tab_alias = > RLM$ TABLE_ALIAS ('APPRAISALTEST'));
    end;

    BEGIN
    DBMS_RLMGR. () CREATE_RULE_CLASS
    rule_class = > 'AppraisalPairRC ',.
    Event_Struct = > 'AppraisalPair ',.
    action_cbk = > 'AppraisalPairCBK ',.
    actprf_spec = > ' EVENT_TYPE VARCHAR2 (20), EVENT_PARAM VARCHAR2 (20),
    rslt_viewnm = > 'NewAppraisalPairs ',.
    rlcls_prop = > ' < composite equal = 'appr1. ADDRESS_ID, appr2. ADDRESS_ID"' |
    ' consumption = command 'shared' = 'appr1. ' APPRAISAL_DATE DESC' cnfevents = 'I' / > ");"
    END;

    SET DEFINE OFF
    insert into AppraisalPairRC (rlm$ ruleid, score_component_type, score_value, rulecond$ rlm)
    values ('Rule1', 'ABC', 'DEF',
    ' < condition >
    < and join = "Appr2.APPRAISAL_DATE & gt; Appr1.APPRAISAL_DATE and Appr2.VALUE & gt; Appr1.value">
    < name of the object = "Appr1" / >
    < name of the object = "Appr2" / >
    < / and >
    (< / condition > ');

    Hello

    You came across a bug that has been fixed in the latest version. You can work around this problem by changing the command clause as follows.

    SQL> BEGIN
      2            DBMS_RLMGR.CREATE_RULE_CLASS (
      3            rule_class => 'AppraisalPairRC',
      4            event_struct => 'AppraisalPair',
      5            action_cbk => 'AppraisalPairCBK',
      6            actprf_spec => 'EVENT_TYPE VARCHAR2(20), EVENT_PARAM VARCHAR2(20)',
      7            rslt_viewnm => 'NewAppraisalPairs',
      8            rlcls_prop => '');
     10  END;
     11  /
    

    Hope this helps,
    -Aravind.

  • Problem with 'source file for the environment.

    Hello, I have problems with the supply environment file.

    I just read this post...

    How to "Source in the environment file.

    How to find the file of the environment. But after I Executive the .env file there is nothing set up. I checked "echo $APPL_TOP and there is nothing."


    My environmental record is:

    /D01/Oracle/vis/FS1/EBSapp/appl/APPSVIS_ebs122.env


    Then... I'm source Pentecost environmental record these steps:


    step 1: cd /d01/oracle/VIS/fs1/EBSapp/appl/APPSVIS_ebs122.env

    step 2:./APPSVIS_ebs122.env


    And still nothing.


    Help with this?


    Thank you.

    Send "source /d01/oracle/VIS/fs1/EBSapp/appl/APPSVIS_ebs122.env" followed by "env | ranking"to check.

    Thank you

    Hussein

  • I have a problem with an error for the ad blocker that interferes with the video playback

    Whenever I try to watch a video, I get this error message:

    Oops, you have activated an adblocker!

    To watch this episode, please disable it and refresh the page.

    I removed anti-ad, refresh the page and the error came again. I have installed firewall bluhell and handicapped who, refreshed the page and the error message still appears. I've added will eliminate them permanently, click on remove and which did not help. I never had these problems before.

    Maybe a different extension is at stake. Could test you mode without failure of Firefox? It is a standard diagnostic tool to disable some advanced features of Firefox and extensions. More info: questions to troubleshoot Firefox in Safe Mode.

    Does not work if Firefox: Hold down the SHIFT key when you start Firefox.

    If Firefox is running: You can restart Firefox in Mode safe mode using either:

    • button "3-bar" menu > "?" button > restart with disabled modules
    • Help menu > restart with disabled modules

    and OK reboot.

    Two scenarios: A small dialog box should appear. Click on 'Start mode safe' (not update).

    That you still get this message?

  • I have a problem with a record for the administrator account.

    Original title: my password as an administrator does not work how to fix it when it doesn't let me do anything to my computer without password

    my computer will be noy take my password. IM the only one without her addministrator I can't make changes or even get in my control panel. my index is always the same that a TI does not work. Can howw I fix?

    There are a lot of options built into Windows to help you out of this situation:
    • Restart the computer with your Windows repair CD, then use system restore to set Windows in a few days (only works if you have recently changed the password).
    • Log on to your account admin to spare, and then reset the password for your existing account (works only if you set up an alternative admin account).
    • Log in as administrator mode without failure, then reset the password for your existing account (the password is usually empty).
    • Insert your flash drive USB with the password key file (only works if you have taken the time to create such a key file).
    • Use the password indicator (works only if you have created an index and it is up-to-date)
    • Check your paper files (works only if you threw down the password somewhere)
  • Problem with joining photos for the Windows 8 library mail program and error message 'create an association in the default program control panel '.

    Original title: E-mail question

    I want to send pictures of the library in Windows 8. Cannot do. He told me to create an association in the default program control panel. Been there, no help.

    Hello Jeff,.

    Please keep us updated on the status of the issue.

    I will certainly help you in the right direction to solve the problem. However, I would be grateful if you could let us know that you have set the email client that you use as default to the Control Panel program to send and receive electronic messages from the computer.

    Please respond with the requested information, in order to help you solve the problem.

    Thank you

  • Problem with Windows Update after the new installation of Windows 7 Pro the Lenovo ThinkPad X 200

    I'm trying to do a fresh install of Windows 7 Pro on a Lenovo ThinkPad X 200. The product key is easy to find on the sticker of the ThinkPad. However, the version of Windows is hidden (for example, I can't check that my ThinkPad had originally installed Windows 7 Pro). I was able to install by using a Pro Win 7 SP1 CD ROM I bought for another installation. I used the ThinkPad I was trying to make the new facility on the product key. I was able to activate the Windows 7 Pro using the phone call and my cell phone. I checked the activation! However, I have problems with Windows update. The product key may be a different version of Windows 7. If so, why did it install and activate OK? Y at - it a fix for this problem or I have to buy a new version of Windows 7 Pro? Please note that I have not yet installed all drivers Lenovo ThinkPad as I can't seem to install correctly. Thank you!

    Since the issue is updated to Windows, it is not a product number key.

    You can reset the Windows Update components by running the Fixit on this page. But if there is malware present, she will continue to reset the connection to the update servers:

    How to reset the Windows Update components

    http://support.Microsoft.com/kb/971058

    Suggest you download and save the Fixit. Then configure the system before the clean boot by running:

    How to troubleshoot a problem by performing a clean boot in Windows Vista/Windows 7

    http://support.Microsoft.com/kb/929135

    Once the Fixit has been downloaded and the system is started in the pure State, check that the native Windows Firewall is now on if a 3rd party firewall has been used previously. Now run the Fixit and choose the default mode. Restart once it's done and see if the system can be connected to the update servers. If he can't, then rerun the Fixit and choose aggressive mode. Turn it back on when he finished the race and updates.

  • Are there any known problems with external battery for iPhone 6 s karim?

    Are there any known problems with external battery for iPhone 6 s karim? Jackery of input: 5V / 2. 1a.

    I had heard that some may damage internal parts of the phone.

    I am interested in what Apple says rather than what says karim.

    Thank you.

    Jkim99 wrote:

    Are there any known problems with external battery for iPhone 6 s karim? Jackery of input: 5V / 2. 1a.

    I had heard that some may damage internal parts of the phone.

    I am interested what said Apple rather than what it says karim.

    Thank you.

    There is no Apple here in this technical forum from user to user.

  • I have a problem with my password for my MSN account.

    I'm having a problem with my password for Windows Live.  It does not recognize the sensitive passwords case.  I asked cela before and you refered me to Windows Live.  And I give them credit.  They tried several times to fix my problem and failed.  Then they refered back me to you.  And guess what, you refered me to Windows Live.  I'm stuck in limbo between you two.  CAN SOMEONE HELP ME WITH MY PROBLEM PLEASE?  PLEASE...  PRETTY PLEASE...

    This is a forum for issues relating to security, privacy and user for the Windows XP operating system accounts.

    Post Windows Live questions in the appropriate forum found here:
    http://windowslivehelp.com/

  • Problem with silverlight download, download the error code 2104.

    Original title: problem with Sliverlight download
    get the error code 2104. tried to uninstall and reinstall

    Hello

    Thanks for the reply.

    We are pleased to know that the problem is solved. Please do not hesitate to answer, in the case where you are facing in the future other problems with Windows. Please contact the Windows community.

  • I have problems with my application of the java language.

    I have problems with my application of the java language. It will be open only for about one second, and it won't let me write all programs, it looks like the command prompt when opening. what the * is underway and what can I do to solve this problem.

    Hey Kevin,

    The description of the problem seems a little unclear and I wish I had a better understanding before you start working on it.

    I would really appreciate if you could answer the following questions:

    1. is the specific question of the application of the Java language?

    2. did you of recent changes made to your computer before the show?

    3. you receive an error code or message?

    Please provide us with more information on the specific question to help you to fix as soon as possible.

    If the problem is specific to the Java application, then I suggest you to contact Java support from the links below:

    http://www.Java.com/en/download/support.jsp

    Java Help Center:

    http://www.Java.com/en/download/help/

    Your response is very important for us to ensure a proper resolution. Please get back to us with the information above to help you accordingly.

  • I have problem with value NULL when the use CASE statement please help this question

    I have problem with value NULL when the use CASE statement please help this question


    Table: digital_val

    SNO cl C2

    1 San1 11

    2 22 San2

    Actual result: expected to A         B

    A            B                                                                           11        22

    11 NULL

    22 NULL



    query:

    Select case when c1 = "san1" then c2,.

    case If c1 = "san2" then c2 B

    of digital_val

    I'm more curious why, when you select 2 rows, you expect a result of row?

    WITH digital_val

    AS (SELECT 1 AS 'Sno', 'San1"C1, c2 FROM DUAL 11)

    UNION ALL

    2 SELECT AS 'Sno', 'San2"C1, c2 FROM DUAL 22)

    SELECT CASE WHEN c1 is "San1" THEN END AS A c2.

    CASE WHEN c1 = "San2" THEN END AS B c2

    OF digital_val;

    With no other input, if you select 2 rows, you get 2 rows.  One of the other solutions use a max function, but is this really what you want, does not specify?

  • While trying to see Planner installation and operation, the test in local mode, the EXECUTION fails with message "Waiting for the number of virtual machines to register.

    While trying to see installation and operation Planner, the test in local mode with only 1 VM the EXECUTION fails with message "Waiting for the number of virtual machines to register.

    There may be a lot of problems in the desktop VM. Agent service see Planner is not running in VM Office. You can check in the event viewer to see what kind of error occurs. The most usual error missing file IP.txt c; drive or harness IP in the IP.txt produce if there is.

  • my computer will not install itunes 10.5, it tells me "Setup has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2330.

    original title: Itunes problem

    my computer will not install itunes 10.5, it tells me "Setup has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2330. "What should I do?

    Contact the manufacturer (Apple) of the application (iTunes) you are having problems with.

    Uninstall all previous versions, try to download (re-record not running) and then do a right click on it and RUN AS ADMINISTRATOR.

    (Vista 32-bit or 64-bit)?

Maybe you are looking for

  • iOS9 clients cannot connect to WC7520

    Hi community, given that we have updated our iOS9 customers we know trouble connecting to our wireless network, as in it is no longer possible. Users just get a password when they try to connect to the network. Apple release notes state that "when ne

  • Add LaserJet 1525nw to the wireless network

    Hello Since I update my router for the Cisco E3200, it seems that my printer laser color 1525nw spray can not register to the router. I tried the router WPS button to find the printer and the PIN method, but both failed. Can someone please help me ge

  • DVD - rom not open or work

    I have a dvd-writer/cd-writer combo that operates. Below, I have a dvd - rom that is not open or read. That's happened? Can it be fixed?

  • yellow triangle on the lan icon

    Hello I need assistance with my LAN connection I have 1 ms with the dhcp server role I get random yellow triangle on my computers and laptops the only way to fix it is to restart my VM to dc need advice Yossi.

  • How to build nested frames?

    Hello, forum I have a VerticalFieldManager with this method of sublayout: protected void sublayout( int maxWidth, int maxHeight ) { int iNumFields = getFieldCount(); int iYPos = 7; for (int i = 0; i < iNumFields; i++) { Field fField = this.getField(i