Is there a way to force a View Object to query the database always?

Dear All,
Is there a way to force a view object to always scan the database table to read the latest data?
Here's my use case.
I have a page that loads data then I have a button which executes the following code.
viewObject.setApplyViewCriteriaName("SampleCriteria");
viewObject.setNamedWhereClauseParam("arg1", "test");
viewObject.executeQuery();
RowSetIterator it = viewObject.createRowSetIterator(null); 
while(it.hasNext()) {
     /* More Code */
}Suppose after page load, I edited some row in the table and then I clicked the button. I notice that my edited row
was not reflected in the query.
I am not sure but is there some configuration to check so that when the viewobject executes it will always query the data
from the table?
I am thinking that there is some level of caching and I want to disable it. If I restart my application, I notice that it is able to read the latest data.
JDEV 11.1.1.5

By default a view object performs its query against the database to retrieve the rows in its resulting row set. However, you can also use view objects to perform in-memory searches and sorting to avoid unnecessary trips to the database.
The view object's query mode controls the source used to retrieve rows to populate its row set. For more details please refer: http://docs.oracle.com/cd/B31017_01/web.1013/b25947/bcadvvo005.htm
Also, see if this helps: setQueryMode for secondary rowSet not working

Similar Messages

  • Is there a way to force "desktop view" on my iPad 1 when using Safari?

    Google, in their control frenzy, has now changed iGoogle to default to Tablet view on iPads. Why??? Here is one solution but it does not use Safari:
    Question:
    Is there a secret to getting the old igoogle homepage back, or is it gone for good on the iPad 2?  I still have the homepage on my Mac, so the problem is just with the iPad.  Any help anybody can give to get the home page back would be greatly appreciated.
    Answer:This issue is with the Tablet view. You can switch to Classic view at the bottom, but as soon as you type anything in the url bar you get reverted to Tablet. I have the Atomic Browser installed on my iPad and have set it to identify itself as a desktop. iGoogle loads fine on that. I am not aware of any such setting for Safari on the iPad.
    Google fails to understand that we do not need sub featured pages for our tablets. Tablets work fine with the desktop versions. They have probably concluded that iGoogle pages are too busy for tablets and so have disabled it. Tablet search has been significantly degraded by Goggle with elimination of the pinch and zoom and cached features. It should be possible to make a sticky setting change to Classic view on tablets. Most other settings stick, but not the Classic view. I dont think Google get it anymore.
    Is there a way to force Safari ,on an iPad, to do this?

    The website may alter its page display based on the browser ID that is transmitted to the site from your browser. Some browsers on the iPad like iCab allow you change the browser ID to something desktop-oriented. Safari does not provide this capability.

  • Is there a way to open a smart object, but get the original instead of a temp file?

    Working with large amounts of images and PSD files.
    1.  We create a smart object from say, a .jpg file on a layer, then filter, etc.
    2.  Double clicking the smart object creates a new window with that object as a .psB file.
    3.  When the file is saved and closed, the .psB file is deleted.
    This is how smart objects work, we know.
    What we need to do is:
    1.  We create a smart object from say, a .jpg file on a layer, then filter, etc.
    2. Double clicking the smart object will open the ORIGINAL .jpg file
    3.  When the file is saved, the original .jpg file is saved in its altered form, and is reflected in the .psd file
    We realize that Smart objects were created for reasons, of which we are aware.
    Yet, we have several designers who use the same .jpg's but want the original to be changed so that the next developer has that changed .jpg.
    Trie thus far:
    ScriptListener cannot be used to tie it to a double click event on a smart object, because when the smart object is created it is already a copy of the original.
    Creating a variable to call the original does not 'appear' to work, because it is accessing the .psB file instead of the original .psD file.
    I think with early versions of PS there was a way to insert an image like a .jpg into a layer, and the link to that .jpg was retained. Thus, when you double click on that layer, the original .jpg is brought up to be edited, the .jpg file is now altered, and is reflected in the .psd file after finishing.

    No, not too late.
    InDesign is for layout for press in this case.
    Photoshop is for design, which is using the .jpg's.
    I'm half way there, but stuck at:
    Getting a file location reference when the .jpg is first brought into PS as a layer.
    Getting a script to write the location of the file into the medata for the PSD in some field
    Reading back the metadata file location for the .jpg and bringing it back into the PSD again.
    Any help would really be appreciated.
    I can make the completed script(s) available when its complete, as this has possibilities for other uses, batch process, and more.

  • In ios 6 I could choose an artist on the music app and see all his albums in a list. Now, with ios 7, it shows all the songs from every album, making it EXTREMELY hard to see all the albums. Is there a way to minimize this view and see only the albums?

    Hello!
    I need some help with the music app in ios 7...
    In ios 6, I could choose an artist from the "srtists" view and it would show me all his albums as a list. Now, in ios 7, when I choose an artist, it shows me every song underneath every album, making it impossible to see al the albums at once! Is there anyway to minimize this view so I could see only the albums' titles as a list?
    It is VERY annoying. I would very much appreciate any help on this! 
    Thank you

    Exactly!
    This is all about the experience and accessibility. I don't even mind if the new desing is beautiful or not, but if I find myself, like you, avoiding looking for my music, my experience becomes frustrating. I have about 35 albums of a single artist and I used to love going over them and choose the right thing for me, especially being on the road a lot, and now I have to think twice about even entering his name.
    I really hope Apple will take those kind of things into consideration when they issue updates for ios 7, and maybe also give us back the goole search which was embeded into the spotlight search (which is really not that big of a request).
    And for your 4s - get the new iphone, it's MUCH better

  • Is there a way to force close

    Open View Sets are not closing when reports close.
    Is there a way to force close view sets without bouncing the BAM-Server?
    I running v11.1.1.3 on WLS 10.3

    Welcome to the Apple Support Communities
    Hold Sleep and Home buttons until the iPad restarts, so you will be able to use the iPad

  • Is there a way to force a user to view all of Accordion Widget?

    Is there a way to force a user to read, or at least view,
    all sections of the Accordion Widget? We want to make sure the learner reads
    all of the material before advancing to the next slide. Is there a way to do
    this? I have searched all over, but I have been unable to find.

    No way. This is a static learning interaction, no event that could be used eventually. Personally I prefer offering reading material that is engaging over looking for a way to push the learner to look (reading doesn't mean he understands or grabs it) at all the stuff. But that is my teacher's past, if student doesn't read your stuff, something is wrong with the stuff, not with the student.
    If you have to force, you'll have to find another way than the accordion interaction .

  • Is there any way to force the following initial view...

    ..."fit to page" + "two pages per screen - but only if there's room for two"?
    In other words, I want the page to fit in the screen upon initial view, but I also see a lot of wasted real estate all around that could, most of the time, fit a second page. However, I don't want the two pages to count against the "fit" -- meaning, on narrower screens, the priority should go to fitting the first page (and not showing the 2nd) rather than fit both pages at all costs.
    Is there any way to ask Acrobat to do this?

    The initial view (IV) settings within a PDF file are static tags - they can't be made to dynamically-adapt based on the window dimensions,it's the renderer (Acrobat, Reader, or whatever else is opening the file) that decides if and how it will follow the IV requested by the file header.
    It would be possible to use a Page Open action on the first page of the file, which does some nasty math with the various doc.*WindowRect objects to work out how much "wasted" space there is, and then set the doc.layout and doc.zoomType properties - but page actions are a different concept to IV as the zoom will reset itself every time that page is viewed. Users don't like their application apparently fiddling with the zoom level without being told to!

  • Is there a way to force a new session so my "on new session" code will run?

    I'm using apex.oracle.com and I find values of application (global) and page items persisting across logins.
    I didn't expect that? I thought they would go away when I logged out of APEX. But I can change the values, logout, and log back in to the same values. And when I login and start an application, it's not running my "shared components > application processes" initialization code which is set "on new session".
    I thought each login would be a distinct new session with it's distinct set of items. (see definition below)
    So when I run an application, is there a way to force a new session so my "on new session" code will run?
    >
    What Is a Session?
    A session is a logical construct that establishes persistence (or stateful behavior) across page views. Each session is assigned a unique identifier. The Application Express engine uses this identifier (or session ID) to store and retrieve an application's working set of data (or session state) before and after each page view.
    Because sessions are entirely independent of one another, any number of sessions can exist in the database at the same time. Also, because sessions persist in the database until purged by an administrator, a user can return to an old session and continue running an application long after first launching it. A user can also run multiple instances of an application simultaneously in different browser sessions.
    Sessions are logically and physically distinct from Oracle database sessions used to service page requests. A user runs an application in a single Oracle Application Express session from log in to log out with a typical duration measured in minutes or hours. Each page requested during that session results in the Application Express engine creating or reusing an Oracle database session to access database resources. Often these database sessions last just a fraction of a second.
    >
    Thanks -- Howard

    I cleaned up the copy of the Select List code in APEX 4.1.xxx which was not operating correctly before. Now it matches what I have in APEX 4.2.yyyy. And, drum roll please, the select list seemingly works fine there (4.1) as well. But now, the initialization code--which was working fine(!)--FAILS in 4.1!
    <font size="3"><font color="red">•<font face="courier new">
    Okay. Maybe this will help. 1) I logged in. Ran the login page but did not login. Opened the "session" window and wrote down the session ID. Logged out and back in. 2) Ran the login page but did not login. Opened the "session" window and .... it has the same session ID? 3) <b>So the session is persisting across logins!! How is that possible?</b>
    (More) When I log into 3 different applications, I get a different session ID for each but repeated logins always give the same session ID for any given session. </font>

  • Is there a way to force the Tag Engine to dump its input buffer to the database?

    I have an application where I start a process and log the data, and then call a subVI that uses the Read Historical Trend VIs to get all of the data from when the process started until now. The problem is that the Historical Trend VIs only read from the database on disk, and the Tag Engine's buffer doesn't write to disk until it's full (or possibly times out; I'm not sure about that, though). Is there a way to force the Tag Engine to write to disk, so that the Historical Trend VIs will return the most recent data?
    Shrinking the buffer will help a little, but that will only result in missing less of the most recent data. One possible hack is to have a dummy tag that I simply write enou
    gh data to that will cause the buffer to be written to the database. I was hoping for something more elegant, though.

    That's a good question.
    The control about the datalogging and the DSC Engine is all done (more or less) automatically - you feel the NI ease-of-use idea
    That means the Citadel service (one of the NI Services installed by LabVIEW DSC) is responsible of taking care about the datahandling (writing to and reading from the database files including caching some data e.g. index files, frequently used data...).
    The DSC Engine makes a request to the Citadel service that this data has to be logged. Everything else is handled by the Citadel service. Internally, there are two kinds of logging periods handled through the Citadel service. One for traces being viewed (a small period: 200ms) and one for traces not being viewed (slow (big) log period: 20000ms). That
    means, if Citadel gets a request to store a value it will buffer it and store it as soon as possible depending on other circumstances. One depends on the fact if this trace data is being viewed (e.g. with Read Histroical Trend.vi) If you request/read to view a trace you should pretty much see the current values because citadel should use the fast log period.
    The Citadel service takes care as well about setting priorities e.g. the writes before the reads (We don't want to loose data - right?). That means if you really stuff the system by writing a lot of data the CPU might get overloaded and the reads will happen less often.
    If you really want to see "real-time" data I would recommend to use the "Trend Tags.vi". With this approach you avoid the chain DSCEngine-Output Buffer-CitadelService-InputBuffer-File-HD... and back.
    I hope this info helps.
    Roland
    PS: I've attached a simple VI that has a tip (workaround) in it which might do what you are looking for... However, Nationa
    l Instruments cannot support this offically because the VI being used are internally DSC VIs that certainly change in the next version of LV DSC... and therefore you would need to "re-factor" your application.
    Attachments:
    BenchReadHistTrend.llb ‏104 KB

  • Is there a way to force color management ON in Flash Player 10

    Here's my problem:
    I have a wide gamut display (calibrated and profiled) and
    with a wide gamut display, it is very important to have web
    browsing (and ideally everything else) fully color managed, because
    unmanaged colors get displayed horribly wrong.
    Firefox 3 supports full end-to-end color management (when
    switched on). It even wisely assumes sRGB for CSS color values and
    untagged images. But of course, Firefox 3 can't control Flash
    rendering and this makes it impossible to view web pages that
    contain Flash with correct (or even near-correct) colors.
    So is there a way to force Flash Player 10's color management
    ON by default? I know it is probably not a good idea in many cases,
    but in my case, it would work a lot better than having if off by
    default.
    I'm using Mac OS X 10.5.5.

    The website may alter its page display based on the browser ID that is transmitted to the site from your browser. Some browsers on the iPad like iCab allow you change the browser ID to something desktop-oriented. Safari does not provide this capability.

  • Is there a way to force a download option?

    Hello
    My boss asked me this question: is there a way to force a
    link (PDF in this case) to open the dialog box for an option of
    save to file or open?
    Thanks
    Rob

    > My boss is asking for it... no other reason
    If you are willing, you could educate your boss a bit and
    explain that PDFs
    are a 3rd party file format...not a native web format. As
    such, they are
    interacted with outside of the default settings of common web
    browsers. This
    means that the default behavior of a link to a PDF is going
    to be different
    on everyone's own machine and based on things like user
    preferences,
    installed plug-ins, installed browser extensions and
    installed 3rd-party PDF
    viewing applications.
    Any link can be downloaded via right-clicking a link in any
    browser (well,
    except maybe the iPhone...can you 'right click' on the
    iPhone?)
    Using a ZIP file can fix the 'force a download' request, but
    usually those
    types of requests that come from people that don't really
    know how to use a
    computer, so you're gambling that they'll know what to do
    with a ZIP file.
    -Darrel

  • Is there any way to force iPhoto to present faces by folder for identification rather than randomly?  Would provide better context for identification especially if a huge number of images is involved.

    Before I commit the time and energy required to load and tag faces in 25,000 images within iPhoto, I need some questions answered;
    Is there any way to force iPhoto to present faces by folder for tagging rather than randomly?  When so many images need tagging, over many years, the context of a folder helps with the identification. The work around is to load the images into iPhoto one folder at a time and do the tagging then.
    How do I get iPhoto to present the tagged faces by last name rather than first name? When so many faces will be identified, it is much easier to find people by surname, particularly when I share the library within the family. The work around is to enter names as last name and first name.  Being able to toggle the sort is much more desireable.
    Is there a way to export a portion of the library including faces?  I want to pass on portions of this huge 125 GB library to my family members.
    Since my family members will need an Apple computer to view the images and faces, they will likely have their own photo library.  So is there any way to combine two libraries and merge the faces?
    About 2/3 of my images have been scanned, so the date of creation is the scanned date rather than the date the photo was taken.  Will this mess up any sequencing or the retrieval of faces?

    If I want to carve off part of a library, I presume the way to do this is to make a copy of the library using PLM then go into iPhoto and delete what I don't want.  The result is the carved off portion.
    You don't need Library Manager to delete the portion you don't want.
    As a general rule: when deleting photos do them in batches of about 100 at a time. iPhoto can baulk at trashing large numbers at one go.
    If I want to merge two libraries, PLM implies that it will do this but will the Faces be merged too?
    I believe so.

  • Is there any way to force the applet to load the file without using cache?

    Hi,
    I have the applet that renders some data from a file specified as the parameter. The problem is that the user can do something, that changes the input file and reloads the page, but the applet renders old data (from browser cache most probably)
    Is there any way to force the applet to load the file without using cache?
    Regards,
    Zdenek

    The initial view (IV) settings within a PDF file are static tags - they can't be made to dynamically-adapt based on the window dimensions,it's the renderer (Acrobat, Reader, or whatever else is opening the file) that decides if and how it will follow the IV requested by the file header.
    It would be possible to use a Page Open action on the first page of the file, which does some nasty math with the various doc.*WindowRect objects to work out how much "wasted" space there is, and then set the doc.layout and doc.zoomType properties - but page actions are a different concept to IV as the zoom will reset itself every time that page is viewed. Users don't like their application apparently fiddling with the zoom level without being told to!

  • Is there a way in Pages to show and print all the added "comments?" (those you add by highlighting text)  I'd like students to be able to view my comments on printed version of their papers.

    Is there a way in Pages to show and print all the added "comments?" (those you add by highlighting text)  I am a teacher, and I would  like students to be able to view my comments on printed versions of their papers. I know word displays the comments off to the side of the document, and those comments can be viewed all at once and printed alongside the document.

    There doesn't appear to be a way to print conmments in either Pages or Numbers in the Mavericks versions.
    Jerry

  • Is there a way to track "pages viewed" progress with PDF's?

    Is there a way to track "pages viewed" progress with PDF's?
    Example: Student downloads a PDF from school portal -- Teacher can track who downloaded PDF, when and how many pages were view (where student stopped)? Similar to Flexpaper?

    The only other way I can come up with at the moment is by submitting the data via a URL to your server... The user will still have to allow the URL to be opened, though.

Maybe you are looking for

  • The fixed value date is empty and not displayed in the VA05 report

    Hi SD Gurus, With in the Sales Order in the line item level in the billing tab we have the fixed value date (VBKD - VALDT) were entered.  But when we try to execute the report VA05 were the fixed value date column shows empty (i.e without the date it

  • Reg: DB adapter

    Dear team, We are invoking a stored procedure with DB adapter. create or replace TYPE SRVCCD_TYPEARRAY   as TABLE OF char(2); create or replace PACKAGE XX_WS_YY    TYPE RefCursor IS REF CURSOR;    v_PVCS_Spec_Ver VARCHAR2(256):= 'SPEC PVCS=1.0, DS=In

  • Is it possible to get logs from a 3850 Cisco member switch in a stack?

    %STACKMGR-1-STACK_LINK_CHANGE: MEMBER: 4 stack-mgr:  Stack port 2 on switch 4 is down %STACKMGR-1-STACK_LINK_CHANGE: STANDBY:2 stack-mgr:  Stack port 1 on switch 2 is down  (OC-SWTCH) %STACKMGR-6-SWITCH_REMOVED: STANDBY:2 stack-mgr:  Switch 3 has bee

  • How to clear only blocks which have values

    Hi there, Is there anyone knows how to clear data from blocks which only have values ? so the idea, i dont have to create any new block by using something like set a block to be #MI ? Please advice. Thanks a lot R'gards Octoni

  • Adobe Email service won't accept sender verification code

    Adobe Email service issued me a  Sender Verification code to allow me to attach images to emails in the PSE 8 Stationery and Layouts wizard. The process worked without the code in Vista. I now use WIN-7. So far, it has rejected the code everytime I e