Cannot configure DBAdapter to call the procedure that takes no parameters

Hello

I created a test as a package below:

create or replace package Tester
as
Main1 procedure;
procedure (x VARCHAR2) Main2;

end;

create or replace package body Tester
as

procedure Main1
is
Start
insert into ziptest values (' Main', sysdate);
commit;
end;

procedure (x VARCHAR2) Main2
is
Start
insert into ziptest values (' in Main2 :'|| x, sysdate);
commit;
end;

end;
----------------------------------------
When I try to configure a DB adapter to call the Main1 procedure, that I'll meet with the following error:
An error occurred while getting stored procedures. Verify that the database connection is valid.

If I try to configure the DB adapter to call Main2, it works without problem.
In addition, this occurs only when the procedure is in a package. If the procedure is independent, no error is delivered.

Is this a known bug or am I missing something. I use Jdev 10.1.3.4 and SOA Suite 10.1.3.4.

Kind regards

Amit

Hi Amit,

This is a bug in the wizard of DBAdapter. Try to update BPEL for the latest available patch, and if this does not work here workaround has been tested to work on 10.1.3.1 too!

1. modify "Main1' to"Main1 (dummy IN VARCHAR2)"in your package.
2. use the wizard of DBAdapter as ususal to create a partner link that hits this procedure has changed.
3. change your procedure "Main1" back to the way it was IE without any parameters.
4. in your BPEL process file, find the file .xsd to Main1 generated by the wizard in step 2. Replace ... inside the for the "InputParameters" element with an emty tag.

Now, go ahead and invoke this link partner as usual. It would work! ;)

Kind regards
Ravi

Tags: Fusion Middleware

Similar Questions

  • How to fix the error by calling the procedure that contains THE mode variable

    Hello

    I managed to create a procedure.
    create or replace procedure A_three_num2
    (n_1 number,
    N_2 number: = 2.
    n_3 number: = 3)
    as
    Start
    n_1: = n_2 + n_3;
    dbms_output.put_line (n_1);
    end;

    So I called procedure expects number 8 to display.
    Start
    A_three_num2 (n_2 = > 4, n_3 = > 4);
    end;

    But I got an error. Would you please help me understand the problem?
    ORA-06550: line 2, column 1:
    PLS-00306: wrong number or types of arguments in the call to 'A_THREE_NUM2 '.
    ORA-06550: line 2, column 1:
    PL/SQL: Statement ignored
    1. start
    2 A_three_num2(n_2=>4, n_3=>4);
    3. end;

    Thank you
    Guy

    Try this->

    set serveroutput on
    
    declare
      c_out number;
    begin
      A_three_num2(c_out,4,4);
      dbms_output.put_line('result is: '||c_out);
    end;
    

    Kind regards.

    LOULOU.

  • ORA-06508, procedure cannot call the procedure of package

    I have a large stored procedure that calls a package (procedure) that manages a number of procedures to determine whether the process can continue or not.  (It checks authorization of the student to enroll in a class).  We have a web process calling the stored procedure, and that works fine.  What does not work, is a call to the package.  Oracle returned ORA-06508: PL? SQL: could not find program unit called.

    I have included instructions for debugging, so I know that it is the specific call to a procedure in the package fails with ORA-06508.  Thinking it's perhaps something in the package, I inserted a debug statement as the first line in the procedure called in the package.    (Debugging instructions call a procedure inserts of rows in a table of debugging with independent validation).

    When I log in the user account with sqlplus and run a test, everything works fine.  But when the web process is running under the same user, the process fails to call the procedure of package and fails with ORA-06508.

    It seems as if the web process runs with the rights of the appellant, or a role is not granted.

    Can someone help me understand what the problem is?

    offered hv, I appreciate your comments.

    We solved the problem: remove the package that couldn't be cited, then re-create.   That's all!

    Apparently, something in the database was tangled upward.   The server recently had problems with disk space, then it might have been related to that.  But we'll never know for sure.

    The stored procedure and packaging (procedures) which he called were owned by the same schema, and there is no mechanism that I can find to prevent one of the other appellant.  But that was the case - Oracle threw the ORA-06508 exception when the stored procedure called the package procedure.

    I replaced the stored procedure and package several times fine-tuning debugging code, but this has not fixed the problem.

    Finally let it drop and then re-create the package, it's which solved the problem.

    Regarding requests to view the code, there is no way that I could reproduce the problem, since the error that occurred was against the permissions and rules which packages run and the procedures of the Oracle.  Thanks for all the tips and suggestions.

  • A general error occurred: could not connect with the password of administrator of vim cannot configure VIM account on the host

    Community salvation.

    Story: I was called to look at the configuration of vSphere for a customer. When I started looking, I noticed several problems in the environment of the person who has put in place initially. I've been noting but have done nothing to fix these up to the...

    A question that I've seen is that the server vSphere does not apper communicate properly on ESX 3.5 servers. The error message is similar to a post on this forum ( http://communities.vmware.com/message/1450789?tstart=0) however the same method of solution did not work.

    Currently I have two ESX hosts connected to a console vSphere. The Console displays the disconnected hosts and the error points to the problems with the VPXUSER account. I found

    I searched and found several articles with similar questions, so I chose a course of action

    http://KB.VMware.com/selfservice/microsites/search.do?language=en_US & cmd = displayKC & externalId = 1007132

    http://communities.VMware.com/message/1168241

    As a note - vSphere client connections toESX welcomes also directly works very well - don't show no problems and everything seems fine.

    So - my first actions were to disconnect and reconnect one of the hosts.  The operation failed with the error "a general error has occurred: unable to connect with the password of administrator of vim cannot configure VIM account on the host. After that, I followed the elimination of the VPXUSER process, restarted the agents and you reconnect the server for vSphere - to the same result. I then deleted the ESX host, removed the VPXUSER, restarted the agents and added that the host ESX back once again - but no change - the same exact error message. I don't see the VPXUSER ID are re-created by this process - so I guess that ESX and vSphere should know the ID and the password.

    Nothing shows up in the var for this - but one of the articles above explains that as a result of the use of the PAM modules.

    Just for fun, I also tried using the ROOT password and reallowing ROOT to connect via SSH - but I got the same failures. I also tried lifting the VPXUSER ID privleges but - same questions.

    If - goes here - any ideas? I can give other details or screen caputres

    ESX3:

    #%PAM-1.0

    1. Automatically generated by esxcfg-auth

    /lib/security/$ISA/pam_unix.so account required

    AUTH required /lib/security/$ISA/pam_env.so

    AUTH sufficient /lib/security/$ISA/pam_unix.so likeauth nullok

    AUTH required /lib/security/$ISA/pam_deny.so

    attempts at password required /lib/security/$ISA/pam_cracklib.so = 3

    shadow md5 password sufficient /lib/security/$ISA/pam_unix.so nullok use_authtok

    /lib/security/$ISA/pam_deny.so password required

    session required /lib/security/$ISA/pam_limits.so

    session required /lib/security/$ISA/pam_unix.so

    ESX4

    #%PAM-1.0

    account required pam_per_user.so /etc/pam.d/login.map

    AUTH required pam_per_user.so /etc/pam.d/login.map

    /etc/pam.d/login.map pam_per_user.so password required

    /etc/pam.d/login.map pam_per_user.so sign in required

    -KjB

  • Can we call the procedure inside the function?

    Hello

    Can we call the procedure inside the function?

    Thank you
    Brij

    845712 wrote:

    Can we call the procedure inside the function?

    Strange question to ask.

    Yes. This is the standard behavior in most (if not all) procedural and object oriented languages.

    A procedure, function or a method is a unit of code.

    You can call one of the other units. Units can call themselves (recursion). Technically, this means simply by pushing the battery current (to save the stack of the current device memory), the call to the new unit and then popping up battery when control is returned to the unity of the appellant.

    There are very few exceptions to this. The only one that comes to mind programming languages I've used through the years, is natural 1 - could not call a new unit of code to replace the existing one in memory. If no call-and-return was possible.

    Exactly what did you ask this question? Some newcomers to confused Oracle SQL and PL/SQL - two different languages aside server. And then also mistaken for PL/SQL client command vocabulary of SQL * more.

    You will need to make sure that understand the basics of programming (applies to most current programming languages) and Oracle concepts.

  • Avoid calling the procedure in the cursor loop

    Hi all

    The following example of procedure the procedure written in cursor loop, is called each time until the end of the cursor loop...
    procedure proc_main is
    DECLARE
     cursor c1 is 
        select e.empno empno
               ,e.ename ename
               ,d.dname dname
               ,d.loc   loc
        from emp e,dept d
        where e.deptno = d.deptno ;
     
    BEGIN
      for i in c1 LOOP
       proc_test(i.empno,i.ename,i.dname,i.loc) ;
       end loop;
    END;
    -----------
    
    PROCEDURE proc_test (p_empno,p_ename,p_dname,p_loc) is
    ---
    ---
    begin
     select * into v1,v2,v3 ..
      from temp_tab
       where col1 =p_empno
        ----
        ----
    
    end;
    What would be the alternative methods to write the procedure above instead to call the procedure inside the cursor for loop
    My idea is to use collections... could you give me the code example using collections to meet the above criteria

    Thank you

    Published by: smile on February 28, 2012 15:45

    The ideal would be to collect all SQL logic and put as much of it in a single SQL statement as possible. It would be also great to determine what is the final outcome of the process and use it as a starting point for your SQL. For example, if the desired result is to upgrade the salaries of the employees where they have an entry in table x, you might find that you can avoid needing to separate the logic between multiple, i.e. instead of procedures

    procedure proc_main is
    DECLARE
     cursor c1 is
        select e.empno empno
               ,e.ename ename
               ,d.dname dname
               ,d.loc   loc
        from emp e,dept d
        where e.deptno = d.deptno ;
    
    BEGIN
      for i in c1 LOOP
       proc_test(i.empno,i.ename,i.dname,i.loc) ;
       end loop;
    END;
    -----------
    
    PROCEDURE proc_test (p_empno,p_ename,p_dname,p_loc) is
    ---
    ---
    begin
     select * into v1,v2,v3 ..
      from temp_tab
       where col1 =p_empno
        ----
        ----
    
        UPDATE
            emp e
        SET
            sal = v2
        WHERE
            e.empno = p_Empno;
    
    end;
    

    You may simply have

    procedure proc_main is
    BEGIN
    
        UPDATE
            emp e
        SET
            sal = ( SELECT
                        t.new_sal
                    FROM
                        temp_tab t
                    WHERE
                        t.empno = e.empno
                   )
        WHERE
            EXISTS
                (   SELECT
                        NULL
                    FROM
                        temp_tab t
                    WHERE
                        t.empno = e.empno
                );
    
    END;
    

    Even if your logic is more complex, you are likely to find that you can merge several of the statements that you could be running in a loop and replace that loop with a join.

    Given the particular structure of what you posted if, instead of calling the procedure in a loop, you can simply move the cursor c1 as a parameter to proc_test that is

    procedure proc_main is
    
        lc_c1   sys_refcursor;
    
    BEGIN
    
        OPEN lc_c1 FOR
        select e.empno empno
               ,e.ename ename
               ,d.dname dname
               ,d.loc   loc
        from emp e,dept d
        where e.deptno = d.deptno ;
    
       proc_test(c1) ;
    
    END;
    -----------
    
    PROCEDURE proc_test (p_Cursor sys_refcursor) is
    
    begin
    
        LOOP
            FETCH ....
    
            ...DO SOMETHING...
    
            EXIT WHEN p_Cursor%NOTFOUND;
    
        END LOOP;
    
        CLOSE p_Cursor;
    END;
    

    But I highly recommend that you consider trying to merge as much of your SQL before considering the approach of cursor.

    HTH

    David

  • How to call the procedure on the page of the ofa

    Hi all

    I have a button.when I click this button need to call the procedure and should return the values.i tried with below code.am is error.i am passing two parameters to the procedure.please suggest me where I made a mistake in the code.

    error while calling procedure.PNG

    code in am

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

    public String calprorate (String laseid, String billingid)

    {

    OADBTransaction oadbtransaction = (OADBTransaction) getTransaction ();

    OADBTransactionImpl oadbtransactionimpl = (OADBTransactionImpl) getTransaction ();

    String retValues;

    System.out.println ("number:" + laseid);

    StringBuffer str = new StringBuffer();

    Str.Append ("BEGIN");

    Str.Append (LEASE_PRORATE_PKG ".") LEASE_PRORATE_PROC1 (»);

    Str.Append ("p_lease_id = >: 1");

    Str.Append ("p_billing_id = >: 2");

    Str.Append ("P_PRORATE = >: 3");

    System.out.println ("params");

    Str.Append (»); «) ;

    Str.Append ("END");

    System.out.println ("End");

    OracleCallableStatement oraclecallablestatement =

    (OracleCallableStatement) oadbtransaction.createCallableStatement (str.toString (), 1);

    System.out.println ("Oracle");

    try {}

    oraclecallablestatement.setString(1,laseid);

    oraclecallablestatement.setString(2,billingid);

    oraclecallablestatement.setInt (1, Integer.parseInt (laseid));

    oraclecallablestatement.setInt (2, Integer.parseInt (billingid));

    System.out.println ("param");

    oraclecallablestatement.registerOutParameter (3, Types.VARCHAR);

    System.out.println("3");

    oraclecallablestatement. Execute();

    System.out.println ("exe");

    retValues = oraclecallablestatement.getString (3);

    }

    catch (System.Exception e)

    {

    System.out.println ("delivery");

    throw OAException.wrapperException (e);

    }

    Return retValues;

    System.out.println ("End");

    }

    code co:

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

    If (pageContext.getParameter ("Calc")! = null) {}

    Vo1 OAViewObject = (OAViewObject) am.findViewObject ("AddonBillingVO");

    System.out.println ("VO");

    {if(VO1!=null)}

    CNT int = vo1.getRowCount ();

    System.out.println ("count:" + cnt);

    If (cnt > 0)

    {

    RowSetIterator rs = vo1.createRowSetIterator("empIterator");

    System.out.println ("EMP");

    If (rs! = null)

    {

    While (rs.hasNext ())

    {

    AddonBillingVORowImpl line = rs.next ((AddonBillingVORowImpl));

    System.out.println ("impl");

    If (line! = null)

    {

    String laseid = row.getAttribute("LeaseId").toString ();

    System.out.println (laseid);

    String billingid = row.getAttribute("AddonBillingId").toString ();

    [Serializable] param = {}

    laseid, billingid

    };

    String newupc = (String) am.invokeMethod ("calprorate", param);

    }

    }

    Khalil.

    You can paste your spec procedure here?

    Also see: Oracle tips of Johny: OAF: sample code to call the PL/SQL of OA Framework procedure

  • How to call the procedure type table

    Hi I have the below requirement

    Created in the sub table type

    CREATE or REPLACE the TYPE char_type IS the TABLE OF VARCHAR2 (4000);

    create or replace procedure test_proc_type (p_type char_type) is

    Start

    I'm looping 1.p_type.count

    dbms_output.put_line (p_type (i));

    end loop;

    end;

    How to call the procedure with parameter as a type!

    SQL> create or replace type  char_type as table of varchar2(4000)
      2  /
    
    Type created.
    
    SQL> create or replace procedure test_proc_type (p_type char_type)
      2  is
      3  begin
      4    for i in 1..p_type.count loop
      5      dbms_output.put_line (p_type(i) ) ;
      6    end loop;
      7  end;
      8  /
    
    Procedure created.
    
    SQL> set serveroutput on
    SQL>
    SQL> exec test_proc_type(char_type('A','B','C','D','E'))
    A
    B
    C
    D
    E
    
    PL/SQL procedure successfully completed.
    
    SQL>
    
  • How to test a procedure that takes a PARAMETER array?

    Oracle 9i

    I created a procedure that takes an ARRAY PARAMETER (essentially a list of the IDS of employees and this procedure is called from the Java side), and the procedure is to remove the employees based on employee ID list.

    I stated that the type employee_id_array is TABLE of NUMBER.

    I want to test this procedure in sqlplus, but how to move this list of 'id table used' to this procedure, so I know it works?

    Thank you.

    Sure.

    satyaki>
    satyaki>select * from v$version;
    
    BANNER
    ----------------------------------------------------------------
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
    PL/SQL Release 10.2.0.3.0 - Production
    CORE    10.2.0.3.0      Production
    TNS for 32-bit Windows: Version 10.2.0.3.0 - Production
    NLSRTL Version 10.2.0.3.0 - Production
    
    Elapsed: 00:00:00.01
    satyaki>
    satyaki>
    satyaki>create or replace type number_array as table of number;
      2  /
    
    Type created.
    
    Elapsed: 00:00:00.02
    satyaki>
    satyaki>
    satyaki>CREATE OR REPLACE procedure delete_employee(
      2                                               p_employee_id_array in number_array
      3                                             )
      4  as
      5  begin
      6   for i in 1 .. p_employee_id_array.count
      7   loop
      8     --dbms_output.put_line ('this employee idis is: ' || p_query_id_array(i));
      9     delete from emp
     10     where empno in (to_number(p_employee_id_array(i)));
     11   end loop;
     12  end delete_employee;
     13  /
    
    Procedure created.
    
    Elapsed: 00:00:00.13
    satyaki>
    satyaki>
    satyaki>select * from emp;
    
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
    ---------- ---------- --------- ---------- --------- ---------- ---------- ----------
          7777 SOURAV     SLS                  14-SEP-08      45000       3400         10
          7903                                                 1000                    10
          7499 Travor     SALESMAN        7698 20-FEB-81       1600        300         30
          7521 WARD       SALESMAN        7698 22-FEB-81       1250        500         30
          7566 JONES      MANAGER         7839 02-APR-81       2975                    20
          7654 MARTIN     SALESMAN        7698 28-SEP-81       1250       1400         30
          7698 BLAKE      MANAGER         7839 01-MAY-81       2850                    30
          7782 CLARK      MANAGER         7839 09-JUN-81       4450                    10
          7788 SCOTT      ANALYST         7566 19-APR-87       3000                    20
          7839 KING       PRESIDENT            17-NOV-81       7000                    10
          7844 TURNER     SALESMAN        7698 08-SEP-81       1500          0         30
    
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
    ---------- ---------- --------- ---------- --------- ---------- ---------- ----------
          7876 ADAMS      CLERK           7788 23-MAY-87       1100                    20
          7900 JAMES      CLERK           7698 03-DEC-81        950                    30
          7902 FORD       ANALYST         7566 03-DEC-81       3000                    20
    
    14 rows selected.
    
    Elapsed: 00:00:00.16
    satyaki>
    satyaki>
    satyaki>
    satyaki>
    satyaki>declare
      2     vv number_array := number_array(7903,7499);
      3  begin
      4    delete_employee(vv);
      5  end;
      6  /
    
    PL/SQL procedure successfully completed.
    
    Elapsed: 00:00:00.15
    satyaki>
    satyaki>select * from emp;
    
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
    ---------- ---------- --------- ---------- --------- ---------- ---------- ----------
          7777 SOURAV     SLS                  14-SEP-08      45000       3400         10
          7521 WARD       SALESMAN        7698 22-FEB-81       1250        500         30
          7566 JONES      MANAGER         7839 02-APR-81       2975                    20
          7654 MARTIN     SALESMAN        7698 28-SEP-81       1250       1400         30
          7698 BLAKE      MANAGER         7839 01-MAY-81       2850                    30
          7782 CLARK      MANAGER         7839 09-JUN-81       4450                    10
          7788 SCOTT      ANALYST         7566 19-APR-87       3000                    20
          7839 KING       PRESIDENT            17-NOV-81       7000                    10
          7844 TURNER     SALESMAN        7698 08-SEP-81       1500          0         30
          7876 ADAMS      CLERK           7788 23-MAY-87       1100                    20
          7900 JAMES      CLERK           7698 03-DEC-81        950                    30
    
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
    ---------- ---------- --------- ---------- --------- ---------- ---------- ----------
          7902 FORD       ANALYST         7566 03-DEC-81       3000                    20
    
    12 rows selected.
    
    Elapsed: 00:00:00.16
    satyaki>
    

    Kind regards.

    LOULOU.

  • Need to query to find stored procedures that takes great execution time

    Hi all

    I use the oracle version below:

    Oracle Database 11 g Release 11.2.0.3.0 - 64 bit Production

    PL/SQL Release 11.2.0.3.0 - Production

    CORE Production 11.2.0.3.0

    AMT for Linux: Version 11.2.0.3.0 - Production

    NLSRTL Version 11.2.0.3.0 - Production

    is it possible to find the name of stored procedure that take too long to run, I need those optimized all SPs.

    Is there a query as top queries that are used to find queries albums that have great time for execution...

    or y at - it another way to find the names of MS. I try with AWR report but showing only used the names of MS.

    Thank you

    No, it not there no such request as far as I know.

    or y at - it another way to find the names of MS.

    Just listen to complaints from the user...

  • What happens when you reinstal XP OS with the cd that takes me to service pack 2 and I'm at service pack 3

    I bought TurboTax and downloaded, but can I have downloaded previously because I was unable to install due to the previous installation.  After that 2 hours of phone support with TurboTax including screenshare, they stated that the problem lies in the registry. It was damaged and I had to reinstall my OS.

    What happens when you reinstal XP OS with the cd that takes me to service pack 2 and I'm at SP3?

    I finally found my OS reinstall CD, but it's waaaay above my comfort level... what I do now.

    Frankly, if TurboTax is causing this much trouble, I would use another company as the income tax act.

    Of course, you can reinstall Windows. It's a shame, if that's the only way to solve this problem. :-(
    For later use, it is sometimes necessary to download the installation file, physically disconnect from the Internet, set up a clean boot (using msconfig startup diagnosis), reboot and THEN install the large program (and then undo the clean boot, reboot and re-connect to the Internet).
  • Call a procedure that returns an array of the results of dotnet

    Hi I have a function in the database (see below), I am creating a Web page and you want to call the function and get the results, how can I do this in dotnet using the ODP.net. does anyone have a code please... I called procedures in the database that return of refCursors but not tables.


    Type rec_user is record (call varchar2 (200),)
    Identification number);

    Type tab_user is table of the rec_user;

    function populate_user (piusername in varchar2) return tab_user;

    ------------------------------
    Concerning
    Ash

    Hello

    Registration table is a PLSQL type and cannot be called from OIC (this is what ODP.NET is written in). If you change the procedure to return the table or Varray of the object instead, you could do that with the support of the UDT available in ODP 11106.21 and higher.

    There is an example in this thread that you may find useful:
    By the way the table of the UDT or Collection, as IN to the OracleDbType.InputOutput HELP

    It will be useful,
    Greg

  • Problems trying to call the procedure in a PL/SQL package.

    We use BI Publisher 10.1.3.4.1.

    I am trying to call a procedure in a package by using a data model, as I read it is the best way to do it.

    Here's the package. Very straightforward, just insertion of a row in a table to try this out. I tested the procedure and that it works correctly.

    -----
    CREATE OR REPLACE PACKAGE JM_PKG_OBIEE_ETL_TEST

    -Declarations of function and public procedure
    PROCEDURE INSERT_TEST_ROW;


    END JM_PKG_OBIEE_ETL_TEST;
    /
    CREATE OR REPLACE PACKAGE BODY JM_PKG_OBIEE_ETL_TEST

    -Function and procedure implementations
    PROCEDURE INSERT_TEST_ROW IS

    NUMBER OF NEXT_ID;

    BEGIN

    SELECT COUNT ()) + 1 IN EDDWMAN NEXT_ID. JM_OBIEE_ETL_TEST;

    INSERT INTO EDDWMAN. JM_OBIEE_ETL_TEST
    (ID, VALUE, DATE_STAMP)
    VALUES
    (NEXT_ID, 'Test' |) NEXT_ID, SYSDATE);

    COMMIT;

    EXCEPTION
    WHILE OTHERS THEN
    RAISE_APPLICATION_ERROR (-20001,
    "An error occurred"; SQLCODE.
    "- ERROR -" | SQLERRM);

    END INSERT_TEST_ROW;

    END JM_PKG_OBIEE_ETL_TEST;
    -----

    Here is the data model that I use. When I run it, I get a syntax error. If I change the "defaultPackage' to"defaultPackage", thus eliminating the appeal of the package, the data model works very well and I get an xml output of what is in the table.

    -----
    < name of dataTemplate = 'test' than one dataSourceRef = 'Oracle BI EE"defaultpackage ="JM_PKG_OBIEE_ETL_TEST">
    < name dataTrigger = source "beforeReport" = "JM_PKG_OBIEE_ETL_TEST. INSERT_TEST_ROW "/ >"
    < dataQuery >
    < SQLStatement instance name = "test_results" >
    <! [CDATA [SELECT ID, saw_2, DATE_STAMP SDS saw_3 VALUE saw_1. JM_OBIEE_ETL_TEST]] >
    < / sqlStatement >
    < / dataQuery >
    < dataStructure >
    < name of group = "G_TEST_RESULTS" source = "test_results" >
    < element name = "test_ID" value = "saw_1" / >
    < element name = "test_value" value = "saw_2" / >
    < element name = "test_DATE_STAMP" value = "saw_3" / >
    < / Group >
    < / dataStructure >
    < / dataTemplate >
    -----

    Any suggestions? Y at - it configuration settings that can be disabling package calls? This package is located in the same schema as the table is in and I can see the data in this table to OBIEE & BI Publisher.

    Thoughts?

    Published by: Jared Moe on June 30, 2011 12:42

    Published by: Jared Moe on June 30, 2011 12:45

    Yes you must change the procedure in function first. In addition, even if you do not use parameters here if passing them in you must also declare their in the package specification in the exact order you have set them up in your data source. Change your name to BeforeReportTrigger function (and note the case-sensitive characters). Here is the code that I modified.












    I hope this helps.

    Steve

    Published by: Steve P on July 1, 2011 14:12

    Published by: Steve P on July 1, 2011 14:14

    Published by: Steve P on July 1, 2011 14:14

  • CALL THE PROCEDURE IN THE SQL STATEMENT

    Why we cannot call a procedure inside the SQL statement?

    Hello

    Usually when you select an item should return you data. In the case of a procedure, you cannot return any return value from the procedure directly it has to be done through some settings and to access these settings, you cannot use a simple sql statement. Where as in a function, you must return one of data that can be easily obtained accordingly.

    see you soon

    VT

  • How to call the procedure in the package

    Hi all!

    The situation!

    I received a package with body priview 'Change_utility '.
    In this package, I had procedure, changing the data when triger calls a package, it is all ok and working

    Now, I need to call a procedure in a single package gave him.

    I need to run the sta_death procedure in the 'Change_utility' package with no code 112233-4455

    How do I run that?


    Thanks for the help!

    ID

    Maybe (guessing)

    begin
    
      change_utility.sta_death('112233-4455');
    
    end;
    

    Concerning

    Etbin

Maybe you are looking for

  • Zoom applied on the basis of the site

    When I open mail.yahoo.com two different tabs, one to see a message that I compose quite another to see a message that I read, I can't put two tabs-different zooms, as I see either one of them is too big or too small. This was not the case prior to t

  • A lot of 'Other' data

    Hello! Recently I get messages saying that my storage is full. I ran a virus check and I had AdWare. I guess that's why. I removed it, however, I have still many 'Other' data being repries and I can't seem to understand what it is. It is possible, it

  • Envy23: Cannot get my 23 want to boot from USB stick, secure boot is off and the inheritance is enabled, does not

    This machine came in the form of windows 8.1

  • Recovery previous itunes purchases

    We have recently improved our PC, all music/iTunes files were transferred from the old to the new, or so we thought. It turns out that we have a LOT of albums that we purchased on iTunes via the old PC which are now not on the new. The photos in the

  • Network 450 G1 Probook boot

    Hello. I have 4 laptops Probook 450 G1 at the office. I have installed and configured Windows 8.1 on one of these notebooks. Now, I want to use the WDS server to capture the configured system Sysprep image and distribute this image to other laptops.