Refreshing an ADF Table After update

I have an ADF Table which has multiple records. I want the table should refresh after I change some field and press commit.

Hi,
Assuming you are using ADF Faces your can double click on the command button and add a backing bean method, in which you call the commit and then also execute (for execute query).
Let Jdev generate the backing bean code for you and then add the execute binding manually in the page definition and then add it after the commit code in the backing bean.
Brenden

Similar Messages

  • Focus on next navigatble item in ADF Table after refresh

    Hi,
    How to set the focus in the ADF table to next navigable item after Table Refresh.
    I have valueChangeListner set to one of the columns in the table. Once the Value is changed in the Column we perform calculations based on the value and update the RowIterator.
    To get the updated values I refresh the Table. It shows the updated values correctly.
    After refresh the contorl/focus moves to the Table header.
    Instead We would like to have the focus on the next navigable Item in the Table.
    Or is there a way to change the values in the Table without refreshing by Partial trigger on the Table.
    Thanks,
    Satya

    Hi Arun,
    I did that but it doesn't seems to be working as it need to refresh its own column.
    eg:
    Row COL1 COL2
    R1: Rxxxx Val1
    R2: Lxxxx Val2
    R3: Exxxx Val3
    R4: Fxxxx Val4
    When I modify Val1 Val4 need to be calculated using val1-val3/val2
    I'm doing this in ValueChangeListener. and setting attribute values by finding the correct row using RowsetIterator.
    When I refresh the Table Iterator in Row R4 Val4 is showing the correct values.
    But If I refresh the COL2 it doesn't change the value in row R4
    I have tried by setting IterartorBinding Refresh to always / ifneeded. Tried both declarative and Dynamically. There is no effect.
    Thanks,
    Satya

  • Problems with refreshing a adf table

    Hi,
    i am using jdeveloper 11 with the new adf framework.
    I use a table which i bind to an arraylist. works fine. the table shows the data from the list.
    at sometime i change the backing arraylist but the table show (only in the section i saw on the screen) the old data, when i scroll down the new data is shown.
    so i know the arraylist holds the new data and the binding is ok but the refresh of the table doesnt work in the section i see....
    hope you understand my problem
    hannes

    Hi,
    As far as I understand , you are not clearing the previous or old data. This results in your table showing the new data towards the end.
    If you are using something like this : List tableRows = new ArrayList(); to populate the data in the table , ensure that you clear this list everytime you method runs
    You can do this by : tableRows.clear()
    HTH
    -Shishir

  • Update Multiple Rows in same table after Update using Trigger

    If i update ACK or ReJ column it should update all the other columns with the same GlobalID.
    create table t_emp(
    empid varchar2(10) not null,
    empname varchar2(50),
    Dep varchar2(50),
    ACk number(5),
    REJ number(5),
    globalID varchar2(10) default '0' );
    insert into t_emp t values ( 'TM01' , 'Logu','Java',null,null,'01');
    insert into t_emp t values ( 'BT01' , 'Logu','Java' ,null,null,'01');
    insert into t_emp t values ( 'Oracle01' , 'Logu','DBA' ,null,null,'01');
    insert into t_emp t values ( 'Google01' , 'Logu','Design' ,null,null,'0');
    insert into t_emp t values ( 'AR02' , 'Uthaya','CRM' ,null,null,'02');
    insert into t_emp t values ( 'RIL02' , 'Uthaya','Java' ,null,null,'02');
    insert into t_emp t values ( 'EA02' , 'Uthaya','DBA' ,null,null,'02');
    insert into t_emp t values ( 'TCS02' , 'Uthaya','Java' ,null,null,null);
    insert into t_emp t values ( 'P05' , 'Krish','.Net' ,null,null,'05');
    insert into t_emp t values ( 'TCS06' , 'Krish','.Net' ,null,null,'06');
    insert into t_emp t values ( 'IBM06' , 'Krish','.Net' ,null,null,'06');
    CREATE OR REPLACE TRIGGER t_emp_update
    AFTER UPDATE
    ON t_emp
    FOR EACH ROW
    DECLARE
    t_Ack varchar2(15);
    t_Rej varchar2(15);
    t_globalID varchar2(10);
    t_empid varchar2(10);
    BEGIN
    t_globalID := :new.globalID;
    t_Ack := :new.ACk;
    t_Rej := :new.REJ;
    t_empid := :new.empid;
    IF t_Ack is not null then
    DBMS_OUTPUT.PUT_LINE('t_Ack := ' || t_Ack || ', t_globalID := '|| t_globalID ||', t_empid := '||t_empid);
    update t_emp set ACk = t_Ack where globalID = t_globalID and empid != t_empid;
    end if;
    IF t_Rej is not null then
    DBMS_OUTPUT.PUT_LINE('t_REJ := ' || t_Rej || ', t_globalID := '|| t_globalID ||', t_empid := '||t_empid);
    update t_emp set Rej = t_Rej where globalID = t_globalID and empid != t_empid;
    end if;
    END;
    update t_emp v set Rej = 1 where empid = 'TCS06';
    If i Update empid = 'TCS06' it should Update Internally all rows with same globalID (06).
    select * from t_emp order by empname,globalID;
    I am getting some errors in this trigger .
    ORA-04091: table TEST1.T_EMP is mutating, trigger/function may not see it
    ORA-06512: at "TEST1.T_EMP_UPDATE", line 17
    ORA-04088: error during execution of trigger 'TEST1.T_EMP_UPDATE'
    I am using ORACLE 10G
    Kindly Help me ...

    Avoiding Mutating Tables
    http://asktom.oracle.com/pls/asktom/ASKTOM.download_file?p_file=6551198119097816936

  • How to refresh the page/table after completion of taskflow in popup

    Hi,
    Scenario:
    In main page, having an emp-table and popup(which contains taskflow as region). In taskflow, iam modifying the emp-table data and after successfully completion of taskflow, want to refresh the emp-table present in the main page. How can we do this...?
    Note:
    (1) In Taskflow last activity is 'taskflow-return', where iam commiting all the data.After this i want to refresh the emp-table,(pop-up closes when it reaches last activity).
    (2) Tried PPR in bean code of main page, it refreshes, but before commiting.
    Something like, Refreshing the entire page either closing/hiding of popup, will help......?
    Regards.

    try with regionNavigationListener:
    public void myRegionNavigationListener(RegionNavigationEvent event) {
          String newViewId = event.getNewViewId();
          if (newViewId == null) { // null new view id indicates the taskflow has ended !
                refreshEmpTableSomehow();
    }As one alternative, take a look at my last message from this thread:
    Re: How to handle the "cancel" button and "close" icon of a popup ?
    Edited by: Cvele_new_account on Oct 5, 2012 12:19 AM

  • Single-row refresh in ADF tables, with PPR

    Hello everybody. I have an application in JDeveloper 11gR2 environment.
    Here are my requirements:
    1. I have a table, each cell is an input text;
    2. Some cell must be rendered differently depending on a specific key-field (for example, input or output text)
    3. Any manual change in the key-field must result in a re-rendering of the interested row, not the entire table.
    I addressed req 2 using an af:switcher which renders either a facet or another, evaluating the key-field.
    About req 3, I tried to set auto-submit to true on key-field and then specifying partialTriggers="key-field-id" in the column component including the switcher.
    It works, with 2 issues:
    a) the main one: it refreshes the entire table (which simply disappear/reappears when I tab out of the key-field);
    b) the second one: I'd prefer not to use the auto-submit 'cause I don't want to submit anything, yet: I just want to change rendering/values of other cells.
    Any idea?
    Thanks a lot,
    Emanuele

    Hi,
    I addressed req 2 using an af:switcher which renders either a facet or another, evaluating the key-field.
    I would have used an af:inputText field and set the readOnly property to true for the read only fields. This can be done through EL
    About req 3, I tried to set auto-submit to true on key-field and then specifying partialTriggers="key-field-id" in the column component including the switcher.
    It works, with 2 issues:
    You cannot just refresh a single row. The table is stamped at rendering, which means individual rows are not represented by their own object
    Frank

  • Refresh a ADF Table?

    Hi to all
    I have a adf faces table who take his data from toplink, if i update a row directly on the table via an oracle client, when i refresh the page the old data still be rendered and the table is not refreshed. I mean, the page is refreshed, but the data in the table still being the old data. Then, if the data in the database is altered, how can i refresh my table to show the new data with the needed of close my browser and open it again?
    Thanks in advance!

    Hi! I have a similar problem with table as posted in the following thread:
    Help needed! ADF Data Control: Navigation Buttons + Table  issue.
    As you can see, I've got no response and it's still unsolved.
    Hope you get a better luck!
    Regards,
    Gustavo

  • I can not refresh my music library after update

    dears
    i have just update my phone ie:n73 with firmware v4.0726.2.0.1 and my memory card has 2GB capacity.
    but when i run music player i can not refresh my music library. i should remind you that all my songs are in my memory card.
    your quick quide is highle appreciated.
    ragards
    saeed

    Hi saeedpenpaller
    Do either of these help you?
    Remove Memory Card > Insert > then Refresh
    Backup Music From Memory Card to PC > Format Mem Card to FAT32 & tranfer all data back > Refresh Music List.
    Happy to have helped forum in a small way with a Support Ratio = 37.0

  • Refresh adf table and selection row

    Hi,
    I create web application. I have created entity Users from MySQL database and managed Bean. In this managed Bean (sessionScope) is method for connection to database and method for adding new row (data) in database. It works.
    I have 2 problems.
    The first.
    I have form for adding User and commandButton Add.
    How I can refresh (update) adf table after executing SQL command (in commandButton Add) ? Now I must reconnect session.
    The second problem:
    I want to show a panel with data from one row from adf table.
    How I can selection this row in popup ?
    My table:
    <af:table var="user" rowBandingInterval="0" id="t2"
                                                  inlineStyle="margin:20px 30px; width:578pt; height:160pt;"
                                                  value="#{userController.users}"
                                                  rows="15"
                                                  emptyText="#{bindings.UsersprototypView11.viewable ? 'No data to display.' : 'Access Denied.'}"
                                                  fetchSize="#{bindings.UsersprototypView11.rangeSize}"
                                                  editingMode="clickToEdit" rowSelection="single"
                                                  selectedRowKeys="#{userController.selectedUser}"
                                                  selectionListener="#{userController.selectedUser}"> ---- Here I have problem.
                                            <af:column sortProperty="#{user.user_id}"
                                                       sortable="false"
                                                       headerText="ID"                            
                                                       id="c11" width="33">
                                                <af:commandLink id="ot34" text="#{user.user_id}">
                                                    <af:showPopupBehavior popupId="p4" triggerType="action"/>
                                                </af:commandLink>
                                            </af:column>
                                            <af:column sortProperty="#{user.firstname}"
                                                       sortable="false"
                                                       headerText="Firstname"
                                                       id="c20" width="111">
                                                <af:outputText value="#{user.firstname}" id="ot27"/>
                                            </af:column>
                                            <af:column sortProperty="#{user.lastname}"
                                                       sortable="false"
                                                       headerText="Lastname"
                                                       id="c12">
                                                <af:outputText value="#{user.lastname}" id="ot31"/>
                                            </af:column>
                                            <af:column sortProperty="#{user.address}"
                                                       sortable="false"
                                                       headerText="Address"
                                                       id="c9" width="95">
                                                <af:outputText value="#{user.address}" id="ot32"/>
                                            </af:column>
                                            <af:column sortProperty="#{user.city}"
                                                       sortable="false"
                                                       headerText="#City"
                                                       id="c10" width="76">
                                                <af:outputText value="#{user.city}" id="ot33"/>
                                            </af:column>
                                            <af:column sortProperty="#{user.username}"
                                                       sortable="false"
                                                       headerText="Username"
                                                       id="c7" width="102">
                                                <af:outputText value="#{user.username}" id="ot29"/>
                                            </af:column>
                                            <af:column sortProperty="#{user.email}"
                                                       sortable="false"
                                                       headerText="E-mail"
                                                       id="c21" width="106">
                                                <af:outputText value="#{user.email}" id="ot28"/>
                                            </af:column>
                                            <af:column sortProperty="#{user.regdate}"
                                                       sortable="false"
                                                       headerText="Registration"
                                                       id="c8" width="108">
                                                <af:outputText value="#{user.regdate}" id="ot30">
                                                    <af:convertDateTime pattern="#{user.regdate}"/>
                                                </af:outputText>
                                            </af:column>
                                        </af:table>userController is name managed Bean.
    users is list of users.
    My panel window (popup):
    <af:popup childCreation="deferred" autoCancel="disabled" id="p4">
                                        <af:panelWindow id="pw9" title="Delete user">
                                            <af:panelFormLayout id="pfl6">
                                                <af:panelLabelAndMessage label="ID:"
                                                                         id="plam16">
                                                    <af:outputText value="#{userController.selectedUser.user_id}" id="ot50"/>
                                                </af:panelLabelAndMessage>
                                                <af:panelLabelAndMessage label="Firstname:"
                                                                         id="plam17">
                                                    <af:outputText value="#{userController.selectedUser.firstname}" id="ot51"/>
                                                </af:panelLabelAndMessage>
                                                <af:panelLabelAndMessage label="Lastname:"
                                                                         id="plam18">
                                                    <af:outputText value="#{userController.selectedUser.lastname}" id="ot52"/>
                                                </af:panelLabelAndMessage>
                                                <af:panelLabelAndMessage label="Address:"
                                                                         id="plam19">
                                                    <af:outputText value="#{userController.selectedUser.address}" id="ot53"/>
                                                </af:panelLabelAndMessage>
                                                <af:panelLabelAndMessage label="City:" id="plam20">
                                                    <af:outputText value="#{userController.selectedUser.city}" id="ot54"/>
                                                </af:panelLabelAndMessage>
                                                <af:panelLabelAndMessage label="Username:"
                                                                         id="plam21">
                                                    <af:outputText value="#{userController.selectedUser.username}" id="ot55"/>
                                                </af:panelLabelAndMessage>
                                                <af:panelLabelAndMessage label="E-mail:" id="plam22">
                                                    <af:outputText value="#{userController.selectedUser.email}" id="ot56"/>
                                                </af:panelLabelAndMessage>
                                                <af:panelLabelAndMessage label="Registration:"
                                                                         id="plam23">
                                                    <af:outputText value="#{userController.selectedUser.regdate}" id="ot57">
                                                        <af:convertDateTime pattern="#{userController.selectedUser.regdate}"/>
                                                    </af:outputText>
                                                </af:panelLabelAndMessage>
                                            </af:panelFormLayout>
                                            <af:commandButton text="Delete" id="cb18"
                                                              inlineStyle="width:80pt; margin:10px 0px 0px 0px;"/>
                                        </af:panelWindow>
                                    </af:popup>When I cut out row: selectionListener="#{userController.selectedUser}
    Popup (for deleting user) looks like this:
    http://imageshack.us/photo/my-images/404/popupc.jpg/
    I need to get the outputs from <af:outputText> in this popup.
    Thanks for help.
    Edited by: user9202624 on 26.2.2013 7:52

    thanks for answer.
    I added partialTriggers in af:table
    <af:table var="user" rowBandingInterval="0" id="t2"
                                                  inlineStyle="margin:20px 30px; width:578pt; height:160pt;"
                                                  value="#{userController.users}"
                                                  rows="15"
                                                  emptyText="#{bindings.UsersprototypView11.viewable ? 'No data to display.' : 'Access Denied.'}"
                                                  fetchSize="#{bindings.UsersprototypView11.rangeSize}"
                                                  editingMode="clickToEdit" rowSelection="single"
                                                  selectedRowKeys="#{userController.selectedUser}"
                                                  partialTriggers="::t1" >What next ? What should I do next ? Sry, I'm newbie in adf and jDev.
    Edited by: user9202624 on 26.2.2013 8:55

  • Form Submit = Table View Update

    OK,
    I have been trying to get this to work and am probably
    missing something easy here. My goal is to have a user submit info
    using Ajax and have the table on the bottom update on submission.
    My observer works when clicked but I can't seem to link the refresh
    to the table to update.
    Tried -
    onClick="ADDUSER( ['email','dept','div'], ['resultdiv'] );
    dspsmUserTable.loadData();"> No refresh
    Added a refresh button to manually do
    "dspsmUserTable.loadData();" Works fine.
    Is there any ideas/examples out there yet.
    Thanks, Matt

    Hi widgeter,
    1. First of all, I think you have a call to
    Spry.Utils.loadURL in your ADDUSER function in order to
    submit your user-data to server, but you should also register a
    callback in order to refresh the users table only after a response
    comes from the server (after the user has been inserted into
    database).
    Please check Kin's post:
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=602&threadid=1214689&fo rumid=72
    2. Also, you need to make sure that {useCache:false} is set
    to your dspsmUserTable DataSet, like this:
    var dspsmUserTable = new
    Spry.Data.XMLDataSet("path/to/users/page", "/xpath/to/nodes",
    {useCache:false});
    Regards,
    Dragos

  • Adf Table with selection as set to NONE

    Hi,
    I having a scenario as explained below:
    I am populating records in to the adf Table
    After that I am using checkbox for selecting multiple records in the table and delete them.
    So I set selection property to None for the table. Because I want user to edit only that record which is checked.
    My multiple delete is working fine.
    Now if i selected one checkbox and and click on edit(which I have placed in the panal collection toolbar) it should show me the record in the which I have selected by check box. But it is showing me the first row.
    Can anybody help me to set the current row of the adf table manually which is having selection property as none. so that I can populate in popup.
    If some other way is available please explain.
    I am using jdeveloper 11.1.2.1
    Thanks,
    Sandeep.

    I don't see why you can't set selection property to "single"? (and don't forget to restore table SelectionListener property - if deleted)
    This will set current row when you click on it.
    If you programmatically iterate through RowSet to find rows with selected checkbox, this will work regardless of value in "selection" property.
    Dario
    Edited by: kdario on Nov 7, 2012 5:20 AM
    Edited by: kdario on Nov 7, 2012 5:22 AM

  • LOV Values not reflecting in the ADF table

    Hi,
    I created to VO's one for the LOV and one which uses the LOV. When I select a value from the LOV three columns in the ADF Table needs to be reflected with the selected value, But the Only one column is reflecting the value.
    When I manually refresh the jsp page the second value and the third value is getting reflected.
    I tried adding Refreshing the ADF table VO using VO Iterator in a managed bean and also added Auto submit , but nothing works.
    The ADF Table is in Page fragment.
    Jdeveloper Version:11.1.2.3.0
    Please help me in resolving the issue.
    Thank you.
    Regards,
    Manigandan R

    Hi,
    set the LOV property "autosubmit" to "true" and then PPR the table (use the PartialTriggers property on teh table to reference the LOV component Id)
    Frank

  • Searching after update

    If I create a CONTEXT index on a column and then update the value in the column for a single row, that row is no longer found when I do a CONTAINS() search, even if the new and old value both match the CONTAIN() condition. Is there any way to include updated rows in the search results before a sync_index is performed?

    No, as far as I know, there is no way to include updated rows in a contains query until after synchronization or rebuild or optimization or drop and recreate or some such thing. When the row is updated, it is removed from the ...$k table and marked as unused in the ...$n table. The demonstration below shows what happens in these tables after update, after synchronization and after dropping and recreating the index.
    SCOTT@10gXE> CREATE TABLE test_tab (test_col VARCHAR2 (30))
      2  /
    Table created.
    SCOTT@10gXE> INSERT INTO test_tab VALUES ('word1 word2')
      2  /
    1 row created.
    SCOTT@10gXE> CREATE INDEX test_idx ON test_tab (test_col) INDEXTYPE IS CTXSYS.CONTEXT
      2  /
    Index created.
    SCOTT@10gXE> SELECT ROWID, t.* FROM test_tab t
      2  /
    ROWID              TEST_COL
    AAAH6CAABAAAKwiAAA word1 word2
    SCOTT@10gXE> SELECT ROWID, t.* FROM test_tab t WHERE CONTAINS (test_col, 'word1') > 0
      2  /
    ROWID              TEST_COL
    AAAH6CAABAAAKwiAAA word1 word2
    SCOTT@10gXE> SELECT token_text, token_first, token_last FROM dr$test_idx$i
      2  /
    TOKEN_TEXT                                                       TOKEN_FIRST TOKEN_LAST
    WORD1                                                                      1          1
    WORD2                                                                      1          1
    SCOTT@10gXE> SELECT * FROM dr$test_idx$k
      2  /
         DOCID TEXTKEY
             1 AAAH6CAABAAAKwiAAA
    SCOTT@10gXE> SELECT * FROM dr$test_idx$n
      2  /
    no rows selected
    SCOTT@10gXE> UPDATE test_tab
      2  SET    test_col = 'word1 word3'
      3  WHERE  test_col = 'word1 word2'
      4  /
    1 row updated.
    SCOTT@10gXE> COMMIT
      2  /
    Commit complete.
    SCOTT@10gXE> SELECT ROWID, t.* FROM test_tab t
      2  /
    ROWID              TEST_COL
    AAAH6CAABAAAKwiAAA word1 word3
    SCOTT@10gXE> SELECT ROWID, t.* FROM test_tab t WHERE CONTAINS (test_col, 'word1') > 0
      2  /
    no rows selected
    SCOTT@10gXE> SELECT token_text, token_first, token_last FROM dr$test_idx$i
      2  /
    TOKEN_TEXT                                                       TOKEN_FIRST TOKEN_LAST
    WORD1                                                                      1          1
    WORD2                                                                      1          1
    SCOTT@10gXE> SELECT * FROM dr$test_idx$k
      2  /
    no rows selected
    SCOTT@10gXE> SELECT * FROM dr$test_idx$n
      2  /
    NLT_DOCID N
             1 U
    SCOTT@10gXE> EXEC CTX_DDL.SYNC_INDEX ('TEST_IDX')
    PL/SQL procedure successfully completed.
    SCOTT@10gXE> SELECT ROWID, t.* FROM test_tab t
      2  /
    ROWID              TEST_COL
    AAAH6CAABAAAKwiAAA word1 word3
    SCOTT@10gXE> SELECT ROWID, t.* FROM test_tab t WHERE CONTAINS (test_col, 'word1') > 0
      2  /
    ROWID              TEST_COL
    AAAH6CAABAAAKwiAAA word1 word3
    SCOTT@10gXE> SELECT token_text, token_first, token_last FROM dr$test_idx$i
      2  /
    TOKEN_TEXT                                                       TOKEN_FIRST TOKEN_LAST
    WORD1                                                                      1          1
    WORD1                                                                      2          2
    WORD2                                                                      1          1
    WORD3                                                                      2          2
    SCOTT@10gXE> SELECT * FROM dr$test_idx$k
      2  /
         DOCID TEXTKEY
             2 AAAH6CAABAAAKwiAAA
    SCOTT@10gXE> SELECT * FROM dr$test_idx$n
      2  /
    NLT_DOCID N
             1 U
    SCOTT@10gXE> DROP INDEX test_idx
      2  /
    Index dropped.
    SCOTT@10gXE> CREATE INDEX test_idx ON test_tab (test_col) INDEXTYPE IS CTXSYS.CONTEXT
      2  /
    Index created.
    SCOTT@10gXE> SELECT ROWID, t.* FROM test_tab t
      2  /
    ROWID              TEST_COL
    AAAH6CAABAAAKwiAAA word1 word3
    SCOTT@10gXE> SELECT ROWID, t.* FROM test_tab t WHERE CONTAINS (test_col, 'word1') > 0
      2  /
    ROWID              TEST_COL
    AAAH6CAABAAAKwiAAA word1 word3
    SCOTT@10gXE> SELECT token_text, token_first, token_last FROM dr$test_idx$i
      2  /
    TOKEN_TEXT                                                       TOKEN_FIRST TOKEN_LAST
    WORD1                                                                      1          1
    WORD3                                                                      1          1
    SCOTT@10gXE> SELECT * FROM dr$test_idx$k
      2  /
         DOCID TEXTKEY
             1 AAAH6CAABAAAKwiAAA
    SCOTT@10gXE> SELECT * FROM dr$test_idx$n
      2  /
    no rows selected
    SCOTT@10gXE>

  • [Solved] ADF BC - Correlation of Refresh After Update checkbox with Returni

    Hello all,
    As per JDev (10.1.3.3.0) help system Refresh After Update option is used when there is Before Update trigger on a table.
    As far as I know ADF BC framework is using Returing clause of an Update statement to implement Refresh After Update option.
    First of all I created the following objects in Oracle DB 10.2.0.3.0:
    CREATE TABLE TAB1
         ID          NUMBER          PRIMARY KEY,
         EDITED_AT     DATE,
         VALUE          VARCHAR2(64)
    CREATE SEQUENCE S_TAB1
         INCREMENT BY 1
         START WITH 1;
    CREATE TRIGGER T_TAB1_BIE
    BEFORE INSERT OR UPDATE ON TAB1
    FOR EACH ROW
    BEGIN
         IF INSERTING THEN
              SELECT S_TAB1.NEXTVAL INTO :NEW.ID FROM DUAL;
         END IF;
         :NEW.EDITED_AT := SYSDATE;
    END;
    /Taking into consideration aforesaid I tried to do the following in SQL Plus:
    SQL> insert into tab1(value) values('ddd');
    1 row created.
    SQL> commit;
    Commit complete.
    SQL>
    SQL> select * from tab1;
            ID EDITED_AT           VALUE
             1 27.03.2008 17:01:24 ddd
    SQL>
    SQL> declare dt date; val varchar2(64);
      2  begin update tab1 set value = 'ddd' where id = 1 returning edited_at, value into dt, val;
      3  dbms_output.put_line('txt = ' || dt || ', ' || val);
      4  end;
      5  /
    txt = 27.03.2008 17:01:24, ddd
    PL/SQL procedure successfully completed.
    SQL>
    SQL> select * from tab1;
            ID EDITED_AT           VALUE
             1 27.03.2008 17:02:12 ddd
    SQL>As it can be seen Returning clause of an Update statement does not return a new date, i.e. 27.03.2008 17:02:12, that was updated by the trigger, it returns an old one - 27.03.2008 17:01:24.
    Should I change any parameter in Oracle DB or what can I do that ADF BC refreshes values generated by a Before Trigger?

    Yerzhant,
    Something is certainly not right. I don't have a 10.2.0.3.0 instance handy at the moment, but I tried verbatim your example in 11.1.0.6.0, and it works properly.
    I am using this capability all over the place in ADF BC with no problems, database versions from 10gr1 to 11gr1.
    Perhaps time to contact support.
    John

  • ADF table refresh on update of database field in the background

    Hi,
    I have an ADF Read Only table based on Toplink mapping for a database table. In my scenario, one of the columns (Name) gets updated in the background (through DB adapter from ESB.
    The problem is the ADF table does not refresh to reflect the updated name, on navigating to other pages and coming back (basically page reload).
    The updated name does not reflect until I logout of the session.
    I have used the explicit refresh option for the "findALL" method used by the ADF table. I have also tried setting "NoIdentityMap" option in Toplink Identity Map.
    Please let me know how can I get the table refreshed. I'm using JDev 10.1.3.1 with Toplink.
    Rgds
    Vikas

    I have same problem, and I tried af:poll . It only works when I insert a new record or delete a new record. It doesn't work when I update records.
    I followed this example from Frank Nimphius
    http://thepeninsulasedge.com/frank_nimphius/2007/09/18/adf-faces-using-afpoll-to-refresh-a-table/
    Plus the selection action is not work at all. (My case is multiple selection).
    I just want to know is it possible using af:poll conponment to autorefresh ADF table when I update a record ?
    JDeveloper 10.1.3.3
    Message was edited by:
    xpp

Maybe you are looking for

  • In STO, system allowing to make invoice without generating PGI

    Dear All, We are using SAP ECC 6.0, in stock transfer STO - Delivery - PGI - Invoice - excise invoice, this procedure we are using. Now error which has been noticed is that without generating  PGI, system is allowing to make excise invoice in the sys

  • How do I sync 2 iPhones to 1 iTunes account if one is already synced and i dont want them to share info?

    I synced my phone to my ittunes and my mom wants to back up hers on my itunes as well before she updates. can she do that without adding all my apps and data? how should i go about doing it?

  • How to find Receiver Cost Center details

    Hi All, How to find the Receiver Cost Center,      Receiver Order and Receiver Text which is used in entering CATS? Please let me know from which infotype we can pick? thank you! Prasad

  • Apply a new template in Contribute?

    Have an existing site in Contribute that has hundreds of pages.  How do I update the template applied to all of the pages?  I had 2 ideas: 1)  Edit the existing template, keeping all the file and editable region names the same (thinking that the next

  • Maps not accurate

    When I use the Maps icon to show my location, it shows me to 3 city blocks away from my actual location. I have wi-fi and 3G enabled and have a wifi router in the next room. My 3GS is spot on! The iPhone 4 however is quite a ways off. Any ideas?