Can i open more than one Resultset object

hi in my program i have to retrive data from three table and the data from three
table i have to use in another one
i wanna know that can we open more than one ResultSet object within one
try{
}catch{] block ( i means ResultSet rs = st.excuteQuery(query) more than one time for different -different tables)
or there is any other way to do this

You can only have one active result set per statement at a time.
Depending on the driver you are using you might be able to have more than one active statement (and result set) on one connection. Or not.
Try catch has nothing to do with that.
If you are nesting result sets then it is likely you should be using a join (SQL) which would then only require one result set.

Similar Messages

  • Can i Bind more than one Model object to the Custom controller or not

    Hi All, I trying to bind more than one model object to the custom controller, Both the model objects contains same attribute name called ( output). Both model objects created on to top of the BAPI. So when i bind first model object to the custom controller will work fine. When i am trying to bind the second model object to the same controller. This second model object also having the same attribute name called "output" . So it is giving an error of "Duplicate context element "Detail". Rename or uncheck duplicate elements.
    can i assign more than one model object to the single controller or not?
    But in the reference document, it has given that , we can create model object with more than one bapi.So in this case if both the bapis contains any element with the same name will also be problem. Any body give me the solution.
    Initially we have created one custom controller for each model object. But later i realized that, why con't we use same controller for all the model object. Because, the custom controller context is the public context. this context shared across all the view controllers.
    The concept which I am trying to do is right or wrong?

    Hi Vishal,
    of course, you can bind one controler to many models. When the same name occours you can simply RENAME binded node in controler.
    Regards
    Bogdan

  • Can't Open more than One Internet Browser at a Time

    I bought a Toshiba laptop this past spring which I use, offline, at the office.  i've had a problem with it since the day I hooked it up to the internet the first time.  I can't open more than one internet browser at a time.  Windows 7.  I had need to get online with it today and had forgotten about this problem.
    I called Toshiba and they wanted to sign me up to some fee-based service.  They said, without checking anything (or even asking me who I am, or what my computer serial number is) that I had a virus.  Is there a virus going around that causes this problem?  IF so, how could I possibly get it considering I bought this computer in a sealed box?
    My AV software does not pick up any viruses.  I use Avast.
    Can anybody help me? 
    Thanks.

    There's a handy reference for keyboard shortcuts here:
    http://windows.microsoft.com/en-US/windows7/Keyboard-shortcuts
    That Windows key turns out to be useful, try Windows-D to show the desktop
    To open a new browser window, Ctrl-n while in the browser will probably work, or it your browser supports tabs, try Ctrl-t

  • I can not open more than one cart in Safari on Ipad Air. When clicking on " " in right! topie corner the aplication crash (go to start scren)

    I can not open more than one cart in Safari on Ipad Air. When clicking on " " in right! topie corner the aplication crash (go to start scren)

    1. Settings>Safari>Clear History, Cookies and Data
    2. Hold the Sleep/Wake and Home button down for about 10 seconds until you see the Apple Logo

  • HT5622 can i open more than one email address

    Can I open more than one email address on my icloud.  I need a second address for work. Do I need a second appleID?

    You can have only one iCloud email account for each iCloud account.  You can create alias addresses liked to your account, but they will all deliver email to the same iCloud inbox (see http://help.apple.com/icloud/#/mm6b1a490a).
    If you want a separate email account, you will need to create a second iCloud account.

  • Photoshop can't open more than one graphic at a time without crashing

    I get the error:
    The instruction at "0x7c918af2" referenced memory at "0x00000010". The memory could not be "written".
    Anytime I try to open more than one image in Photoshop at a time, regardless of how I do it - doesn't matter if I choose the image and "open in photoshop" or if I am in photoshop and go to "file/open".
    It's Photoshop CS3. I have already uninstalled, restarted the computer and reinstalled. I tried to "repair/change" from Windows, but it asks for the CS3 cd and then CS4, which I don't have since I'm using CS3. 
    This is quite frustrating as it would be nice to be able to merge photos and the myriads of other things you can do with multiple images at once, if opening them does not crash your program.

    mikeobe wrote:
    OK, kinda slooow here, I hope I'm not trying your patience!? If I understand you correctly, install dummy drivers and then the drivers that came with my printer, Designating NO default printer! Then when I need to use the printer I will have to declare which one each and every time?
    Or, just intall by new printer but do not Delcare it as the Default printer, I guess in this instance there would be NO default printer?
    You may not even have the problem!
    Have you installed the new printer yet?
    There are many more people who don't see it happen than those who do.
    PS: there is always a default printer.

  • How can others open more than one form? [Was: Sandra]

    How do you use Forms Central? I am the only account that can open more than one form. I have added all the people in contacts. When they login, they have the upgrade option for more than one form. We have an order number and end user id. Thanks for the help.

    Hi,
    It sounds like you have a paid account and the other users have free accounts.
    You will have to share the form with the other users, please see this link for more detailed on how to share a form with others:
    http://forums.adobe.com/docs/DOC-3351
    All the free account users should be able to open all the forms that you have shared with them. Free users can only create one form on their own.
    Hope this helps,
    Thanks
    Lucia

  • Can I open more than one instance of CC5.2?

    In my experience, I have not been able to find a way to open more than one instance of CC5.2.  If I want to run an SOD user analysis and an SOD role analysis, for example, I have to run one and wait for the results to return before I can run the next analysis.  
    If I open a new instance of Internet Explorer and type in the url for CC5.2 while CC5.2 is already running in a separate instance, it overwrites whatever is running and reopens CC5.2 all over again.
    In CC4.0 I was able to open multiple SAP sessions and run multiple SOD reports.  I understand 5.2 is a web app, but it seems the code should be smart enough to allow me to open multiple IE instances to run multiple analyses. 
    Am I missing something?
    Thanks,
    Sandy

    Hi Sandy,
      What about option to run your analysis jobs on the background ?
      You can still be in your IE session, but schedule several analysis to run on the background. On completion of the jobs, you'll be able to check output results for each of them.
      Advantage of this is that it also doesn't depend on your link between your machine and CC server which could be an issue for the foreground jobs.
    Best regards,
    Laziz

  • I just upgraded to Mountain Lion.  Now I can't open more than one website at a time.  When I do the first site, minimized and in the dock, is taken up by the second one.

    I just upgraded my computer from Snow Leopard to Mountain Lion.  I used to be able to have as many websites open as I wished.  Now when I open a website and minimize it, it minimizes and moves to the dock just like it used to do.  But now when I open a second website, it takes the place of the first one down in the dock that was minimized.  I can't open more than 1 website at time now.

    There is something basic going on that unfortunately has me stumped.
    Before you spend the $20 please try creating a new user, for testing purposes:
    Creating a temporary account to isolate user-specific problems: Isolating an issue by using another user account
    That is easy enough to accomplish. If Safari and the Dock behave as you expect while using that account, it will help determine the cause. Please report the results of this test.
    Delete the temporary account after you finish testing.
    Many of those features I mentioned are new in Mountain Lion, and represent a significant change from Snow Leopard. Though you should certainly continue to use your Mac the way you have been accustomed to using it, you may find using Mountain Lion's new features advantageous. If you are fortunate enough to have an Apple Store nearby, you would benefit by taking advantage of Apple's many free workshops: https://www.apple.com/retail/learn/
    Otherwise you may find yourself spending the $20 often. The help available here is often better than Apple's. It is not always correct, but it is always free.

  • Can you open more than one ER file at a time?

    I was wondering if you can open more than one file at a time in ER?
    I attempted it, however, it does not appear that I can do that like other Adobe products.  (If not, it would be  nice to have the ability of working, or opening more than one file at time within ER.)

    Thanks for the suggestion!  We definitely agree that having multiple files open is a key enhancement and have it in our roadmap for future updates.

  • Can't open more than one file at once (Indesign CS3)

    hi there
    I have to deal with a strange problem, every time (well actually randomly) I try to open more than one indesign file at once, indesign just stays in the background and I can't get it to show up.
    the only thing I can to is force quite the application and restart indesign. Sometimes I'm able to see one of the open documents but I can't do anything with it (as there are no tools and no other indesign windows).
    Im not the only one having this problem, my work mate just updated his osx from 10.4 to 10.5, and now he is having the same problems...
    any suggestions why that is?
    cheers
    (my system: mac 2x2.66ghz dual-core intel xeon, 1gb ram, osx 10.5.2, indesign cs3
    my work mates system: mac G5, 1gb ram, indesign cs3, osx 10.5.2)

    Every system has issues when its first released.
    What's the point of jumping to a new system on a production machine when everything works perfectly in the old system?
    Monitor these forums and other boards and as soon as Apple and Adobe have a fix jump to the new system.

  • Can't open more than one InDesign file at a time.

    InDesign CS6
    Sometimes, when I try to open a second or third InDesign file I get this message:
    [Cannot open "file-name.indd" please close one or more Adobe InDesign documents or books or libraries and try again]
    If I close all open files, it lets me open one file.
    If I quit, and restart Id, I can open more than one file for a while, then it starts to show this error message again.
    Interestingly, it was doing this same behavior in Id CS 5.5.
    I was hoping that upgrading to CS6 would cure it of this.
    Any ideas?
    iMac i7 27"
    8 GB RAM
    OSX 10.8.1

    As a general comment, most users don't have a problem opening multiple files, so this is probably something local on all of your systems (though not necessarilty the same thing).
    Standard things to try for troubleshooting are removing all third-party plugins, including any font manager auto-activation, creating a new user account and try that, trash your prefs (see Replace Your Preferences) and start your machine with background programs disabled.

  • Can I open more than one Pages document at a time with the IOS app?

    This sounds crazy, but I can't find how to open more than one Pages document at the same time when using the Pages app on IOS.
    It's easy on the Mac, but on my iPad? Can't seem to do it!
    I'm working on a project where I'm writing one document, but having to frequently cross-refer to another. Having to continually open and close each document, one at a time, on my iPad is driving me mad!
    Am I missing something really obvious? Can anyone help please?

    Many thanks, that's really useful. I've saved the document I'm referring to as a PDF and can now work exactly as you described.
    As you say, it's not elegant, but it does work
    Just need to ensure my fingertips are very dry, as I fear any slight 'catching' with a four finger swipe and my iPad will fly across the room / train / office 

  • Can't open more than one window in safari.

    I bought a new iPad mini few days ago and whenever I try to open more than one browser page in safari, It closes suddenly & I have to start safari again. Can anyone tell how to solve this problem.

    1. Settings>Safari>Clear History, Cookies and Data
    2. Hold the Sleep/Wake and Home button down for about 10 seconds until you see the Apple Logo

  • Can't open more than one window in PS-CS4 - Snow Leopard

    Just got CS4 and have anew iMac.
    I tried to open more than one image in PS and it won't let me.
    It simply replaces the image that's currently open. If I close that window,
    the first image will appear in the window. This can't be right. What's happening.
    Thanks

    Rick,
    The documents aren't replacing each other - what you're experiencing is the new "tabbed windows" feature in CS4. Next time you try to open 2 documents, look at the bottom of the "Window" menu and you'll see that both documents are actually open. Then look at the window's title bar and you'll see two "tabs", similar to what some web browsers do with multiple open windows. Just click on the tab of the window you want in the foreground.
    If you'd prefer to go back to the CS3 method, go to "Preferences>Interface" and un-check the "open documents as tabs" checkbox.

Maybe you are looking for

  • Virtual Cube with Services - Debugging

    I want to debug the function module assigned to a Virtual Cube with services. Using transaction RSRT, I can access the FM using debugger when the query is initially called, by selecting Debug options/Default Breakpoints/VirtualCube. I want to debug s

  • Could not create SOA as a Managed server

    Hi I Installed Oracle SOA suite and then I created the Weblogic domain. But the SOA server is not installed as a separate Managed server. I could not find anywhere create as a Managed server option while creating domain or installation. The strange t

  • Adding a second Hard Drive for /var and /opt

    I need some help... I have an Ultra 60 with 1 36 Gig drive, Solaris 10 with Java DeskTop. I want to add a 9 Gig drive to extend /var and /opt. Below is the data on the disk (format). My question is: How do I set this disk up so the /var and the /opt

  • Install rapidweaver and now can't open it because my apple user id password is not recognized

    I installed rapid weaver and now when I go to open the application, I get a message stating this product was purchased using App Store on another computer.  To install "Rapidweaver" on this computer, sign in using the Apple ID and password used to pu

  • Portable logos

    Post Author: ltwert CA Forum: General I have a series of reports that are used it two different parts of the same organization.  As a result, the logos need to be different.  The logos are encapsulated in a subreport, and the logo is the only thing i