Refresh a view without losing changes?

Hi,
Is there a way to refresh a view to get the new rows added (and commited) using another transaction but without losing the rows added in the current transaction? (update keeping the dirty stuff)
Thank you!

I think it would be possible with polling.
You will have to poll the server (with a poll component), attach it as a partial trigger to your table so that it refresh its model on the server.
Also, you will have to check some settings on the pageDef definition of your iterator so that data gets always queried (avoiding cache).
I would be interested by what this would do to your current data however...
Good luck!

Similar Messages

  • Refresh Materilaized Views without generating Archive Logs

    Hello Gurus,
    I'm facing an emebarassing situation,
    I've a job every night to execute a dbms_refresh on several materialiled Views, but there are 2 Mviews that take almost 30 minutes each but another issue thay generates almost 10G of data and my File system becomes full in a minute.
    I've done an alter Mview Nologging but it doesn't change anything.
    Does soemon ahve an idea how to do a refresh without generating Archive logs - or
    without logging?
    thxs in advance
    C.

    Since this is a TRUNCATE and INSERT, any user / application querying the MV while the Refresh is running will see ZERO rows. Furthermore if the INSERT fails (e.g. insufficent space to add an extent), the MV remains with ZERO rows.
    A DELETE and INSERT avoids such situations (even if the refresh fails, both INSERT and DELETE are rolled-back and the MV is reverted to the state as it was before the Refresh began -- thus showing data from the previous refresh)
    Hemant K Chitale
    http://hemantoracledba.blogspot.com
    Just to clarify : My paragraphs above are not about data "missing" but about precautions to be taken. A COMPLETE Refresh is done during defined outages -- users/applications are made aware that data is not available while the Refresh is running.
    Edited by: Hemant K Chitale on Sep 1, 2009 10:53 AM

  • Have to refresh materialized views twice for changes to take effect

    If I use SQL Developer to refresh a materialized view using the context menu's Refresh Option -> Force Refresh Now... with refresh type 'C' (complete), I typically find that changes to the source data are not reflected in the MV unless I repeat the refresh a second time.  Why would that be?

    You can dig up sample dbms.scheduler code in the Scheduler forum, or simply google search.
    Regarding the M.View, can't you inside the scheduler job, drop the m.view, and recreate it? Or if you need fresh data any moment, a regular view is probably better.

  • Table Validation - Report errors without losing changes

    Hi all,
    I am experimenting with table validation based on Denes Kubicek's example at http://apex.oracle.com/pls/otn/f?p=31517:41. I have had no problems getting this working,
    but I need to stop if loosing data when the validation rules are not met.
    If I have 10 rows in my table and the user updates 6 of these with valid new values and 1 with an invalid value then the submit button causes the error message to be shown as expected, but the page / table reverts back to the data from the databse and all the other changes are lost.
    How can I get the page to keep the entered values when the page is refreshed?
    Thanks,
    Martin

    Martin,
    You may need to replace the validation using JS. JS equivalent for Denes e.g.
    Put this in page HTML Header..
    <script type="text/javascript">
    function f_validate()
         var comm;
            var dept;
            var err ='';
         for (i=0;i < document.wwv_flow.f02.length;i++)
         comm = document.wwv_flow.f07.value;
         dept = document.wwv_flow.f08[i].value;
         if (comm > 2000 && dept == 20)
              err = err + 'Error at Row ' + i;
    if (err == '')
    doSubmit();
    else
    alert (err);
    document.wwv_flow.f07[0].focus();
    </script>
    Change the 'Submit' button target to URL and type javascript:f_validate(); as URL Target
    Cheers,
    Hari
    Edited by: Hari_639 on Oct 29, 2009 7:07 PM

  • How to move photos edited in Lightroom 2 from external hard drive to Lightroom 5 without losing changes/metadata made in Lightroom 2?

    I had images processed in Lightroom 2 on an old PC that crashed, but were backed to external hard drive. I now have a Macbook Pro with Lightroom 5. When I import the photos from the hard drive the editing/metadata I added in Lightroom 2 are not there. Is there a way to bring the photos in with the changes made in Lightroom 2 or do I have re-edit the photos? The odd thing is when I go into the folders on the Lacie back-up and open a photo (that I know I edited) into Photoshop CS5 there are no changes.

    Yes, that is a backup of your LR2 catalog file. You need to find the most recent one available (obviously, that backup was made on 2013-04-09), and then copy it to a hard drive on your computer (internal or external) but not a network drive, and then open it in Lightroom 5. You should see that all of your photos have a place in the grid, but won't have a thumbnail and there may be a question mark icon on each folder.
    To fix the question mark on each folder, please read: Adobe Lightroom - Find moved or missing files and folders and then the thumbnails will appear as well

  • Can you relink original music to what was previously copyrighted music.. without losing changes to the audio?

    So im working on a project.. The client didnt have the music for the videos yet, so i used "preview" versions momentarily. Now i have the original unwatermarked songs.. I want a quick way to exchange copyrighted songs with watermarked ones. (same songs, just watermarked).. Can i relink them? Or will that erase the work I did mastering the audio (keyframes, changes in audio levels, changed legnth to the song, audio transitions)? Thanks in advance. I have dozens of songs to relink, that would be why i havent tried it to see if it would keep my changes or not.

    If you right click the track in the project panel and select 'Replace Footage' then select the correct file that will replace the music but keep any edits (assuming the tracks are identical in length and start time).

  • Can you select the row in a table view without highlighting the cell?

    I have an an app with a table view which is presented modally. Cell selections in this table are saved in the parent controller so that they can be reselected if the table is reloaded after being dismissed.
    When the cell is first highlighted, I want to momentarily highlight the cell and have it fade out, which I do by unselecting the cell from the modal view controller's didSelectRowAtIndexPath by calling setSelected:animated on the table view cell.
    However, when I present the table view controller modally again and want to display the previously selected cell as selected, I don't want the cell background to be highlighted, and I'm having trouble doing this.
    In order to make sure the table view knows the cell is selected, I am calling selectRowAtIndexPath. I need to make sure the cell is selected so that I can set/unset the cell's accessoryType. However, this has the sideeffect of highlighting the cell too, which looks weird and confusing to the user.
    I've tried things like temporarily setting the cell's selection style to none, but while that stops the cell background from highlighting? I've tried setting the selectionStyle to UITableViewSelectionStyleNone, but while this prevents the cell background from highlighting, the cell text still changes to white, so it the text is invisible against the white background.
    Is there a easy way of setting a cell to selected in the table view without also changing the highlight and text colour of the actual cell? Immediately setting the cell to be unselected still makes the highlight visible for a split second.

    I tried that, but setting the highlighted property doesn't seem to affect it.
    I figured out how what I was doing wrong though. I was setting selection style UITableViewSelectionStyleNone, selecting the cell, then setting the selection style back to whatever it had previously been. This causes the background not to draw highlighted, but the text and accessory type to still draw highlighted.
    In order to fix this, I moved the code to set the cell selection style to whatever it had previously been to the didDeselectRowAtIndexPath method.

  • Warn by leaving a form view with unsaved changes

    Hello JSF / Richfaces users,
    maybe that's not the first time, that someone asks this question here, but unfortunately I couldn't found any concrete examples on the forum. So I'd like really to get your help:
    I'd like to put some "input listeners" on my form views, so that when the user makes changes (typing in inputText, selection another value in selectMenu or checking a Checkbox), then he clicks on another Button / Link without saving, he shoudl will be warned by a dialog box remebering him to save the changes or leaving the view without saving (changes will be lost).
    I tried at first to put a boolean "inputChanged" on my Bean, then setting it to true with an adapted event (onchange) by each component. And by the buttons/links which link to another page I tried to show a <rich:modalpanel> once the value of "inputChanged" is true but I couldn't realize this conditions.
    Thereafter I found a solution based on Javascript:
    <script language="javascript" type="text/javascript">
        // Keep flag when something had changed
        var changed = false;
        Save in "changed" flag, whether an input had been done by the user.
        after that the calling of this method will be removed
        from the corresponding attribute of the input elements,
        in order to avoid redundant method calls */
        function storeChange(aChanged, aElement) {
            changed = aChanged;
            aElement.setAttribute('onchange', '');
        Finally and when the "changed" flag is true, a confirmation message will be shown
        to confirm whether the page could be left.  
        window.onbeforeunload=function unloadAlert() {
            if(changed) {
                return 'You have unsaved changes on the page. If you click on OK, the changes will be lost';
            return null;
    </script>{code}
    And in the view:
    {code}<a4j:form>
            <h:outputLabel id="label_name" value="Name" for="in_name" />
            <h:inputText id="in_name" value="#{bean.name}"
                onchange="storeChange(true, this)" />
            <br />
            <h:outputLabel id="label_email" value="E-Mail" for="in_email" />
            <h:inputText id="in_email" value="#{bean.email}"
                onchange="storeChange(true, this)" />
            <br />
            <a4j:commandButton oncomplete="javascript:changed=false"
                value="Save" />
        </a4j:form>{code}
    And now I'd
    like rather than the JS terriying dialog box, a user-friendly rich:modalPanel which should do the same function.
    For any
    indication I will be very very thankful                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hi David,
    Thank for the prompt answer. I've tried that before but I have put that in checkin action. So that didn't work before but now as per your suggestion it works nicely. The form isn't evaluated.
    However, this time my changes aren't reflected on the user.. Basically what I do is
    - checkout user view (with empty form) (in an activity)
    - update user view (in another activity)
    - check in user view (in another activity)
    however, changes are discarded. I used winmerge to compare and saw exactly the necessary fields are updated after update activity. but after checkin no changes are reflected. so what should I do now :(
    Relevant actions are:
    <Action id='0' application='com.waveset.session.WorkflowServices'>
              <Argument name='op' value='checkoutView'/>
              <Argument name='viewId'>
                <concat>
                  <s>User:</s>
                  <ref>accountId</ref>
                </concat>
              </Argument>
              <Argument name='type' value='User'/>
              <Argument name='id' value='$(accountId)'/>
              <Argument name='Form' value='Empty Form' />
              <Return from='view' to='user'/>
              <Return from='WF_ACTION_ERROR' to='error'/>
            </Action>
            <Action id='0' application='com.waveset.session.WorkflowServices'>
              <Argument name='op' value='checkinView'/>
              <Argument name='view' value='$(user)'/>
              <Return from='WF_ACTION_ERROR' to='error'/>
            </Action>

  • How can you shrink the size of an upright picture to make it smaller without losing any of the detail in it??? At the moment, if I view them on my laptop, landscape photos fill the screen, but portrait photos only show the middle part.

    How can you shrink the size of an upright picture to make it smaller without losing any of the detail in it (in Slideshow)??? At the moment, if I view them on my Mac Laptop, landscape photos fill the screen, but portrait photos only show the middle part, so I loose the top and bottom of the picture.  Have tried cropping, but that means I lose top and bottom part of the picture, so that is not the answer!!

    Homestly haven't a clue what's going on there. 
    Try trash the com.apple.iPhoto.plist file from the HD/Users/ Your Name / library / preferences folder.
    (On 10.7: Hold the option (or alt) key while clicking on the Go menu in Finder to access the User Library)
    (Remember you'll need to reset your User options afterwards. These include minor settings like the window colour and so on. Note: If you've moved your library you'll need to point iPhoto at it again.)
    What's the plist file?
    For new users: Every application on your Mac has an accompanying plist file. It records certain User choices. For instance, in your favourite Word Processor it remembers your choice of Default Font, on your Web Browser is remembers things like your choice of Home Page. It even recalls what windows you had open last if your app allows you to pick up from where you left off last. The iPhoto plist file remembers things like the location of the Library, your choice of background colour, whether you are running a Referenced or Managed Library, what preferences you have for autosplitting events and so on. Trashing the plist file forces the app to generate a new one on the next launch, and this restores things to the Factory Defaults. Hence, if you've changed any of these things you'll need to reset them. If you haven't, then no bother. Trashing the plist file is Mac troubleshooting 101.

  • TS3988 how to i change my icloud id to my new apple id without losing everything

    how do i change my icloud account name to my new apple id without losing my pics

    Welcome to the Apple community.
    You will need to save your photo stream photos, before you change your iCloud account.
    Navigate to the photo stream album and into the photo sheet view (the one with all the thumbnails), click on the small rectangle with the arrow on it, in the top right corner of the screen and then tap each photo you wish to save. Once you have selected all the photos you want to save, tap the save button at the bottom of the screen and choose a new album to save them into.
    Once you have done all this, you can delete your current iCloud account and enter your new one.

  • I want to search Time Machine for an appointment that has been deleted from my current view of iCal.  Can I "restore" a previous version of iCal without losing all the entries I've made to the calendar since that prior date?

    I want to search Time Machine for an appointment that has been deleted from my current view of iCal.  Can I "restore" a previous version of iCal without losing all the entries I've made to the calendar since that prior date?

    No. I tried it on my Time Machine (I had just made one change today, so I knew I would not be left in the lurch if I failed) and when I clicked on restore I got this message:
    It seems you have several options.  I chose 'Keep Both'.  I suggest that you proceed with your search.
    Ciao.

  • Is there a way to change fixed width Flat file connection manager to delimited without losing all the column names ?

    Is there a way to change fixed width Flat file connection manager to delimited without losing all the column names ?

    Unfortunately not as it is a quite dramatic change causing the metadata being refreshed. I would try to open though the package file in a text editor and find them before doing the change, then after you made the change to the FF connector try to reconstitute
    / replace the autimatically generated columns with the old names.
    Arthur
    MyBlog
    Twitter

  • New laptop imap but iphone currently pop. Can I change without losing anything?

    Good Afternoon.
    Apologies if this has been asked I have tried to search but didnt quite understand some of the answers.
    My partner currently has his iphone set up using pop.
    Yesterday we set his new laptop up and I set email up using imap.
    I am not sure if there is going to be any conflict.
    We simply want to be able to use either phone or latop and the other to respond to what he has done if that makes sense. If he puts an  email in a folder on his phone we want the same to happen on his laptop. If he deletes an email we want it to disappear from the other  device. In other words we want each to act like the other.
    I believe he may need his phone to be set to imap for this.
    How do I change it to imap as i am worried if I delete account before setting up an imap account on his phone he may lose all the emails currently on his phone.
    Can you change from pop to imap without losing anything.
    Thank you. If your answers could be kept as simple as possible I would appreciate it as not very technical with either iphone or laptop.
    Thank you and have a lovely weekend.

    If the account is an IMAP account, deleting the account on the phone will not affect any emails still on the server unless you delete these emails directly on the phone. So, first delete the account on the phone, the add the account back, this time setting it up as IMAP.

  • Recently, I discovered I have two iCloud accounts. Is it possible to change the Apple ID from one account to match the second account, without losing the information on each account?

    Recently, I discovered I have two iCloud accounts. Is it possible to change the Apple ID for one of the accounts to match the other account, without losing the information from either account.
    thanks

    Welcome to the Apple Community.
    It's a little tricky to move data from one iCloud account to another but it can be done. But what makes you think you have 2 iCloud accounts.

  • How can I change my account on icloud without losing all my data and suppressing the former account. I just need to change the email address... TKS

    I changed my email address, how can I keep my icloud data without cancelling my former account...?

    Hey there Fonz111,
    It sounds like you have a new email address you would like to use to replace the email address you are currently using for your Apple ID, without losing any of the info you have in the account. You can update the email address with this article named:
    Apple ID: Changing your Apple ID
    http://support.apple.com/kb/ht5621
    To change your Apple ID, follow these steps:
    Go to My Apple ID (appleid.apple.com), click "Manage your Apple ID", and sign in.
    If you have two-step verification turned on, you'll be asked to send a verification code to the trusted device associated with your Apple ID. If you are unable to receive messages at your trusted device, follow the guidelines for what to do if you can't sign in with two-step verification.
    In the "Apple ID and Primary Email Address section," click Edit.
    Enter the email address you want to use, then click Save Changes. Apple will send a verification email to that address.
    Open the email from Apple, then click Verify Now in the email.
    When the My Apple ID page opens, sign in with your renamed Apple ID.
    If you have two-step verification turned on, you'll be asked to send a verification code to the trusted device associated with your Apple ID.
    After you see a message indicating that verification is complete, remember to update all of the stores and services that you use with your Apple ID.
    Thank you for using Apple Support Communities.
    All the very best,
    Sterling

Maybe you are looking for

  • Integrating Another Program Into A Java GUI

    HI I have 3 classes here. One is a Java GUI, the other two are involed in stripping and processing of information off a webpage. Of these latter two classes, one contains a main method which connects to a webpage and reads the info off it, it calls t

  • RH9 Version Control not in File menu

    Hi all, I tried to add my project to Version Control but I don't see the Version Control command on the File menu. Although the Version contol toolbar is already on my workspace but it is disabled. Please help me. Thank you.

  • CS4 Gripes

    I've gone straight from CS(1) to 4, so some of my gripes may just be related to all the changes that I've missed, however... 1. Tool Tips stop working randomly. Rebooting or restarting PS does not necessarily fix this. This happens even after the app

  • Distributing imported schema in jar file

    I've written a validator using an external xsd schema. The schema contains an import of another schema: I use the classloader to get an InputStream of the main schema and everything works fine as long as the location defined in the import schemaLocat

  • No onboard gpu. cant view monitor. how change to pci in bios?

    Onboard monitor plug on motherboard broke off. I installed gforce 210 gpu and machine already had drivers installed because I had this gpu in this machine before. Now I can't view monitor until I enter & save gpu change in bios. Can you give me the e