Problem in Performing DML Operations

Hi,
I am performing DML operations(add,edit,delete) on some table 'X'.
Question:
After i perform a create operation for the first time, it works fine.
Now if i tried to perform second consequitive create operation all the fields have first create operations data.
How will i clear the data in this field.
Same thing is happening for update operation also.
This is same even when i use cancel operation followed by create operation.
How shall i resolve this UI issue.
Thanks,
Mithun

retainAM - If true, all the cached application modules will be retained. If false, all the cached application modules will be released. Developers must use this parameter to control the release behavior of the cached appplication modules. This method will ignore any retainAM=true or retainAM=false as a URL parameter or as part of parameters.
You should not set retainAM to false in all the cases that can cause performance issue as the AM cache has to be recreated for every navigation. But in your case, it's acceptable.
Best scenarios for retainAM = true
1. When you open a page in update mode from List page.
2. When you want the current values to be retained, after any navigation.
3. When you add bradcrumb, it is recommended to use reatainAM to true.
Best scenarios for retainAM = false
1. When you don't want to retain the AM cache since everytime it should be created. or you want to release manually.
2. Your current case.
3. To reset the form values. But this should be the last option.
Basically, reatainAM parameter is used to tell the OA Caching Framework to retain the current AM cache when the new AM cache gets created by navigating to new page.
Please set the thread to answered if your issue is solved.

Similar Messages

  • Why we cannot perform DML operations against complex views directly.

    hi
    can any tell me why we cannot perform DML operations against complex views directly.

    Hi,
    It is not easy to perform DML operations on complex views which involve more than one table as said by vissu. The reason being you may not know which columns to be updated/inserted/deleted on the base tables of the views. If it is a simple view containing a single table it is as simple as performing actions on the table.
    For further details visit this
    http://www.orafaq.com/wiki/View
    cheers
    VT

  • Cannot perform dml operation inside a query

    I have created a function which does some dml opration.
    when I use it in a through a transformation operator, and execute the map,
    it throws the following error:
    cannot perform dml operation inside a query
    how to handle this?

    Hi,
    if you want to execute the dml within a mapping, use the pre or post mapping procress operator. Or use a sql*plus activity in the process flow.
    Regards,
    Carsten.

  • ADF- PERFORMING DML OPERATIONS- VERY URGENT

    Dear All,
    i have an urgent requirement on ADF.
    i have not developed any page in ADF till now this is my first page so plz help Friends.
    Requirement is as follows:
    "I should create a page which should perform all DML operations (Insert, Update, Delete)".
    please specify step by step procedure for creating this plz help. very urbent friends.
    Thanks alot Friends.
    Regards,
    Raja.

    well user,
    here nothing to urgernt
    and *"no urgent."*
    user welcome this forums.
    you have passed 23 posts in this forums.
    you have to see this.
    Announcement: Please read this before you post
    https://forums.oracle.com/forums/ann.jspa?annID=56
    without any details. how can we help you. though.
    here you need.
    http://andrejusb.blogspot.in/2010/05/crud-operations-in-oracle-adf-11g-table.html
    http://andrejusb.blogspot.in/2009/11/crud-operations-in-jdeveloperadf-11g-r1.html

  • How do I use XML to perform DML Operations against 8i DBs?

    Please point me in the direction to get started. I am not sure if I need XML DB (9i R2 only ?), XSQL, XDK or what.
    I would like to be able to deconstruct existing applications (mostly PL/SQL) into a series of XML docs that when 'pieced' together could behave as a set of transactions. Where I am heading is toward making existing apps Web Services enabled. I would like to be able to use existing tables in my schemas.
    What advice can you give me in terms of getting started and selecting the 'right' approach? I assume there are trade offs between 8i and 9i DBs.
    Jesse Johnson

    You may pass an XML Document as a parameter to a Java file that makes use of XSU classes like OracleXMLSave and there are methods available in OracleXMLSave like insertXML() method that takes care of the dml part.
    Go through the examples listed below.
    Program Listing 1 : This program will insert a record into the emp table. This program takes an xml file as an input , translates the content into an insert statement and inserts and commits the data into the database. An example of the xml file is also enclosed.
    import java.sql.*;
    import java.net.*;
    import oracle.xml.sql.dml.OracleXMLSave;
    public class Insertfromfile {
         public static void main(String argv[])
              throws SQLException {
              Connection cn = ConnectionHelper.getConnection();
              OracleXMLSave sav = new OracleXMLSave(cn, "scott.emp");
              URL url = sav.createURL(argv[0]);
              sav.insertXML(url );
              cn.close();
              System.out.println("Done ....!");
    XML File shown below.
    <?xml version = '1.0'?>
    <ROWSET>
    <ROW num="1">
    <EMPNO>1238</EMPNO>
    <SAL>100</SAL>
    <DEPTNO>20</DEPTNO>
    </ROW>
    </ROWSET>
    Program Listing 2 : Update operations
    import java.sql.*;
    import oracle.xml.sql.dml.OracleXMLSave;
    public class TestUpdate {
         public static void main(String argv[])
              throws SQLException {
              String rowToUpdate = "<?xml version = '1.0'?> " +
                   " <ROWSET> " +
                   " <ROW num=\"1\"> " +
                   " <EMPNO>1238</EMPNO> " +
                   " <SAL>999</SAL> " +
    " <DEPTNO>20</DEPTNO> " +
                   " </ROW> " +
                   " </ROWSET> ";
              Connection cn = ConnectionHelper.getConnection();
              OracleXMLSave sav = new OracleXMLSave(cn, "scott.emp");
              String [] keyColNames = new String[2];
              keyColNames[0] = "EMPNO";
    keyColNames[1] = "DEPTNO";
              sav.setKeyColumnList(keyColNames);
              sav.updateXML(rowToUpdate );
              sav.close();
              System.out.println("Done ....!");
    Program Listing 3 : Delete OPeration
    import java.sql.*;
    import oracle.xml.sql.dml.OracleXMLSave;
    public class TestDelete {
         public static void main(String argv[])
              throws SQLException {
              Connection cn = ConnectionHelper.getConnection();
              OracleXMLSave sav = new OracleXMLSave(cn, "scott.emp");
              String [] keyColNames = new String[1];
              keyColNames[0] = "EMPNO";
              sav.setKeyColumnList(keyColNames);
              for (int i=1234; i <1240; i++) {
              String rowPatternToDelete= "<?xml version = '1.0'?> " +
                        " <ROWSET> " +
                        " <ROW num=\"1\"> " +
                        " <EMPNO>" + i + "</EMPNO> " +
                        " </ROW> " +
                        " </ROWSET> ";
                   sav.deleteXML(rowPatternToDelete );
              sav.close();
              System.out.println("Done ....!");
    Program Listing 4 : ConnectionHelper.java
    import java.sql.*;
    import java.util.*;
    import oracle.jdbc.driver.*;
    public class ConnectionHelper {
    public static Connection getConnection() throws SQLException {
    String username = "scott";
    String password = "tiger";
    String thinConn = "jdbc:oracle:thin:@localhost:1521:orcl";
    String default8iConn = "jdbc:oracle:kprb:";
    String driverClass = "oracle.jdbc.driver.OracleDriver";
    Connection cn = null;
    try {
    Driver d = (Driver)Class.forName(driverClass).newInstance();
    return DriverManager.getConnection(thinConn,username,password);
    catch (Exception e) {
    throw new SQLException("Error Loading JDBC Driver");

  • How to perform DML Operations on Spatial Table Using ADF

    Hi
    I have an urgent requirement. I have a table with Spatial column. I have generated Business components based on Spatial Table.
    Now I have to perform Create,Read,Update and Delete operations using ADF Business Components on Spatial Table.
    I have written custom create(),read(),update() and delete() methods in my Application Module and i have to implement those methods.
    Can any one help me out how to acheive above four functionalities using ADF Business Components.
    Thanks in Advance

    HI,
    see this example.
    u can do like this.
    DATA: BEGIN OF seats OCCURS 0,
            carrid   TYPE sflight-carrid,
            connid   TYPE sflight-connid,
            seatsocc TYPE sflight-seatsocc,
          END OF seats.
    DATA seats_tab LIKE HASHED TABLE OF seats
                   WITH UNIQUE KEY carrid connid with header line.
    SELECT carrid connid seatsocc
           FROM sflight
           INTO table seats.
    loop at seats.
      COLLECT seats INTO seats_tab.
    endloop.
    LOOP AT seats_tab.
    write:/ seats_tab-carrid,seats_tab-connid,seats_tab-seatsocc.
    ENDLOOP.
    rgds,
    bharat.

  • Facing a problem while doing DML Operations in Discoverer (Urgent!!)

    Hi,
    I am facing a problem in one of the discoverer report i am working on. I would appreciate if you could help me to to find a solution for this -
    I am triggering a custom package from the Discoverer. This package is inserting the data in a custom table. As we can not directly put the DML statements in the discoverer 's package so i have defined that package as the Pragma Autonomous. The custom table that is being populated is a regular table (i.e not a Global temporary table). In the custom folder in Administrator i am just selecting the data from that custom table.
    Problem- When i run the report from discoverer, the data is getting inserted into the custom table, that means the package is working properly but still the report does not show any data. May be the query being executed even before the data is inserted into the table. Can you please suggest what is that i am missing in this solution?
    Few facts of the report-
    1. I am using only one worksheet.
    2. The package is inserting the data in the custom table so i don't see any problem with the package and triggering it.
    Thanks for your help.
    -Anshul

    Hi Michael,
    This is not really an update. The functionality of the report is simple - Based on the parameters selected in the report, the package will get the data from queries and insert into the table. now the data in the table can be different for different users based on the parameters. what my concern was,
    Consider a case of 2 users using this report almost at the same time.
    We are not using the temporary table so we will have to truncate the table every time the report is ran, before inserting the new data in it.
    Now suppose user -A runs the report and during it processing the 2nd user runs it with some different parameters. Then the 1st user's data will be deleted from the table.
    does it sound right?
    I was trying to achieve this functionality by using following functionality but here also i am facing a problem -
    Now i am not inserting the data in the table but i have created a view that does the same thing as it was done by package in the previous case. and in order to pass the parameters in the view i am using set_context. I have created a package that is triggered by discoverer report and in that package i am setting the context. now i am facing the following problems -
    a. Does the Set_context set the context globally?
    b. Do i need to clear the context at the completion of report?
    c. If the answer of the question - b is yes then where can i place that clear_context in the discoverer?
    Thank you so much for your help.
    thanks
    -Anshul

  • DML operations on Materialized view

    Hi,
    I want to know can we perform DML operations like insert/update on a materialized view?
    Thanks
    Deepak

    Thanks Michaels. I'm able to update/insert into materialized view.
    But I'm having another problem.
    My materialized view is selecting rows on group by condition, but to create a MV as updatable, it should be simple.
    SQL> create materialized view mv_utr_Link
    2 build immediate
    3 refresh force on demand
    4 for update
    5 enable query rewrite
    6 as
    7 select link_id,booking_date
    8 from t_utr
    9 where link_id=246229
    10 group by link_id,booking_date
    11 /
    from t_utr
    ERROR at line 8:
    ORA-12013: updatable materialized views must be simple enough to do fast
    refresh
    If I remove the group by clause, its allowing me to create MV, but that won't solve my problem.
    any workaround on that?
    Thanks
    Deepak

  • "cannot perform a DML operation inside a query" error when using table func

    hello please help me
    i created follow table function when i use it by "select * from table(customerRequest_list);"
    command i receive this error "cannot perform a DML operation inside a query"
    can you solve this problem?
    CREATE OR REPLACE FUNCTION customerRequest_list(
    p_sendingDate varchar2:=NULL,
    p_requestNumber varchar2:=NULL,
    p_branchCode varchar2:=NULL,
    p_bankCode varchar2:=NULL,
    p_numberOfchekbook varchar2:=NULL,
    p_customerAccountNumber varchar2:=NULL,
    p_customerName varchar2:=NULL,
    p_checkbookCode varchar2:=NULL,
    p_sendingBranchCode varchar2:=NULL,
    p_branchRequestNumber varchar2:=NULL
    RETURN customerRequest_nt
    PIPELINED
    IS
    ob customerRequest_object:=customerRequest_object(
    NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
    condition varchar2(2000 char):=' WHERE 1=1 ';
    TYPE rectype IS RECORD(
    requestNumber VARCHAR2(32 char),
    branchRequestNumber VARCHAR2(32 char),
    branchCode VARCHAR2(50 char),
    bankCode VARCHAR2(50 char),
    sendingDate VARCHAR2(32 char),
    customerAccountNumber VARCHAR2(50 char),
    customerName VARCHAR2(200 char),
    checkbookCode VARCHAR2(50 char),
    numberOfchekbook NUMBER(2),
    sendingBranchCode VARCHAR2(50 char),
    numberOfIssued NUMBER(2)
    rec rectype;
    dDate date;
    sDate varchar2(25 char);
    TYPE curtype IS REF CURSOR; --RETURN customerRequest%rowtype;
    cur curtype;
    my_branchRequestNumber VARCHAR2(32 char);
    my_branchCode VARCHAR2(50 char);
    my_bankCode VARCHAR2(50 char);
    my_sendingDate date;
    my_customerAccountNumber VARCHAR2(50 char);
    my_checkbookCode VARCHAR2(50 char);
    my_sendingBranchCode VARCHAR2(50 char);
    BEGIN
    IF NOT (regexp_like(p_sendingDate,'^[[:digit:]]{4}/[[:digit:]]{2}/[[:digit:]]{2}$')
    OR regexp_like(p_sendingDate,'^[[:digit:]]{4}/[[:digit:]]{2}/[[:digit:]]{2}[[:space:]]{1}[[:digit:]]{2}:[[:digit:]]{2}:[[:digit:]]{2}$')) THEN
    RAISE_APPLICATION_ERROR(-20000,cbdpkg.get_e_m(-1,5));
    ELSIF (p_sendingDate IS NOT NULL) THEN
    dDate:=TO_DATE(p_sendingDate,'YYYY/MM/DD hh24:mi:ss','nls_calendar=persian');
    dDate:=trunc(dDate);
    sDate:=TO_CHAR(dDate,'YYYY/MM/DD hh24:mi:ss');
    condition:=condition|| ' AND ' || 'sendingDate='||'TO_DATE('''||sDate||''',''YYYY/MM/DD hh24:mi:ss'''||')';
    END IF;
    IF (p_requestNumber IS NOT NULL) AND (cbdpkg.isspace(p_requestNumber)=0) THEN
    condition:=condition|| ' AND ' || ' requestNumber='||p_requestNumber;
    END IF;
    IF (p_bankCode IS NOT NULL) AND (cbdpkg.isspace(p_bankCode)=0) THEN
    condition:=condition|| ' AND ' || ' bankCode='''||p_bankCode||'''';
    END IF;
    IF (p_branchCode IS NOT NULL) AND (cbdpkg.isspace(p_branchCode)=0) THEN
    condition:=condition|| ' AND ' || ' branchCode='''||p_branchCode||'''';
    END IF;
    IF (p_numberOfchekbook IS NOT NULL) AND (cbdpkg.isspace(p_numberOfchekbook)=0) THEN
    condition:=condition|| ' AND ' || ' numberOfchekbook='''||p_numberOfchekbook||'''';
    END IF;
    IF (p_customerAccountNumber IS NOT NULL) AND (cbdpkg.isspace(p_customerAccountNumber)=0) THEN
    condition:=condition|| ' AND ' || ' customerAccountNumber='''||p_customerAccountNumber||'''';
    END IF;
    IF (p_customerName IS NOT NULL) AND (cbdpkg.isspace(p_customerName)=0) THEN
    condition:=condition|| ' AND ' || ' customerName like '''||'%'||p_customerName||'%'||'''';
    END IF;
    IF (p_checkbookCode IS NOT NULL) AND (cbdpkg.isspace(p_checkbookCode)=0) THEN
    condition:=condition|| ' AND ' || ' checkbookCode='''||p_checkbookCode||'''';
    END IF;
    IF (p_sendingBranchCode IS NOT NULL) AND (cbdpkg.isspace(p_sendingBranchCode)=0) THEN
    condition:=condition|| ' AND ' || ' sendingBranchCode='''||p_sendingBranchCode||'''';
    END IF;
    IF (p_branchRequestNumber IS NOT NULL) AND (cbdpkg.isspace(p_branchRequestNumber)=0) THEN
    condition:=condition|| ' AND ' || ' branchRequestNumber='''||p_branchRequestNumber||'''';
    END IF;
    dbms_output.put_line(condition);
    OPEN cur FOR 'SELECT branchRequestNumber,
    branchCode,
    bankCode,
    sendingDate,
    customerAccountNumber ,
    checkbookCode ,
    sendingBranchCode
    FROM customerRequest '|| condition ;
    LOOP
    FETCH cur INTO my_branchRequestNumber,
    my_branchCode,
    my_bankCode,
    my_sendingDate,
    my_customerAccountNumber ,
    my_checkbookCode ,
    my_sendingBranchCode;
    EXIT WHEN (cur%NOTFOUND) OR (cur%NOTFOUND IS NULL);
    BEGIN
    SELECT requestNumber,
    branchRequestNumber,
    branchCode,
    bankCode,
    TO_CHAR(sendingDate,'yyyy/mm/dd','nls_calendar=persian'),
    customerAccountNumber ,
    customerName,
    checkbookCode ,
    numberOfchekbook ,
    sendingBranchCode ,
    numberOfIssued INTO rec FROM customerRequest FOR UPDATE NOWAIT;
    --problem point is this
    EXCEPTION
    when no_data_found then
    null;
    END ;
    ob.requestNumber:=rec.requestNumber ;
    ob.branchRequestNumber:=rec.branchRequestNumber ;
    ob.branchCode:=rec.branchCode ;
    ob.bankCode:=rec.bankCode ;
    ob.sendingDate :=rec.sendingDate;
    ob.customerAccountNumber:=rec.customerAccountNumber ;
    ob.customerName :=rec.customerName;
    ob.checkbookCode :=rec.checkbookCode;
    ob.numberOfchekbook:=rec.numberOfchekbook ;
    ob.sendingBranchCode:=rec.sendingBranchCode ;
    ob.numberOfIssued:=rec.numberOfIssued ;
    PIPE ROW(ob);
    IF (cur%ROWCOUNT>500) THEN
    CLOSE cur;
    RAISE_APPLICATION_ERROR(-20000,cbdpkg.get_e_m(-1,4));
    EXIT;
    END IF;
    END LOOP;
    CLOSE cur;
    RETURN;
    END;

    Now what exactly would be the point of putting a SELECT FOR UPDATE in an autonomous transaction?
    I think OP should start by considering why he has a function with an undesirable side effect in the first place.

  • Getting error SQL Error : ORA-14551: cannot perform a DML operation inside a query

    Hi gurus ,
    Your help is greatly appreciated ..
    I am doing some changes in the fucntion for an existing package .Introducing the new below check , am updating one of the tables based on a if condition ..
           IF  numALLOWED_COUNT >= numLAST_COUNT_ADDED+1  THEN
                     blnGDS_Allowed :=True;
                      varSTMT := 'UPDATE PROD.TMS_PROCESS_COUNTER ';
                      varSTMT := varSTMT ||' SET last_count_added = last_count_added+1';
                      varSTMT := varSTMT ||' WHERE process_name = ''DAILY_GDS_COUNT''';
                      varSTMT := varSTMT ||' AND COUNTER_IND = ''750FD130''';
                     PROC_LOG('Update Tms_Process_counter varSTMT --' || varSTMT);
                     IF INSERT_BATCH(99,varSTMT) > 0 THEN
                        NULL;
                     END IF;
    Function for insert_batch :
    UNCTION INSERT_BATCH(numTABLE_ID IN NUMBER, varSQL_STATEMENT IN VARCHAR2) RETURN NUMBER IS
    varINSERT_BATCH_STMT  VARCHAR2(32767)     := NULL;
    varADD_REC_TYPE       BATCH_TABLES.ADD_REC_TYPE%TYPE;
    BEGIN
        PROC_LOG( 'INSIDE INSERT_BATCH IRC : ' || varSQL_STATEMENT );  --IRC 9/20 UC
        INSERT INTO BATCH_STATEMENT(QUEUE_ID,TABLE_ID,STATEMENT,QUEUE_SEQUENCE_ID)
        VALUES (numQUEUE_ID,numTABLE_ID,varSQL_STATEMENT,1);
    RETURN 1;
    EXCEPTION WHEN OTHERS THEN
        PROC_LOG('Failed in INSERT_BATCH');
        PROC_LOG('SQL Error : ' || SUBSTR(SQLERRM,1,1000));
        RETURN -1;
    END INSERT_BATCH;
    desc PROD.BATCH_STATEMENT
      QUEUE_ID           NUMBER(15)                 NOT NULL
      TABLE_ID           NUMBER(2)                  NOT NULL
      STATEMENT          VARCHAR2(4000 BYTE)        NOT NULL
      QUEUE_SEQUENCE_ID  NUMBER(5)                  NOT NULL
    Some how when its calling the insert_batch , its giving me the error in the logs as below:
    04:01:41 - Update Tms_Process_counter varSTMT --UPDATE PROD.TMS_PROCESS_COUNTER  SET last_count_added = last_count_added+1 WHERE process_name = 'DAILY_GDS_COUNT' AND COUNTER_IND = '750FD130'
    04:01:41 - INSIDE INSERT_BATCH IRC : UPDATE PROD.TMS_PROCESS_COUNTER  SET last_count_added = last_count_added+1 WHERE process_name = 'DAILY_GDS_COUNT' AND COUNTER_IND = '750FD130'
    04:01:41 - Failed in INSERT_BATCH
    04:01:41 - SQL Error : ORA-14551: cannot perform a DML operation inside a query

    Some how when its calling the insert_batch , its giving me the error in the logs as below:
    04:01:41 - SQL Error : ORA-14551: cannot perform a DML operation inside a query
    Yes - and the exception is telling you EXACTLY what the problem is. You have a query
    IF INSERT_BATCH(99,varSTMT) > 0 THEN
    And you are performing a DML operation inside that query:
    INSERT INTO BATCH_STATEMENT(QUEUE_ID,TABLE_ID,STATEMENT,QUEUE_SEQUENCE_ID)
        VALUES (numQUEUE_ID,numTABLE_ID,varSQL_STATEMENT,1);
    Like the exception says: you can't do that.
    You need to call the function using PL/SQL and capture the return value into a variable. Then test that variable:
    myVar := INSERT_BATCH(99,varSTMT);
    if myVar > 0 THEN

  • Query performance on same table with many DML operations

    Hi all,
    I am having one table with 100 rows of data. After that, i inserted, deleted, modified data so many times.
    The select statement after DML operations is taking so much of time compare with before DML operations (There is no much difference in data).
    If i created same table again newly with same data and fire the same select statement, it is taking less time.
    My question is, is there any command like compress or re-indexing or something like that to improve the performance without creating new table again.
    Thanks in advance,
    Pal

    Try searching "rebuilding indexes" on http://asktom.oracle.com. You will get lots of hits and many lively discussions. Certainly Tom's opinion is that re-build are very rarley required.
    As far as I know, Oracle has always re-used deleted rows in indexes as long as the new row belongs in that place in the index. The only situation I am aware of where deleted rows do not get re-used is where you have a monotonically increasing key (e.g one generated by a seqence), and most, but not all, of the older rows are deleted over time.
    For example if you had a table like this where seq_no is populated by a sequence and indexed
    seq_no         NUMBER
    processed_flag VARCHAR2(1)
    trans_date     DATEand then did deletes like:
    DELETE FROM t
    WHERE processed_flag = 'Y' and
          trans_date <= ADD_MONTHS(sysdate, -24);that deleted the 99% of the rows in the time period that were processed, leaving only a few. Then, the index leaf blocks would be very sparsely populated (i.e. lots of deleted rows in them), but since the current seq_no values are much larger than those old ones remaining, the space could not be re-used. Any leaf block that had all of its rows deleted would be reused in another part of the index.
    HTH
    John

  • ORA-14551: cannot perform a DML operation inside a query

    I have a Java method which is deployed as a Oracle function.
    This Java method parses a huge XML & populates this data
    into a set of database tables.
    I have to call this Oracle function in a unix shell script using sqlplus.
    Value returned by this function will be used by the shell script to decide
    what to do next.
    I am calling the Oracle Java function as follows in the shell script:
    echo "SELECT XML_TABLES.RUN_XML_LOADER('$P1','$P2','$P3','$P4') FROM DUAL;\n" | sqlplus $DB_USER > $LOG
    This gives error - "ORA-14551: cannot perform a DML operation inside a query".
    If I have to add a AUTONOMOUS_TRANSACTION pragma to this Java function,
    where to I add it considering, that the definition of the function is in a Java class.
    Can we do it in call spec?
    create or replace package XML_TABLES is
    function RUN_XML_LOADER(xmlFile IN VARCHAR2,
    xmlType IN VARCHAR2,
    outputDir IN VARCHAR2,
    logFileDir IN VARCHAR2) RETURN VARCHAR2 AS
    LANGUAGE JAVA NAME 'XmlLoader.run
    (java.lang.String, java.lang.String, java.lang.String, java.lang.String)
    return java.lang.String';
    end XML_TABLES;
    If not is there any other way to acheive this?
    Thanks in advance.
    Sunitha.

    If I have to add a AUTONOMOUS_TRANSACTION pragma to this Java function,You'd have to write a PL/SQL function that calls the JSP. But I would caution you about using that pragma. It does introduce tremendous complexity into processing.
    As I see it you only need a function to return the result code so why not use a procedure with an OUT parameter?
    Cheers, APC
    Of course Yoann's suggestion of using an anonymous block would work too.
    Message was edited by:
    APC

  • Sync problem: "don't have enough access privileges to perform this operation

    I'm trying to sync a new ipod touch to my mac; it's my son's ipod but I don't know if that has anything to do with this problem. Every time I try to sync I get an error message saying "The ipod cannot by synced. You do not have enough access privileges to perform this operation." What is this about? How can I solve this problem?

    The newest iPod touch model requires OS 10.5 Leopard.

  • Problem with adding "Perform Business Operation" action

     

    Thanks Vamshi.
    Regards,
    Alexander.
    "Vamshi K Mugatha" <[email protected]> wrote in message
    news:[email protected]..
    Hi Alexander,
    This is a known problem and the workaround for this is to add the classesin the
    classpath of the studio.
    Vamshi
    Lebedev Alexander wrote:
    Hi,
    every time I add "Perform business operation" that invokes Java Class
    method
    (not static), the "Instance Variable" combobox is empty, although Idefine
    three Workflow Variables with Java Class type. When I try to save this
    action I receive the following error "You must select an InstanceVariable
    for this Business Operation".
    thanks,
    Alexander.
    Name: studio_screen.bmp
    studio_screen.bmp Type: Bitmap Image (image/bmp)
    Encoding: x-uuencode

  • Microsoft Outlook 2010 The delegates settings were not saved correctly. Cannot activate Send-on-behalf-of list. You do not have sufficient permission to perform this operation on this object.

    I am trying to assign delegation to a user and I receive the following message.
    The delegates settings were not saved correctly.  Cannot activate Send-on-behalf-of list.  You do not have sufficient permission to perform this operation on this object.
    We are using 2010 for the server and client.  There are only specific mailboxes that this is happening for after being migrated from Lotus Notes.  The user can use their mailfile fine however it is just the delegation that appears corrupted somehow. 
    I'm not sure how to fix this.  I have checked the access through the security tab in ad and that looks fine.
    Any help would be appreciated.

    I did some more digging and I solved it.
    This would be the solution:
    In Active Directory Users and Computers
    -Click on VIEW
    -Click on ADVANCE FEATURES  (this is important otherwise you won't see
    the complete list in the next steps)
    -Click on the USERS container
    -Find the problem user's account
    -Right mouse the account and click on PROPERTIES
    -Click on the SECURITY tab
    -In the top box, click on the SELF account
    -In the bottom portion of the screen make sure the READ PERSONAL
    INFORMATION  & WRITE PERSONAL INFORMATION  should both be checked for
    ALLOW
    If you can compare the permissions for 'SELF' with another user you probably should set them accordingly to be safe. I noticed that for the user where setting delegates (SOB) did
    not work, more than those 2 permissions were missing.
    Good luck!
    David

Maybe you are looking for

  • Windows Vista 64 bit w/older 2 dual core 3.0ghz Mac Pro with NVIDIA 7300

    I have read a variety of the posts that have appeared here on the use of Windows Vista 64 bits on a Mac Pro. I remain confused, and but want to do this. I have a Mac Pro purchased in the Spring of '07 with dual 3.0Ghz dual core Xeon cpus and 10gb of

  • Download ES language for ECC 6.0

    Hello, i´ve just installed a fresh ECC 6.0, but need to download the ES language, can you please tell me the correct route to download it from the service marketplace? I´ve found this but not sure if it is the right one Installations and Upgrades - E

  • " .... Is corrupt on Media"

    I get this error in my Backup Exec Logs when performing a filesystem backup using Verison 9.20 Revision 1401. I am specifically not using the Open File Manager. Volume appears fine otherwise, no hardware issues, etc. Are the seriesw of files really c

  • Should customised row validation rules put in EntityImpl.java or EntityDefImpl.java?

    Qestion: 1) Should customised row validation rules put in EntityImpl.java or EntityDefImpl.java? 2) Where am I recommended to define customized Exceptions? Thanks for any replies!

  • Enhancing Customer Reports with Commands and Parameters

    Hi All, I am implementing the mentioned tutorial. I have succesfully deployed the AccessStatisticApplication PAR on portal. While scheduling the report from Content Management -> Reports -> Running Reports, it is giving error "<b>Can't find bundle fo