DELETE && UPDATE JDBC

I am working on XML to JDBC scenario.From one xml i have to update few tables,but before that i have to delete all the tables.
Now when i file is picked by file adapter,How can i delete the data in tables and insert the file in the tables?
Let me know...
Thanks
Prabhakar

Hey Prabhakar
Use multi mapping and delete the content in one Message type and then insert the data using the other.
<StatementName>
<dbTableName action=u201DDELETEu201D>
<key1>
<col2>val2old</col2>
<col4>val4</col4>    
</key1>
<key2>
<col2>val2old2</col2>
</key2>
</dbTableName>
  </StatementName>
<StatementName>
<dbTableName action=u201DINSERTu201D>
<table>realDbTableName</table>
<access>
<col1>val1</col1>
<col2>val2</col2>
</access>
<access>
<col1>val11</col1>
</access>
</dbTableName>
  </StatementName>
Thanks
Gaurav

Similar Messages

  • Stored proecedure tutorial for insert, delete, update,select

    I want to integrate the stored procedure in my project
    i am using jsp,
    any one suggest me, stored proecedure tutorial for insert, delete, update,select
    thanx.

    Whether you are using JSP or not should not affect your decision (though I would recommend checking out the MVC pattern, and recommend against doing data access code from your JSP's).
    You simply need one tutorial on how to invoke a stored procedure. The stored procedure you write can have INSERT, SELECT, UPDATE, DELETE, whatever. You simply have to master the concepts involved in java.sql.CallableStatement. (And then you can get more fancy with vendor-specific extensions).
    However, I am a bit confused. You want a tutorial on stored procedures, but then you indicate very normal DML statements like INSERT, UPDATE and DELETE. All of these (queries, DML and stored procedures) fall under the general umberella of JDBC. So, it is always a good place to start with a plain ole JDBC tutorial.
    java.sun.com/docs/books/tutorial/jdbc/index.html
    www.onjava.com/pub/a/onjava/2003/08/13/stored_procedures.html
    - Saish

  • How do I insert/Delete/Update a row to the DB Table from Business Component Browser

    I am using the wizard and created a project containing Business component which contain some table.
    When I run the project I could see "Oracle Business Component Browser(local)" and when I select some table from "View Object Member" I get a window displaying all the field of that table and I could browse all the info.
    My Problem is when I try to insert a new record/Delete the existing record or update some record it never gets reflected to the DataBase.
    When I try to insert a new row I did save and there was a dialog box displayed saying "Transaction ID is 1". But finally It's not reflected in the Database.
    Can some one guide me how can I do insert/delete/update operation from Oracle Component Business Browser so that the changes reflect to the Original DataBase.
    Thanks in advance
    Jitendra

    Jitendra,
    This may be a problem of caching. If you do an update,insert, or delete, and do not receive an error, then the transaction should indeed be posted.
    I assume you are hitting the Save icon after your changes if you are getting a transaction ID. Are you checking for the updates through another session (i.e. SQL*Plus), or do you then requery the View Object in the tester? Do you exit the tester and come back in and not see the changes?

  • ORACLE ERROR ORA-32314: REFRESH FAST unsupported after deletes/updates

    hi,
    I have a materialized view created with fast refresh on demand option. Now when i try to refresh it manually the next day, it gives me an error . I have both count(*) and count(1) inside the materialized view. There is update and delete transactions done on most of the tables. The refresh is set to be at 4 am though a refresh group . But it fails with the error shown below . Please help. thanks
    here is the script from toad
    DROP MATERIALIZED VIEW MYPORTAL.ACCOUNT_COST_CATEGORY_MV;
    CREATE MATERIALIZED VIEW MYPORTAL.ACCOUNT_COST_CATEGORY_MV
    TABLESPACE USERS
    PCTUSED    0
    PCTFREE    10
    INITRANS   2
    MAXTRANS   255
    STORAGE    (
                INITIAL          64K
                MINEXTENTS       1
                MAXEXTENTS       UNLIMITED
                PCTINCREASE      0
                BUFFER_POOL      DEFAULT
    NOCACHE
    LOGGING
    NOCOMPRESS
    NOPARALLEL
    BUILD IMMEDIATE
    USING INDEX
                TABLESPACE USERS
                PCTFREE    10
                INITRANS   2
                MAXTRANS   255
                STORAGE    (
                            INITIAL          64K
                            MINEXTENTS       1
                            MAXEXTENTS       UNLIMITED
                            PCTINCREASE      0
                            BUFFER_POOL      DEFAULT
    REFRESH FAST ON DEMAND
    WITH PRIMARY KEY
    AS
    /* Formatted on 2011/01/07 10:04 (Formatter Plus v4.8.8) */
    SELECT   ac.account_id,
             ac.account_manager mgr_id,
             ac.account_number,
             ac.account_name,
             bc.burden_center_name burden_center,
             p.surname_isi || ', ' || p.first_name account_manager,
             p.division_id,
             item.code_id,
             item.code_name cost_category_item,
             TO_NUMBER (TO_CHAR (ap.first_day, 'YYYY')) period_year,
             ap.first_day period,
             ap.fiscal_system_period_cal_yr_eq || ', ' || ap.fiscal_year period_asr,
             COUNT (*) total_row_count,
             COUNT (1) total_one_count,
             SUM (NVL (ad.current_expense, 0)) expense,
             SUM (NVL (ad.total_budget, 0)) budget,
             SUM (NVL (ad.cumltv_expense, 0)) cumltv_expense,
             SUM (NVL (ad.commitments, 0)) commitments,
             SUM (NVL (ad.budget_balance, 0)) budget_balance
        FROM accounts ac,
             burden_centers bc,
             personnel p,
             asr_headers ah,
             asr_details ad,
             codes item,
             codes costcat,
             all_periods ap,
             codes cost_element,
             accounting_base_group abg
       WHERE ac.account_manager = p.personnel_id
         AND ac.burden_center_id = bc.burden_center_id
         AND ac.account_id = ah.account_id
         AND ah.asr_header_id = ad.asr_header_id
         AND ah.period_asr =
                       ap.fiscal_system_period_cal_yr_eq || ', ' || ap.fiscal_year
         AND abg.cost_element_cat_item_id = item.code_id
         AND cost_element.code_id = abg.cost_element_id
         AND ad.object_code = cost_element.code_value
         AND item.code_parent_id = costcat.code_id
         AND (   costcat.code_name = 'Report 1'
              OR (costcat.code_name = 'Base' AND item.code_name = 'MTDC')
    GROUP BY ac.account_id,
             ac.account_manager,
             ac.account_number,
             ac.account_name,
             bc.burden_center_name,
             p.surname_isi || ', ' || p.first_name,
             p.division_id,
             item.code_id,
             item.code_name,
             TO_NUMBER (TO_CHAR (ap.first_day, 'YYYY')),
             ap.first_day,
             ap.fiscal_system_period_cal_yr_eq || ', ' || ap.fiscal_year;
    COMMENT ON MATERIALIZED VIEW MYPORTAL.ACCOUNT_COST_CATEGORY_MV IS 'snapshot table for snapshot MYPORTAL.ACCOUNT_COST_CATEGORY_MV';
    CREATE INDEX MYPORTAL.ACCOUNT_COST_CAT_MV_IDX ON MYPORTAL.ACCOUNT_COST_CATEGORY_MV
    (ACCOUNT_ID, CODE_ID, PERIOD)
    LOGGING
    TABLESPACE USERS
    PCTFREE    10
    INITRANS   2
    MAXTRANS   255
    STORAGE    (
                INITIAL          64K
                MINEXTENTS       1
                MAXEXTENTS       UNLIMITED
                PCTINCREASE      0
                BUFFER_POOL      DEFAULT
    NOPARALLEL;
    -- Note: Index I_SNAP$_ACCOUNT_COST_CATEG will be created automatically
    --       by Oracle with the associated materialized view.
    here is the error :
    10:10:04 SQL>  exec dbms_mview.refresh('account_cost_category_mv');
    BEGIN dbms_mview.refresh('account_cost_category_mv'); END;
    ERROR at line 1:
    ORA-32314: REFRESH FAST of "MYPORTAL"."ACCOUNT_COST_CATEGORY_MV" unsupported after deletes/updates
    ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2254
    ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2460
    ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2429
    ORA-06512: at line 1
    10:10:14 SQL>

    Check out the error cause and action:
    ORA-32314: REFRESH FAST of "string"."string" unsupported after deletes/updates
    Cause:      One or more deletes or updates has been performed on one or more of the detail tables referenced by the specified materialized view. This materialized view does not support fast refresh after deletes or updates.
    Action:      Use REFRESH COMPLETE. Note: you can determine why your materialized view does not support fast refresh after deletes or updates using the DBMS_MVIEW.EXPLAIN_MVIEW() API.

  • Identifier in BOMMAT03 to find if the component is add/delete/update?

    Hi all,
    Is there an Identifier in BOMMAT03 to find if the component is to be add/delete/update?
    Based on add/delete/update flg, i need to execute a MII transaction after the workflow is executed.
    Thanks,
    Shridhar

    Hello,
    I don't believe there is such identified for component. I think BOMMAT  just sends current BOM state and doesn't provide any info about previous object config.
    Regards,
    Konstantin Chernega

  • Single Page Spry Tabbed Insert - Delete - Update

    Hi Guys
    I like to make a page with three Spry Tabs.
    * Using ( PHP - Mysql )
    * Example ( Table of "Users" Fields ID, Name, Age )
    ( First Tab )
    List of all people with navigation dividing table by ten rows
    each time.
    On each row Delete & Update This person.
    When Clicked on Delete [ Delete This Person and update the
    list ]
    When clicked on Update [ Go to third tab and update this
    exact person ]
    ( Second Tab )
    Insert new person to Mysql
    ( Third Tab )
    Update the person who was send here to be updated from tab
    one
    Can I have all list - Insert - Delete - Update in one page
    under different Spry Tabs? How can I send these info from one tap
    to another. How should I go about this?

    It was never possible to have more than one of those
    behaviours on a page
    using the standard behaviours in previous versions. You
    always had to write
    your own scripts.
    Paul Whitham
    Certified Dreamweaver MX2004 Professional
    Adobe Community Expert - Dreamweaver
    Valleybiz Internet Design
    www.valleybiz.net
    "Sanj" <[email protected]> wrote in message
    news:enjulr$qma$[email protected]..
    > Hi,
    >
    > Prior to Dreamweaver 8.02 it was possible to have more
    than 1
    > Insert/delete/update however this is no longer the case
    - is there a way
    > around this?
    >
    > Thanks!
    >
    > Sanj
    >

  • Unable to delete update rule

    Hello All,
             When iam deleting an update rule it is not getting deleted and iam getting message saying underlying infosource does not exists .The underlying infosource is deleted long before any way how come deleting update rule depends on infosource. Please give me solution to delete update rule.

    Try going into RSRV and choose All Elementary Tests => Database => Database Information about InfoProvider Tables and Databank Paramerters of *-Schema Tables for Infocube.
    Those two options may help to correct the inconsistent state the database is currently in.
    Another option .. copy your data target as a backup.  Delete the data target, then copy it back. 
    Brian

  • Can i delete updates from my start up disc on MacBook

    My start up disc is full!!! Can I delete Updates files which contain large amounts of space as they are generally installers that I assume I can get elsewhere should I need them in the future?

    You should not have any problem by deleting installers, but I would recommend you to make a backup of your files before modifying any system folder.

  • Insert,delete,update in oracle Rac11g2

    hi all.
    i am using oracle grid 11g R2,oracle database 11g R2 and oracle Linux Enterprise 5.5.
    i tried to use insert,update and delete in oracle Rac but wihout commit iit did not delete,update and insert in Node2.
    plz can anyone help me that how to insert,delete and update without issuing commit in node1 and perform the action
    on node2 as well?
    Kelly

    Hi Kelly,
    Now I get it, but unfortunately there is no way to do it. TAF can allow only session failover, or query failover (a running query will continue in the other node). But anyway, there is no way to failover a transaction. The transaction will be rolled back automatically (no question or any other option) and the session will get an error. However, the session will be connected to the other node and can continue working or retry the operation.
    HTH
    Liron

  • How to delete updates after updated

    How to delete updates after updated

    You can't delete it.
    It will start dropping the earlier updates after about two weeks (on a first in first out basis)

  • Deleting/Updating records from an object table in PL/SQL

    Hello All,
    VER:
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE     11.2.0.3.0     Production
    TNS for Linux: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - Production
    I have created an object and inserted records in it. Is there any way we can delete/update records from it. I do not want to delete based on iteration like delete.collection but I would like to know if we can delete directly from obj like delete from table...
    CREATE OR REPLACE TYPE test_type AS OBJECT
    col1 number,
    col2 varchar2(100)
    CREATE OR REPLACE TYPE tab_type is table of test_type;
    DECLARE
    test_tab tab_type;
    l_cnt NUMBER;
    BEGIN
    select test_type(col1,col2) bulk collect
    into test_tab from (select 1 as col1,'test1' as col2 from dual
                        union all
                        select 2,'test2' from dual);
    IF test_tab.count>0
    THEN
    DELETE FROM TABLE(CAST(test_tab as tab_type)) a
    where a.col1=1;
    END IF;
    l_cnt := test_tab.count;
    END;Thx
    Shank.

    SB,
    I have a scenario wherein I insert few records into a collection table. I'm gonna filter few records from collection table based on the filter.
    I want to delete the records that didn't match the filter. Right now, I'm inserting the records into a physical table and deleting from there. I do no want to use a physical table. Trying to avoid it.
    Would like to delete from collection itself.
    DELETE FROM TABLE(CAST(lv_attr_filter_tab as EDMS_CSPP_DISC_REQ_TAB_TYPE))
                                 WHERE NOT EXISTS (SELECT 1
                                       FROM edms_disc_lines_stg edls
                                       WHERE edls.req_id = edrg.request_id
                                          AND edls.disc_line_id = edrg.discount_id
                                          AND UPPER(edls.disc_status) IN ('ACTIVE');

  • Is it possible to delete updates?

    Well, I let my MacBook download the latest update for the Keychain, but now I am wondering what went wrong: when it asks me to Install the update by restarting my computer, the process gets stuck with the blue screen and a narrow window which indicates "configuring installation". It lasts for hours and never goes on - although I can close the window and log in again - , so I wonder if there is a way to delete the downloaded upgrade and then try the whole thing all over again?
    Thanks,
    Zo

    Apologize for being persistent, but has anyone any idea how to delete updates?

  • ORA-01456 : may not perform insert/delete/update operation

    When I use following stored procedure with crystal reports, following error occurs.
    ORA-01456 : may not perform insert/delete/update operation inside a READ ONLY transaction
    Kindly help me on this, please.
    My stored procedure is as under:-
    create or replace
    PROCEDURE PROC_FIFO
    (CV IN OUT TB_DATA.CV_TYPE,FDATE1 DATE, FDATE2 DATE,
    MSHOLD_CODE IN NUMBER,SHARE_ACCNO IN VARCHAR)
    IS
    --DECLARE VARIABLES
    V_QTY NUMBER(10):=0;
    V_RATE NUMBER(10,2):=0;
    V_AMOUNT NUMBER(12,2):=0;
    V_DATE DATE:=NULL;
    --DECLARE CURSORS
    CURSOR P1 IS
    SELECT *
    FROM FIFO
    WHERE SHARE_TYPE IN ('P','B','R')
    ORDER BY VOUCHER_DATE,
    CASE WHEN SHARE_TYPE='P' THEN 1
    ELSE
    CASE WHEN SHARE_TYPE='R' THEN 2
    ELSE
    CASE WHEN SHARE_TYPE='B' THEN 3
    END
    END
    END,
    TRANS_NO;
    RECP P1%ROWTYPE;
    CURSOR S1 IS
    SELECT * FROM FIFO
    WHERE SHARE_TYPE='S'
    AND TRANS_COST IS NULL
    ORDER BY VOUCHER_DATE,TRANS_NO;
    RECS S1%ROWTYPE;
    --BEGIN QUERIES
    BEGIN
    DELETE FROM FIFO;
    --OPENING BALANCES
    INSERT INTO FIFO
    VOUCHER_NO,VOUCHER_TYPE,VOUCHER_DATE,TRANS_QTY,TRANS_AMT,TRANS_RATE,
    SHOLD_CODE,SHARE_TYPE,ACC_NO,SHARE_CODE,TRANS_NO)
    SELECT TO_CHAR(FDATE1,'YYYYMM')||'001' VOUCHER_NO,'OP' VOUCHER_TYPE,
    FDATE1-1 VOUCHER_DATE,
    SUM(
    CASE WHEN
    --((SHARE_TYPE ='S' AND DTAG='Y')
    SHARE_TYPE IN ('P','B','R','S') THEN
    TRANS_QTY
    ELSE
    0
    END
    ) TRANS_QTY,
    SUM(TRANS_AMT),
    NVL(CASE WHEN SUM(TRANS_AMT)<>0
    AND
    SUM
    CASE WHEN SHARE_TYPE IN ('P','B','R','S') THEN
    TRANS_QTY
    ELSE
    0
    END
    )<>0 THEN
    SUM(TRANS_AMT)/
    SUM
    CASE WHEN SHARE_TYPE IN ('P','B','R','S') THEN
    TRANS_QTY
    ELSE
    0
    END
    ) END,0) TRANS_RATE,
    MSHOLD_CODE SHOLD_CODE,'P' SHARE_TYPE,SHARE_ACCNO ACC_NO,
    SHARE_CODE,0 TRANS_NO
    FROM TRANS
    WHERE ACC_NO=SHARE_ACCNO
    AND SHOLD_CODE= MSHOLD_CODE
    AND VOUCHER_DATE<FDATE1
    --AND
    --(SHARE_TYPE='S' AND DTAG='Y')
    --OR SHARE_TYPE IN ('P','R','B'))
    group by TO_CHAR(FDATE1,'YYYYMM')||'001', MSHOLD_CODE,SHARE_ACCNO, SHARE_CODE;
    COMMIT;
    --TRANSACTIONS BETWEEND DATES
    INSERT INTO FIFO
    TRANS_NO,VOUCHER_NO,VOUCHER_TYPE,
    VOUCHER_DATE,TRANS_QTY,
    TRANS_RATE,TRANS_AMT,SHOLD_CODE,SHARE_CODE,ACC_NO,
    DTAG,TRANS_COST,SHARE_TYPE
    SELECT TRANS_NO,VOUCHER_NO,VOUCHER_TYPE,
    VOUCHER_DATE,TRANS_QTY,
    CASE WHEN SHARE_TYPE='S' THEN
    NVL(TRANS_RATE-COMM_PER_SHARE,0)
    ELSE
    NVL(TRANS_RATE+COMM_PER_SHARE,0)
    END
    ,TRANS_AMT,SHOLD_CODE,SHARE_CODE,ACC_NO,
    DTAG,NULL TRANS_COST,SHARE_TYPE
    FROM TRANS
    WHERE ACC_NO=SHARE_ACCNO
    AND SHOLD_CODE= MSHOLD_CODE
    AND VOUCHER_DATE BETWEEN FDATE1 AND FDATE2
    AND
    ((SHARE_TYPE='S' AND DTAG='Y')
    OR SHARE_TYPE IN ('P','R','B'));
    COMMIT;
    --PURCHASE CURSOR
    IF P1%ISOPEN THEN
    CLOSE P1;
    END IF;
    OPEN P1;
    LOOP
    FETCH P1 INTO RECP;
    V_QTY:=RECP.TRANS_QTY;
    V_RATE:=RECP.TRANS_RATE;
    V_DATE:=RECP.VOUCHER_DATE;
    dbms_output.put_line('V_RATE OPENING:'||V_RATE);
    dbms_output.put_line('OP.QTY2:'||V_QTY);
    EXIT WHEN P1%NOTFOUND;
    --SALES CURSOR
    IF S1%ISOPEN THEN
    CLOSE S1;
    END IF;
    OPEN S1;
    LOOP
    FETCH S1 INTO RECS;
    EXIT WHEN S1%NOTFOUND;
    dbms_output.put_line('OP.QTY:'||V_QTY);
    dbms_output.put_line('SOLD:'||RECS.TRANS_QTY);
    dbms_output.put_line('TRANS_NO:'||RECS.TRANS_NO);
    dbms_output.put_line('TRANS_NO:'||RECS.TRANS_NO);
    IF ABS(RECS.TRANS_QTY)<=V_QTY
    AND V_QTY<>0
    AND RECS.TRANS_COST IS NULL THEN
    --IF RECS.TRANS_COST IS NULL THEN
    --dbms_output.put_line('SOLD:'||RECS.TRANS_QTY);
    --dbms_output.put_line('BAL1:'||V_QTY);
    UPDATE FIFO
    SET TRANS_COST=V_RATE,
    PUR_DATE=V_DATE
    WHERE TRANS_NO=RECS.TRANS_NO
    AND TRANS_COST IS NULL;
    COMMIT;
    dbms_output.put_line('UPDATE TRANS_NO:'||RECS.TRANS_NO);
    dbms_output.put_line('OP.QTY:'||V_QTY);
    dbms_output.put_line('SOLD:'||RECS.TRANS_QTY);
    dbms_output.put_line('TRANS_NO:'||RECS.TRANS_NO);
    dbms_output.put_line('BAL2:'||TO_CHAR(RECS.TRANS_QTY+V_QTY));
    END IF;
    IF ABS(RECS.TRANS_QTY)>ABS(V_QTY)
    AND V_QTY<>0 AND RECS.TRANS_COST IS NULL THEN
    UPDATE FIFO
    SET
    TRANS_QTY=-V_QTY,
    TRANS_COST=V_RATE,
    TRANS_AMT=ROUND(V_QTY*V_RATE,2),
    PUR_DATE=V_DATE
    WHERE TRANS_NO=RECS.TRANS_NO;
    --AND TRANS_COST IS NULL;
    COMMIT;
    dbms_output.put_line('UPDATING 100000:'||TO_CHAR(V_QTY));
    dbms_output.put_line('UPDATING 100000 TRANS_NO:'||TO_CHAR(RECS.TRANS_NO));
    INSERT INTO FIFO
    TRANS_NO,VOUCHER_NO,VOUCHER_TYPE,
    VOUCHER_DATE,TRANS_QTY,
    TRANS_RATE,TRANS_AMT,SHOLD_CODE,SHARE_CODE,ACC_NO,
    DTAG,TRANS_COST,SHARE_TYPE,PUR_DATE
    VALUES
    MCL.NEXTVAL,RECS.VOUCHER_NO,RECS.VOUCHER_TYPE,
    RECS.VOUCHER_DATE,RECS.TRANS_QTY+V_QTY,
    RECS.TRANS_RATE,(RECS.TRANS_QTY+V_QTY)*RECS.TRANS_RATE,RECS.SHOLD_CODE,
    RECS.SHARE_CODE,RECS.ACC_NO,
    RECS.DTAG,NULL,'S',V_DATE
    dbms_output.put_line('INSERTED RECS.QTY:'||TO_CHAR(RECS.TRANS_QTY));
    dbms_output.put_line('INSERTED QTY:'||TO_CHAR(RECS.TRANS_QTY+V_QTY));
    dbms_output.put_line('INSERTED V_QTY:'||TO_CHAR(V_QTY));
    dbms_output.put_line('INSERTED RATE:'||TO_CHAR(V_RATE));
    COMMIT;
    V_QTY:=0;
    V_RATE:=0;
    EXIT;
    END IF;
    IF V_QTY>0 THEN
    V_QTY:=V_QTY+RECS.TRANS_QTY;
    ELSE
    V_QTY:=0;
    V_RATE:=0;
    EXIT;
    END IF;
    --dbms_output.put_line('BAL3:'||V_QTY);
    END LOOP;
    V_QTY:=0;
    V_RATE:=0;
    END LOOP;
    CLOSE S1;
    CLOSE P1;
    OPEN CV FOR
    SELECT TRANS_NO,VOUCHER_NO,VOUCHER_TYPE,
    VOUCHER_DATE,TRANS_QTY,
    TRANS_RATE,TRANS_AMT,SHOLD_CODE,B.SHARE_CODE,B.ACC_NO,
    DTAG,TRANS_COST,SHARE_TYPE, B.SHARE_NAME,A.PUR_DATE
    FROM FIFO A, SHARES B
    WHERE A.SHARE_CODE=B.SHARE_CODE
    --AND A.SHARE_TYPE IS NOT NULL
    ORDER BY VOUCHER_DATE,SHARE_TYPE,TRANS_NO;
    END PROC_FIFO;
    Thanks and Regards,
    Luqman

    Copy from TODOEXPERTOS.COM
    Problem Description
    When running a RAM build you get the following error as seen in the RAM build
    log file:
    14:52:50 2> Updating warehouse tables with build information...
    Process Terminated In Error:
    [Oracle][ODBC][Ora]ORA-01456: may not perform insert/delete/update operation inside a READ ONLY transaction
    (SIGENG02) ([Oracle][ODBC][Ora]ORA-01456: may not perform insert/delete/update operation inside a READ ONLY transaction
    ) Please contact the administrator of your Oracle Express Server application.
    Solution Description
    Here are the following suggestions to try out:
    1. You may want to use oci instead of odbc for your RAM build, provided you
    are running an Oracle database. This is setup through the RAA (relational access
    administrator) maintenance procedure.
    Also make sure your tnsnames.ora file is setup correctly in either net80/admin
    or network/admin directory, to point to the correct instance of Oracle.
    2. Commit or rollback the current transaction, then retry running your
    RAM build. Seems like one or more of your lookup or fact tables have a
    read-only lock on them. This occurs if you modify or add some records to your
    lookup or fact tables but forget to issue a commit or rollback. You need to do
    this through SQL+.
    3. You may need to check what permissions has been given to the relational user.
    The error could be a permissions issue.
    You must give 'connect' permission or roll to the RAM/relational user. You may
    also try giving 'dba' and 'resource' priviliges/roll to this user as a test. Inorder to
    keep it simple, make sure all your lookup, fact and wh_ tables are created on
    a single new tablespace. Create a new user with the above privileges as the
    owner of the tablespace, as well as the owner of the lookup, fact and wh_
    tables, inorder to see if this is a permissions issue.
    In this particular case, the problem was resolved by using oci instead of odbc,
    as explained in suggestion# 1.

  • How to delete/update GPS data using Lightroom?

    Title says it all, but I'll explain why I need it.
    I have a Sony SLT A55 which is apretty good camera, it has a GPS.
    The way GPS work in this camera is it gets a fix, and then updates every undetermined time the position. That's okay, what is stupid in its design is, if you haven't taken pics in let's say 24 hrs. and you move several miles away and start shooting indoors (no GPS signal available) it will mark all your pics with your last known position, so now I have several photographs with a location I left several DAYS ago. I'd prefer the camera not to record GPS data than having a wrong location, but that's another thing for the Sony forums.
    So, now I want to delete (or update would be another option) the GPS data from the pics that are tagged with wrong locations.
    I'm shooting RAW,
    Is there any way to do it inside Lightroom?

    I’m a Nikon user, and here’s how I geotag my images when I want to (not very often). I use a Nokia N95 smart phone and Nokia Sports Tracker to track coordinates with timestamps. I use Nikon’s ViewNX2 to import the images from my camera (or card) to the final destination (folder) of the images. I also transfer the log file from the Sports Tracker to my computer. Then I use ViewNX2 to geotag the most recently imported set of images with the log file from the Sports Tracker. (I don’t know why but I have to adjust the time offset by one hour, fortunately this setting is sticky so I don’t have to do it every time). When the images are geotagged, I do an in-place import in Lightroom, and Lightroom recognizes the GPS coordinates.
    ViewNX2 is a free download, and I think this scheme can be used to geotag jpg of tif images from any camera. The raw file capability of ViewNX2 is understandably restricted to Nikon cameras. You could try Geosetter, another free download. The problem with my system is that Geosetter did not understand the log files of my Nokia N95. GPSBabel can translate the log files to a format acceptable to Geosetter, but since ViewNX2 does importing and geotagging (and time-offsetting the N95 log file), I have no need for additional programs.
    WRT to the original question ("how to delete/update...") you could try the following: write all metadata (keywords, settings) to your master image files in LR. Then use Geosetter or some other additional tool to modify the GPS data or the affected images. Finally, synchronize the images back to Lightroom, and select the option to use metadata from the images (instead of LR's catalog).
    Best regards
    Antero

  • Ebo designer - Add, delete , update options disable

    Hi
    I am trying to add a new element in the EBO (Content Editor of EBO designer), or Add creating new package.
    The Add, Delete , Update options are disabled which restricts me to add new elements.
    In the security realms of WLS the AIA groups are added and clubbed with requisite user (As metioned in Post installation step of AIA 3.0).
    Any hint will be highly appreciated.
    If anybody have step by step approach for using EboDesigner, kindly share it.
    Thanks
    Gaurav

    Gaurav,
    Ebo Designer developer's guide has the information you are looking for. At a high level, you can only create a package under customer pkg (EBO should be created under customer -> data services). In the editor, make sure your business context is */Customer to create any component, add association etc. Same rule applies to any EBO you want to update. The business context has to be Customer for any operation to work.

Maybe you are looking for

  • How do i get my pictures back on my iphone after restoring and backing up my iphone

    hod do i get my pictures back on my iphone after restoring and backing up my iphone?

  • Wep app search result show on the same product page(product large view).

    I tried the web app search result show on the same product page. e.g checking the postcode which built as web app on the product page, to check availability to ship the user's area. so the result show on the same page(doesn't necessary to lose the pr

  • New installation question

    two issues. just installed Office for Mac 2011-how do I remove Office for Mac 2008. How do I import my contact, calendar items into Office for Mac 2011 from either Windows Outlook or Address Book and iCal

  • Flash paper equivalent for Mac?

    I'm in a web page design class and we are working in CS3. We were learning about Flash in Dreamweaver and the instructor was explaining Flash Paper as a way to insert documents like articles into a web page. I've been working on a website to post my

  • Unable to install any applications with PCSuite

    I have the latest PC Suite. Problem: Cannot install any software onto the phone using either cable or bluetooth. Cannot browse the phone using the Nokia Phone browser as it comes up with nothing...it wont show whats on the phone. Only way I can trans