Re-Query Iterator is not working (I tried everything)

Hi,
I'm trying to re-query an iterator with not luck, the first time it works well, but the second time it return the same data, this is the actual code:
    private static Row[] getSystems(String releaseId) {
        BindingContainer bc = BindingContext.getCurrent().getCurrentBindingsEntry();       
        OperationBinding op = bc.getOperationBinding("ExecuteWithParams3");
        op.getParamsMap().put("param_id", paramId);
        op.execute();
        DCIteratorBinding iter = (DCIteratorBinding)bc.get("Iterator");
        Row[] mappedSystems = rowSetItertor.getAllRowsInRange();
        return mappedSystems;
    }I tried things like this:
In the property inspector set the iterator's refresh property to never never and cache to false false, the result its that the first time everything is fine, second time I don't have more info at the iterator.
Call this metods:
// Nothing
iter.executeQuery();
// It clears the data, but after that I can't obtain data from db.
iter.getViewObject().clearCache();
// Nothing
iter.getViewObject().resetExecuted();
// Nothing
iter.executeQuery();
iter.refresh(DCIteratorBinding.RANGESIZE_UNLIMITED);
// Nothing
iter.setRefreshOption(0);
//Nothing
iter.setRefreshOption(8192);
// Tried to close the iterator set, second time it doesn't contain anything.
RowSetIterator rowSetItertor = iter.getRowSetIterator();
Row[] mappedSystems = rowSetItertor.getAllRowsInRange();
rowSetItertor.closeRowSetIterator()Basically when the user clicks a button this code is call with the appropriate parameter, this must retrieve a row's list. This code is called in a ManageBean with TaskFlow scope.
Any help would be great, thanks in advance.
-Daniel
P.S JDeveloper 11.1.1.4.0 & I also tried all the suggestions listed in this thread: Refresh Vo Iterator
Edited by: 910260 on Jan 25, 2012 2:49 PM

I did this but nothing (because I need to send the "param_id").
private static Row[] getSystems(String releaseId) {
        BindingContainer bc = BindingContext.getCurrent().getCurrentBindingsEntry();       
        OperationBinding op = bc.getOperationBinding("ExecuteWithParams3");
        op.getParamsMap().put("param_id", paramId);
        op.execute();
        DCIteratorBinding iter = (DCIteratorBinding)bc.get("Iterator");
        iter.executeQuery();
        Row[] mappedSystems = rowSetItertor.getAllRowsInRange();
        return mappedSystems;
    }The properties for the iterator were Refresh = referred (default) and Cache Results = true. // Nothing
And Refresh = never and Cache Results = false // Nothing.
Edited by: 910260 on Jan 25, 2012 2:48 PM
Edited by: 910260 on Jan 25, 2012 2:52 PM

Similar Messages

  • I have the macBookPro and the problem is the mouse pad does not work I tried everything but still does not work what should i do ?

    I have the macBookPro and the problem is the mouse pad does not work I tried everything but still does not work what should i do ?
    so i'm using the usb mouse

    I want to clarify the issue.
    The issue is with the MBP trackpad, and it works fine with an attached USB mouse.
    With some ingenuity, you might be able to fix this yourself, but I suggest visiting your local Apple Store/Genius Bar. Some have fixed this issue and have posted their results online, but the Apple Store should be your first destination.
    Post here with your results!!

  • Curve 9360 custom sound alerts for messages will not work. Tried EVERYTHING.

    I have a brand spanking new BlackBerry Curve 9360 that just arrived yesterday.  It is great apart from this very frustrating small prob.  I can not customise my message alerts for individual people in my address book.  When I click on "try it" only the LED button flashes and there is no sound or vibration.  I am trying to get the sound and vibrate to play as "active profile" but it just won't.  I can override it and have custom volume and vibrate that plays no matter what the profile but as I sometimes like to set my main profile to vibrate or silent, it won't do.
    So far, to fix it, I have tried:
    Wiping profile and sounds from the blackberry software
    Full factory reset
    Creating my own profile and using that instead of "normal" or any of the other preset ones
    Loads of battery pulls before and/or after any changes
    I have also had a few different people text me to make sure the problem isn't just the "try it" feature.  It isn't.  The sound that plays is always the default message sound for whatever the default profile is.
    If anyone can help it would be greatly appreciated
    Deb

    I have also experienced exactly the same problem.
    The profile is set on normal, with the ringer volume on 10, the ring tone has been selected, and I have also selected the option of the vibrator along with the ring tone.
    Now here is the problem, initially it rings and works perfectly, however it seems to automatically turn off the volume so the LED light keeps flashing, however there is not ring tone or vibration.
    If you select the "normal" profile or any other profile and change the ring tone or the volume, and click on the try it icon at the bottom, it still only flashes the LED, with no sound.
    Have tried everything that you have mentioned in your email, however still unable to rectify the issue. the only way to rectify is it to hard stop the BB, by pulling out the battery and restarting the Blackberry.
    Can anyone help or suggest what needs to be done ?

  • WLan connected, iPad and iPhone internet ok, iMac not working after trying everything (manual ip etc...)

    I am quite new with a mac computer. But i think i nearly tried everything, i have no idea what else could help...
    My iPhone and iPad are working perfektly in the wlan. My iMac works very rarely. Yes it worked once by manual ip, but later it did not work again.
    Wlan always works (sometmes it takes a few seconds until thesymbol is fat, mostly it starts with "no internet")
    I tried so many things...
    - manual ip found out by my windows pc
    - $ in front of the password
    - the apple faqs on the websites
    Very strange, but i hope someone solved an comparable problem already ;)
    Thx!

    I had a surfstick before, does that influence the whole thing?
    And another thing: in other wlans the iMac worked perfectly... Without any manual settings etc.
    Anyone an idea?

  • Isight not working, i tried everything

    OK, so I've been through all the discussion threads on this and tried everything. My camera did work when I first got my computer (about 2 months ago), now it doesn't. applications say 'no camera attached'. I have taken out the battery, zapped the PRAM, and done a SMC reset. None of that has worked, I still have no isight. what's next?
    Thanks.

    I've seen this before working at compusa on an imac. In that case all they had to do was open the back of the computer and reattach the camera cause some wires came undone. This is definitely something apple will be able to take care of, by either repairing or giving you a new one which ever option they see fit. Just keep in mind the down time might be a little longer then you might think. Hop all works out
    Brandon

  • HP laserjet 8100 not working - I tried everything! HELP!!!!

    HELP!!!
    I updated to OS 10.6.3 and my HP laserjet 8100 does not even show up anymore.
    I tried
    1. add new printer
    2. click IP tab, choose HP Jetdirect - socket
    3. entered printer's IP address
    4. Print suing: automatically went to generic post script printer, so I looked for the laserjet 8100 driver instead and click ADD
    5."Connecting to printer" goes on forever....
    6. I clicked configuration and then continue and it added the printer on the list (Hooray!, not really)
    when I print I choose the one I just set-up and then the queue keeps telling me unable to connect, and it goes on and on.
    PLEASE HELP!!!!! I've been at this for hours now to no avail. Seems like the others after doing these steps are getting a result, whats wrong with mine?

    have you looked at this thread?
    I can't offer specific pacifist advice - since I don't use it - but there's another easy way there.

  • Pen pressure not working. Tried everything.

    Tried techniques in both Adobe and Corel.
    Any suggestions on how to get the pen pressure to work would be greatly appreciated!

    Notably Wacom has *just* released a new driver for their tablets to correct pen pressure issues, and at least one person has reported that it has corrected pen pressure problems.
    I haven't read too carefully here, and I don't know if their driver could help you directly.  I just mentioned it because you said you saw Wacom people reporting problems too.
    http://www.wacom.com/en/CustomerCare/Drivers.aspx?model=Intuos3&os=Windows+7
    -Noel

  • Animated GIF not working. Tried everything, doesn't help.

    Hello,
    A short while ago, I had a problem with the overlarge size of my site, when viewed using Firefox, and reduced the "font size," etc., to 1.0 via about:config.
    However, as I now need to reset the font to its original (Firefox 24.0?) size. Can anyone please tell me what the original font size was BEFORE I reduced it?
    Many thanks for your help.
    EPS23

    See http://kb.mozillazine.org/Animated_images

  • Apple TV does not work after trying to update software. Main light keeps blinking and on the screen shows itunes icon and a usb cable. What does that means?

    My Apple TV does not work after trying to install the new software update. The main light keeps blinking rapidly and on the screen it shows the itunes icon and a USB cable. What does that mean?

    The Apple TV is in recovery mode. Try to restore the Apple TV. Follow the link for instructions on the restore process.
    http://support.apple.com/kb/HT4367

  • Updated my iphone4 with ios6.1 software. App store is not working. Tried rebooting, restoring, changing date, signing with another apple id etc. but no luck. can someone please help?

    Updated my iphone4 with ios6.1 software. App store is not working. Tried rebooting, restoring, changing date, signing with another apple id etc. but no luck. can someone please help?

    I guess I will wrap this up. I have abandoned iPhoto and viewing my Photo Streams using it and moved to Adobe products (Bridge + PS). So that's that.

  • Cannot install itunes for windows 7 (64), repeatedly get "Roll back" and told to reinstall, but this does not work.  Tried the latest ITunes 11 for 64.  Same problem.   I have an ipad which works OK.  HELP

    Unable to use iTunes for about a month on my PC
    Have PC with windows 7 (64)
    Own an iPad2, which is working with no problems
    When I try to install iTunes it repeatedly fails via "Roll back"  Tells me to reinstall, which does not work.
    Tried latest update iTunes 11, same problem
    Prepared to uninstall iTunes and start all over again, but how do I do this?

    hi mate i think i may have just solved this for you. had the same problem as you, i uninstalled all apple products and quicktime and safari, did a disk clean up and deleted old restore points(might not need to but did it anyway) downloaded itunes from explorer and managed to install the new itunes 11 wooohooooo hope this helps buddy

  • My daughter down loaded the new 6.0 software and now her home button does not work.  Tried reloading software and reset to original factory settings.

    My daughter down loaded the new 6.0 software and now her home button does not work.  Tried reseting to original settings and reset the operating software.  Any ideas?

    Try:
    fix for Home button
    Fix a broken, unresponsive or sticky iPhone Home Button
    - If you have iOS 5 and later you can turn on Assistive Touch it add the Home and other buttons to the iPods screen. Settings>General>Accessibility>Assistive Touch
    - If not under warranty Apple will exchange your iPod for a refurbished one for:
    Apple - Support - iPod - Repair pricing
    - There are third-party places like the following that will repair the Home button. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens

  • Prompted to update iTunes today and now it does not work.  tried reinstalling and caanot successfully reinstall.

    prompted to update iTunes today and now it does not work.  tried reinstalling and caanot successfully reinstall.

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (if this won't uninstall move on to the next item)
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See this user tip for a suggested technique.
    Please note:
    Some users may need to follow all the steps in whichever of the following support documents applies to their system. These include some additional manual file and folder deletions not mentioned above.
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    tt2

  • My av adaptor does not work. Tried to plug my ipad into my samsung hd tv and ipad said it does not support that accessory...help

    My av adaptor does not work. Tried to plug my ipad into my samsung hd tv and ipad said it does not support that accessory...help

    What ipad,  which model samsung?  Are you attempting HDMI, VGA, or an RGB connection.  Ipad 2 supports mirroring into an HDMI at an output of 1080.  Ipad 1 is limited to only a few apps capable of the output, such as Youtube.
    page64,65 of the latest ipad manual has more details.
    Samsungs are good and should switch with the input - but sometimes you will have to select from the menu manually.
    If in doubt, contact the customer support at samsung UK.
    Also check - Settings/Video, that you have it enabled for Home Sharing.  Apple Id  which will be your .me.com  email plus your apple ID password.  I am not too sure about  this as I cannot remember the exact order I set things up in - but page 89 of the manual references Home Sharing for sharing ipad/itunes content on a home pc/mac - so I would think it applies to content relayed to a tv or monitor too.

  • HT4623 I tried to update my ipad with IOS7, it crashed!!!!!! now my ipad will not work, have tried to restore the ipad, will not restore, help please??

    I tried to update my ipad with IOS7, it crashed!!!!!! now my ipad will not work, have tried to restore the ipad, will not restore, help please??

    I tried to update my ipad with IOS7, it crashed!!!!!! now my ipad will not work, have tried to restore the ipad, will not restore, help please??

Maybe you are looking for

  • I am trying to copy voice memos from my iPhone 3GS to iTunes. The memos on the iPhone don't show up in iTunes. How can I proceed?

    I am trying to copy voice memos from my iPhone 3GS to iTunes. The memos on the iPhone don't show up in iTunes. How can I proceed? I did select manual manage, and i included voice memos. But, the memos on the iPhone simply don't appear in iTunes. How

  • Problems with RAW - HELP!

    Hi there, I really hope someone can help me. I just got aperture. RAW files look bad on my mac. They have this oversaturated look. I use my nikon D70 to take RAW + JPEG and the jpeg looks good. BTW, it's the same problem in iPhoto. I uploaded convert

  • Problem using plugins on Macbook Pro 2.33ghz

    Hi there, I am having troubles using my virtual instruments in Logic Pro 7. Logic simply wont see them at all. I have had this problem since I transfered my work to my new Macbook Pro. Some people have said to get the binary updates for each plugin,

  • Client Inactive--SCCM 2012 R2-ERROR

    Hi all, I've been troubled days .. please help.  see the following link http://www.windows-noob.com/forums/index.php?/topic/9131-help-please-do-not-install-secondary-site-clients-i-reinstalled-the-site-and-nothing/?p=34889

  • Organizing data from low to high?

    Hi Community, I'm totally out of numbers and such, but I need to organize some data from low values to high values automatically, like for example, the earnings in 12 months, which are always variables but I would like to organize them from the lower