Multiple cursors opened when following BC4J Entity Association in a loop

I am using BC4J in JDeveloper 9.0.4.1.1 Build 1436 against a 9.0.2 database.
(Note the BC4J project was originally created in a 9.0.3 JDeveloper release)
In the BC4J project, I have a "Contract" Entity that has a 1-to-1 Association with an "Estimate" Entity.
From my ViewObject, I iterate over a set of Contracts.
For each Contract, I follow the Association to obtain the Estimate and read a few attributes.
Occassionally I am running out of cursors in the database whilst using this.
It seems that each time I access an Estimate using the Association, a new cursor is opened to retrieve the Estimate. These cursors remain open until I complete the loop and the cursor for the VO is closed.
Therefore, the maximum number of rows returned by the ViewObject is limited to the number of available cursors in the database at the time.
Why do the cursors remain open after the Entity object has been retrieved?
Am I using the association incorrectly?

I wouldn't surprise me if there was a bug in the association code like this.
For the time being you could just set the where clause and do the query yourself manually on the child vo....

Similar Messages

  • How to stop tabs re-opening after firefox crashes.........when it crashes and I have multiple tabs open, when re-starting firefox all of the tabs re-open too. How can I stop this?

    Firefox crashes quite often, especially when I have multi tabs open. I usually have to use CTRL ALT DEL and end the process as Firefox stops responding.
    My problem is not the crashing........it is the re-opening of the multiple tabs I had open, when normally it is one of them (not the home page) that caused the crash in the first place, so I cannot re-open firefox until I restart the pc, because every time I do it is the same story. Firefox tries to re-open all of the tabs and stops responding. I have looked in options but nowhere does it allow me to stop multiple tabs opening after a crash. If this continues, I will have to uninstall Firefox and stick to Chrome.

    Set the pref browser.sessionstore.max_resumed_crashes to 0 on the about:config page to get the about:sessionrestore page immediately with the first restart after a crash has occurred or the Task Manager was used to close Firefox.
    *http://kb.mozillazine.org/browser.sessionstore.max_resumed_crashes
    That will allow you to deselect the tab(s) that you do not want to reopen, but will allow to reopen other tabs.
    See:
    * http://kb.mozillazine.org/Session_Restore#Restoring_a_session_after_a_crash
    * http://kb.mozillazine.org/Browser.sessionstore.max_resumed_crashes
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />
    *Use the Filter bar at to top of the about:config page to locate a preference more easily.
    *Preferences that have been modified show as bold (user set).
    *Preferences can be reset to the default or changed via the right-click context menu.

  • Since I upgraded to Lion multiple documents open when I start Pages, Since I upgraded to Lion multiple documents open when I start Pages

    I've searched Pages preferences, but haven't found a way to stop former documents from opening when I start pages. Any idea how to stop this?

    It's one of the new features of the operating system.
    It restore the state of tha apps when you quitted.
    There is a preference to disable that in the System Preferences pane Appearence but you must also disable it in the Switch Off dialog which reactivate the feature by default.
    Yvan KOENIG (VALLAURIS, France) samedi 13 août 2011 20:01:33
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • I have multiple tabs opening when I open Firefox, how do I make this stop?

    I have 3 differnet tabs that open when I open Firefox
    1. Your almost there-wanting me to update Firefox
    2. My home page IGoogle
    3. LastPass
    I did upgrade my Firefox but then alot of my programs quit working so I went back to version 3.6.24 and ever since I get these 3 windows that come up. Its getting very frustrating. Can anyone help me.

    Does the issue still occur if you start Firefox in Safe Mode? http://support.mozilla.com/en-US/kb/Safe+Mode
    How about with a new, empty profile? http://support.mozilla.com/en-US/kb/Basic%20Troubleshooting#w_8-make-a-new-profile

  • Multiple tabs open when responding to websites

    When I am browsing on a website and clink the link to respond back for email or support, Firefox opens greater than 100 tabs thus causing it to be a non-responsive program

    Check the Mailto application in Firefox > Preferences > Applications<br />
    Make sure that it isn't set to the Firefox application.
    See also:<br />
    "Reset Download Actions": http://kb.mozillazine.org/File_types_and_download_actions<br />
    [[Firefox keeps opening many tabs or windows]]<br />

  • Multiple tabs open when I click on a file to open, like a PDF file. It open tab after tab and will not stop, any ideas?

    when I click on a PDF file in an email or other formats that open the browser it opens up tab after tab, after tab and does not stop till I close the browner down.

    It isnt a certain file type, it is all files Including word docs, excel spreadsheets, pdf's ect.. I remember Firefox asking me if I wanted to make this my default action when I clicked on a link, and I choose to make it such. I would like to change it back so I can choose whether I open/view the file or save it to my drive.

  • Multiple pages open when a ranndom link is clicked on. I have to shut odwn my computer when this happens. how do I fix this problem?

    A random event but is occuring more often now. When a link on a page is opened the browser keeps opening. I cannot close ,exit. The only way to stop the down activity is manually shut down the computer.

    See [[Firefox keeps opening many tabs or windows]]

  • Multiple tabs open when start firefox

    it does NOT contain a pipe but still opens two tabs on start up

    What pages load?
    Are they blank tabs
    If they are not blank you can open up new tab and
    1) Type in a Blank Cleared URL '''about:config'''
    2) Click the button saying '''I'll Be Careful'''
    3) type in Blank Search Box at top '''Home'''
    Or even type in the URL of the tabs opening to see if a Add-on is loading it
    If it is a new blank tab in
    1) Type in a Blank Cleared URL '''about:config'''
    2) Click the button saying '''I'll Be Careful'''
    3) type in Blank Search Box at top '''newtab'''
    Do you use a add-on like '''Tab Mix Plus''' ?
    1) open its option by going to '''Tools''' at the top of Firefox Menu bar
    2) Select '''Tab Mix Plus Options'''
    3) Then '''Events'''
    4) The first Tab under Events is '''New Tabs'''
    5) it will read "Load On New Tab" and have a drop down box
    6) Select '''Home Page '''
    7) At the bottom of the Tab Mix Plus Options select '''Apply''' then '''Ok'''

  • [Help] statement.executeQuery(query) opens MULTIPLE cursors

    Hey everyone,
    I'm having a real hard time finding anything about this on the net so I've turned here. When we call:
    resultSet = statement.executeQuery(query)
    from a servlet for some reason that one executeQuery opens anywhere from 9-12 cursors in our oracle DB. All the executeQuery documentation I could find just said it should open 1 cursor for that particular ResultSet. query is a fairly simple SQL statement, it searches multiple tables but that doesn't explain why it should open so many cursors.
    On a side note the resultSet and statement are global to the method and are closed in the finally block, no SQLExceptions are thrown further adding to my confusion.
    If anyone has seen something like this where executing 1 query opens multiple cursors please let me know any information you might have.
    Thanks in advance
    -Dave

    Hi Dave
    I had a similar problem using the Oracle 8i, but my query was a more complicated than yours and opened a lot of cursors.
    The answer is to close every ResultSet and the Statement:
    while (xxResult.next()){ ... }
    xxResult.close();
    xxResult.getStatement().close();
    This worked for me,
    Good luck,
    Daniel.

  • Firefox won't open when prompted the first time. Says "Not Responding". I have to hit cntrl/alt/del then try starting again. Sometimes multiple times.

    Firefox won't open when prompted the first time. Says "Not Responding". I have to hit cntrl/alt/del then try starting again. Sometimes multiple times.

    Sounds like a "hang at exit" problem. There are several possible causes for that error. See:
    * How to stop the running Firefox process
    ** In Task Manager, does firefox.exe show in the '''<u>Processes</u>''' tab?
    ** See: http://kb.mozillazine.org/Kill_application
    * What may cause Firefox to hang at exit
    ** http://support.mozilla.com/en-US/kb/Firefox+hangs (see "Hang at exit" section)
    ** http://kb.mozillazine.org/Firefox_hangs
    ** https://support.mozilla.com/en-US/kb/Firefox+is+already+running+but+is+not+responding
    * You may need to try Firefox Safe Mode
    ** You may need to use '''Safe Mode''' to locate the problem: http://support.mozilla.com/en-US/kb/Safe+Mode
    **Firefox Safe Mode is a diagnostic mode that disables Extensions and some other features of Firefox. If you are using a theme, switch to the DEFAULT theme: Tools > Add-ons > Themes '''<u>before</u>''' starting Safe Mode. When entering Safe Mode, do not check any items on the entry window, just click "Continue in Safe Mode". Test to see if the problem you are experiencing is corrected.
    ** If the problem does not occur in Safe-mode then disable all of your Extensions and Plug-ins and then try to find which is causing it by enabling '''<u>one at a time</u>''' until the problem reappears. '''<u>You MUST close and restart Firefox after EACH change</u>''' via File > Restart Firefox (on Mac: Firefox > Quit). You can use "Disable all add-ons" on the Safe mode start window.
    ** See the following for more information
    *** http://support.mozilla.com/en-US/kb/Troubleshooting+extensions+and+themes
    *** http://support.mozilla.com/en-US/kb/Troubleshooting+plugins
    *** http://support.mozilla.com/en-US/kb/Basic+Troubleshooting

  • I have a brand new macbook pro 15" with latest Lion.Can anyone tell me why, when I open word or preview etc that multiple files open?For eg if I open a word doc, the last 1-3 docs that I have worked on all open. why?

    I have a brand new macbook pro 15" with latest Lion. Can anyone tell me why, when I open word or preview etc that multiple files open?For eg if I open a word doc, the last 1-3 docs that I have worked previously on all open. Can anyone tell me why?

    You have a choice as to whether or not applications in Lion like Word or Preview (or even Safari) save and re-open previous documents or windows... just hold down the option key while quitting a program and when you re-open it you won't get the previous documents or windows when you re-open the application. You can see this by selecting the open program in the menu bar and when holding down the option key the quit function will change to quit and discard open windows. This feature in Lion is referred to as "Resume" and is great if you want to restart an app and return to what you're doing (for example in Safari re-opening existing windows and tabs from your previous session). You still have the option to close individual windows within an app before quitting and they will not re-open when the app is launched again.
    This Resume function is not related to saving your work (a word or text document for example). This is handled by Lion's "Auto-Save" and "Versions" functions. See http://www.apple.com/ca/macosx/whats-new/auto-save.html
    Hopefully this is the complete answer you're looking for.

  • Since installing the latest version... when I open a new window it opens everything I have minimized too... very annoying. How can I fix this, I mimimize to go back to a window not have multiple windows open.

    since installing the latest version... when I open a new window it opens everything I have minimized too... very annoying. How can I fix this, I minimize to go back to a window not have multiple windows open.
    == This happened ==
    Every time Firefox opened
    == after installed last version...

    Well, then isn't there some way to induce Firefox to give Windows parameters that make it open the fershlugginer window in the *same* position, instead of an offset position?
    Dafydd

  • When I launch address book, multiple windows open

    When I launch address book, multiple windows open, and I can't find a way to close them unless I do it one at a time.  I must have chosen at some point "open all contacts" or something like that, but am at a loss as to how to prevent this in the future. I've tried command +option+w, to no avail.  Ideas?  thanks!

    Untick this box:
    Or use alt/option + Cmd + Q to Quit and DIscard Windows.
    Regards.
    Colin R.

  • Is there a way to get firefox to warn me when exiting with multiple windows open?

    When I click File > Exit in the menu, I want firefox to warn me if I have multiple windows open.
    I don't want it to warn me about multiple tabs though.
    Is there a way to get it to do that?
    I would prefer to just hit the red X in the top right corner, which would avoid this problem, However, if it is the only firefox window I have open, then the red X will often not properly shut down firefox exe, so next time I try to launch firefox it won't work and I have to end task on firefox exe! I was told to use File Exit to improve the chances that firefox will properly close, but doing so introduces this new issue.
    thanks

    That doesn't work.
    Once I set it to true, if I have one window open with multiple tabs, and try to exit, it comes up with a warning box, which I don't want.
    Then if I check it to say 'don't show this again', the next time I run firefox the showQuitwarning setting has been set back to false. So then when I have multiple windows open and I file exit, all firefox shuts down with no warning.
    The reason I want this is because I can *see* the tabs of the window I am in when I am clicking on file|exit, so visually, I'm not going to close anything that I didn't mean to close because it's right there visible to me at the top of the screen (the tabs are seen at the top of the screen) in the same area as where I am looking at and clicking File Exit.
    But other firefox windows are not visible up there so it is easy to forget that they are open, since a lot of times I don't have any other windows open (if I *always* had other windows open then I would not forget them and be in more of a practice of checking the taskbar for them)
    And this is all because I can't hit the red X in the top right corner without increasing the odds of hung firefox processes that don't truly exit (thus making me unable to start another session later without Ending Task which isn't good).
    The hanging is daily but random and not reproducible, so it's very difficult to troubleshoot or fix.

  • Dock won't auto open when I move the cursor there anymore!

    All of a sudden, for what seems like no reason at all, my dock no longer opens when I put the cursor over on the side. I tried putting the dock on the right and it still doesn't work. I now have to have the "Automatically show or hide the dock" box unchecked, and the visible dock on my desktop all the time, because of this. What has happened and how can I fix this? I made no changes to cause this, that I can tell, it has just stopped working.
    Thanks for any help anyone might provide!
    Karen
    Power Book G4 1.67 GHz   Mac OS X (10.4)  

    Glad to know that worked! Move the old, corrupted .plist preferences file to the Trash and empty it.
    Prefernces files are read and written a lot, and it's not unknown for the .plist files to become corrupted in th eprocess. Any time a program suddenly starts to act strange or can't seem to remember the settings you give it, moving the program's preference file out of ~/Library/ Preferences will force the program to create a new default set of preferences.
    You may want to download Preferential Treatment and run it occasionally to see if it reports any other prefs as being corrupted. (Note that Preferential Treatment will flag system level prefs if you run it while logged on as a non-sdministrative user; any such warning can be ignored.)

Maybe you are looking for