Refreshing the RowSetBrowser webbean after insert/update(?)

How do I refresh the RowSetBrowser web bean after inserting or updating and committing a record thru the EditCurrentRecord web bean?
I am unable to see the new record added in the RowSetBrowser unless I close the browser and re-enter.
Any advice would be appreciated!
null

after you call to iniatialize() in the DWB, you can refresh the cache by calling
<%
dbw.getRowset().executeQuery();
%>

Similar Messages

  • (Automatic) Refresh of Cached object after insert/update

    Hi,
    (I am using Toplink 9.0.3 against an Oracle Database)
    I am inserting and updating records in the database through objects registered in a TopLink UnitOfWork. I happen to know that certain database columns will get a (changed) values because of Database triggers.
    Is it true that the only way to get these changed values reflected back to the TopLink cache is by explicitly executing a
    session.refreshObject();
    call for every object changed in the UnitOfWork?
    Is there no way to inform TopLink (for example through the descriptors for the relevant classes) that for certain classes after the insert/update an automatic synchronization with the database must be performed?
    I have not been able to find such a setting, but I may have overlooked it - I hope I did.
    Thanks for your help,
    Lucas Jellema (AMIS)

    In this case use a postMerge event -- it will get called after the merge of the cache and then you could update the object explicitly.
    Ultimately, the way to achieve the behavior you're looking for is events or refreshing.
    - Don

  • Bc4j bug at refresh after insert / update

    having a table and a trigger on it that fills an attribute
    in a 9i db. one can take the scott/tiger emp table and use the
    following trigger:
    create or replace trigger t_bri_emp
    before insert on emp
    for each row
    declare
    v_no number(7,2);
    begin
    select user_SEQ.nextval*100
    into v_no
         from dual;
    :new.sal := v_no;
    end;
    then creating a bc4j project with an entity object based on this table (emp)
    and a view object based on the created entity object.
    !!!! when you create the bc4j project you must set the SQL Flavor to SQL92 or OLite
    when you set the attribute settings, for the attribute the trigger is on (sal),
    to refresh after insert / update or both in the entity object you get a
    null pointer when you try to insert a new row and commit.
    java.lang.NullPointerException
         oracle.jdbc.ttc7.TTIoac oracle.jdbc.ttc7.TTCAdapter.newTTCType(oracle.jdbc.dbaccess.DBType)
         oracle.jdbc.ttc7.NonPlsqlTTCColumn[] oracle ....................
    all can be reproduced just useing the wizard and start the bc4j project with the tester
    any workaround ??

    Sven:
    I looked into your issue. It turns out your problem is caused by a bug in the system (bug #2409955).
    The bug is that for non-Oracle SQLBuilder, we are not processing refresh-on-insert and refresh-on-update attributes correctly. We end up forming an invalid SQL statement and the JDBC driver gives the obscure NullPointerException.
    Thus, until 9.0.3, you should not use refresh-on-insert/update attributes on a non-Oracle SQLBuilder.
    If you need the refresh-on-insert/update attribute, here is a possible workaround:
    1. Whenever you invoke the tester, on the first panel, click on the 'Properities' tab. In the list of properties, you should find one for 'jbo.SQLBuilder'. It will say 'SQL92'. Remove it, so that it is empty. Run test tester. Then, the tester will use Oracle SQLBuilder which will handle refresh-on-insert/update attributes correctly for you.
    2. For switching between Oracle SQLBuilder and SQL92 SQLBuilder, you can try the following:
    2a) Locate bc4j.xcfg and your Project??.jpx under your 'src' directory.
    2b) Make copies of these files.
    2c) Edit them so that you have one set for Oracle SQLBuilder and one set for SQL92 SQLBuilder. For Oracle SQLBuilder, make sure these files do NOT have entries like:
    <jbo.SQLBuilder>..</jbo.SQLBuilder> in bc4j.xcfg and
    <Attr Name="_jbo.SQLBuilder" Value="..." /> in Project??.jpx
    When there is no jbo.SQLBuilder entry, BC4J will default to Oracle.
    For SQL92, make sure you have
    <jbo.SQLBuilder>SQL92</jbo.SQLBuilder> in bc4j.xcfg and
    <Attr Name="_jbo.SQLBuilder" Value="SQL92" /> in Project??.jpx.
    Before you run, decide which SQLBuilder to use (for 9.0.2, with retrieve-on-insert/update attrs, you have no choice but to use Oracle SQLBuilder) and copy these files into your class path, e.g.,
    <jdev-install-dir>\jdev\mywork\Workspace1\Project1\classes
    When you get 9.0.3, then you should be able to switch between Oracle and SQL92 SQLBuilders freely.
    Thanks.
    Sung

  • Response.write after insert/update

    Hi
    Could anyone please show me how to do a response.write message on the page after insert/update?
    Wondering especially about the placement and the syntax of the response.
    DWCS5, Access, Asp
    Christian

    I'm sorry to say I don't know how to test values in ASP, have just started to use it.
    I didn't get it to work so I threw away the code and went for an ordinary text response on a second page.
    Might as well get a book and read up on it

  • Updated my iPhone 5 to ios7, in the App store after installing updates I now have a never ending list of the Apps I've updated.  How do I get rid of the list after they've been updated?  In the previous version I did not have an annoying permanent list.

    Updated my iPhone 5 to ios7, in the App store after installing updates I now have a never ending list of the Apps I've updated.  How do I get rid of the list after they've been updated?  In the previous version I did not have an annoying permanent list.

    iOS 7 allows you to have your apps update automatically. Therefore, the list of what has been updated stays so that you can see what was updated, when and what the release notes say. It has been suggested that they list has a limit, much like Recents. Currently, there is no way for the user to delete the entries manually. Just try not to look at them.

  • The Finder is not refreshing the icon thumbnail after copying

    The Finder is not refreshing the icon thumbnail after copying.
    I tried copying a couple of foders from the internal HD to a USB drive and the resulting icons kept an empty progress...
    WHY????

    Hello,
    It looks like possibly a Permissions problem... the X above the folder.
    In Finder do a Get Info on that drive, or the folders on that drive that you're trying to copy to.
    Úgy néz ki, mint esetleg egy Engedélyek probléma ... X felett a mappát.
    A kereső nem egy Get Info a meghajtón, vagy a mappákat a meghajtón, hogy akarsz másolni.

  • I am having problems with my burst mode on my iphone 6 plus it is slower than  the facetime camera after i updated to ios 8.3 apple please fix this issue i am fed up with all your mistakes

    i am having problems with my burst mode on my iphone 6 plus it is slower than  the facetime camera after i updated to ios 8.3 apple please fix this issue i am fed up with all your mistakes

    Gerald
    If you had taken time to read the Terms of Use you agreed on joining this Community today you would have realised that Apple is not here
    neither reading nor responding on this User Community
    http://www.apple.com/feedback/

  • Can i un-install the old versions after 2014 update

    I now have 3 versions of every application installed on my desktop,
    CC
    64bit
    (2014)
    can i un-install the old versions after 2014 update?
    aldo I have a 64bit platform is the new (2014) 64bit or do I have to install that version????!!??

    We don't overwrite your apps so you can keep previous workflows.
    Delete apps you don't want when you are ready.
    Please refer to:
    https://helpx.adobe.com/creative-cloud/faq.html#deskApps
    http://blogs.adobe.com/jkost/2014/06/installing-the-2014-release-of-creative-cloud.htm
    Regards
    Rajshree

  • TS1424 I can't open the iTune store after I updated my iphone to iOS 7.

    Hi there, could someone help me here please - I can't open the iTune store after I updated my iphone 4 to iOS 7. The problem occurred about 5 days later after the upgrade. There are no error messages. As I tap on the icon it opens just for a fraction of a moment and then goes off and back to the main screen. Other apps are working just fine. I tried following the troubleshooting steps as suggested by apple support, but that didn't help unfortunately...
    Thank you

    Refer to this article:
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368

  • Hello, I have a iPod touch 4g,last time when I paired with my friends iPhone it showed his iPhone's name along with devices connected earlier in the bluetooth list after I updated my software to ios 5.1 the names of friends devices appear as D1:FG:12:13..

    Hello,
    I have a iPod touch 4g,last time when I paired with my friends iPhone it showed his iPhone's name along with devices connected earlier in the bluetooth list after I updated my software to ios 5.1 the names of friends devices appear as D1:FG:12:13:AK something like that and all the other previously connected devices appear in this same form in the bluetooth list how do I fix this back and it is confusing to connect to a device with no name but some unknown Bluetooth address so how do I find the device name back????
    SO PLEAZZZZZ HELP!!!!!

    An iPod can only pair with an iPhone for internet sharing provided that the iPhone has the subscribed to the tethering plan. The BT profiles do not permit file tansfer between IDevices by BT. The only BT pairsin is by app and those ar for peer-to-peer gaming.

  • ORA-29532 exception from after insert update trigger

    Trigger code:
    CREATE OR REPLACE TRIGGER SAMS.PERS_ALG_AIU_TRG
         AFTER INSERT OR UPDATE
              ON PERS_ALG
              FOR EACH ROW
    DECLARE
         trans_type          VARCHAR2(1);
         event_id          CONSTANT VARCHAR2(7) := 'A31_ZA1';
         data_src          CONSTANT VARCHAR2(15) := 'SI_A31_ZA1_VW';
         p_row_id          ROWID;
         select_stmt          VARCHAR2(5000);
         XMLString          CLOB;
    BEGIN
         IF INSERTING THEN
              trans_type := 'I';
         ELSE
              trans_type := 'U';
         END IF;
    SELECT ROWID
    INTO p_row_id
    FROM personnel
    WHERE pers_seq = :new.pers_seq;
    select_stmt := 'SELECT * FROM si_a31_ZA1_vw WHERE start_date = MAX(start_date) AND ROW_ID =chartorowid('''||p_row_id||''')';
         -- Produce the XML
    XMLString := si_lib.get_XML(select_stmt);
         -- Insert the transaction
         INSERT INTO si_transaction (transaction_type, event_id, status_id, timestamp, transaction_xml)
              VALUES ( trans_type, event_id, 'CR', SYSDATE, XMLString);
              EXCEPTION
                   WHEN OTHERS THEN
                   RAISE_APPLICATION_ERROR (-20040, sqlerrm);
    END;
    ... is causing ORA-29532 JAVA call terminated by uncaught java exception: java.lang.nullPointerException
    any ideas --- get_XML actually calls dbms_xmlquery.getXML

    When in doubt, break it into pieces and test the pieces. The following is not valid:
    SELECT * FROM si_a31_ZA1_vw WHERE start_date = MAX(start_date)
    Try replacing the above with:
    SELECT * FROM si_a31_ZA1_vw WHERE start_date = (SELECT MAX(start_date) FROM si_a31_ZA1_vw)

  • What's the best way to insert/update thousands records in multiple tables

    Can anyone give an example of how to insert/update thousands records in multiple tables on performance wise? or what should I do to improve the performance?
    Thanks
    jim

    You can see a set of sample applications in various scenarious available at
    http://otn.oracle.com/sample_code/tech/java/sqlj_jdbc/content.html

  • My iPhone 5S will put itself on mute, hold or speaker and also pulls up my contacts when I'm on the phone all after I updated to iOS 8.2...

    after I updated to ios 8.2 it's hard to have a phone call without my phone pulling up my contacts or putting itself on speaker, mute or hold on it's own.

    Looks like the proximity sensor is not working correctly. Try to reset the phone by holding the sleep and home button for about 10sec, until the Apple logo comes back again. You will not lose any data by resetting, but it can cure some glitches after installing new software.

  • I have followed all suggestions. Still can't fix the problem. After an update, my profile seems to be blocked.

    My Toshiba laptop went through 45 updates, and now when I open Firefox (where ALL my bookmarks live) the program freezes after a few minutes. I get error messages about my profile, and errors about Firefox already running. I tried the suggestions above, but they don't seems to line up with my system. Windows8 is my OS. This query is on another laptop.

    hello rgneb, can you see if those problems continue after you update to firefox 37 beta 6?: https://www.mozilla.org/firefox/beta

  • How do I make an embedded Javascript element(embedded MS Excel chart) automatically refresh so that viewers do not have to refresh the entire page to get updated information.

    I am creating a web page that features an embedded chart made by MS Excel. I would like the chart to automatically update(refresh) to show viewers live information without having to refresh the entire page. I have found that there is a way to enable this through Excel but with my current subscription cannot access that feature. I am hoping that there is a way to achieve this using Adobe Muse CC. If it is not possible, I would like to know if there is a way to add a "refresh" button that refreshes only the embedded section(Excel Chart) of the page for viewers to use manually. Thank you for your help.

    Update! The embedded spreadsheet is actually embedded using HTML rather than javascript.

Maybe you are looking for