What is rs.getFetchSize() where rs is ResultSet object

I am trying to figure out how to know the number of rows my query returned.. I didn't find any function in ResultSet Except getFetchSize() but it lways returns 1. Can someone help me out.
Thanks a lot

you can do this with SQL using COUNT or in the result set through java through some tricks. this question has been asked repeatedly before. i suggest you read some of these...
http://forum.java.sun.com/thread.jsp?forum=48&thread=83958
http://forum.java.sun.com/thread.jsp?forum=48&thread=89968
or browse through the search i just did on count number of rows returned
http://search.java.sun.com/search/java/index.jsp?col=javaforums&qp=%2Bforum%3A48&qt=count+number+of+rows+returned
the getFetchSize and it's complement setFetchSize is way for you to give performance hints to the driver on how much data it should read/hold/cache at one time.
from the API
Gives the JDBC driver a hint as to the number of rows that should be
fetched from the database when more rows are needed for this ResultSet
object.

Similar Messages

  • I have set up a new itunes library and am trying to sync this with my iphone.  My iphone is asking for an 'exchange' password.  I don't know what this is or where to find it.

    I am trying to sync my iphone with a new itunes library.  The iphone is askin for an 'exchange' password.  I don't know what this is or where to find it.

    Sounds like you do have an Exchange account setup on your phone. Have a Gmail or Hotmail account? They can both be setup as Exchange accounts. Have a work email account?

  • All of a sudden my itunes wont come up when i hit the desktop icon. un and re installed many times, tried new users, it finally gave me "you need to reinstall sqmapi.dll " im a noob and i have know idea what that is or where i can get it. i cant open any

    all of a sudden my itunes wont come up when i hit the desktop icon. un and re installed many times, tried new users, it finally gave me "you need to reinstall sqmapi.dll " im a noob and i have know idea what that is or where i can get it. i cant open any file or library that has anything to do with itunes except safari and quicktime are fine. im about to pull out whats left of my hair.

    Okay, that's got one thing ruled out at least.
    Can you check something for me, big? I'd like to see if iTunes launches with the Bonjour Service disabled.
    In your Start menu, right-click Computer and select "Manage".
    Expand "Services & Applications".
    Open "Services". (Perhaps maximise the screen to better see what's going on.)
    Right-click the Bonjour Service and select "Properties".
    In the General tab, set the Startup type to "Disabled":
    ... and click OK.
    Restart the PC and try launching iTunes. Does it open this time?

  • At the very end of creating an email account the program asks for a software security device password, I have no idea what this is or where to find it.

    At the very end of creating an email account the program asks for a software security device password, I have no idea what this is or where to find it. To my knowledge I don't have a "software security device". I am using Windows 7 on an IMac.

    What is the exact prompt or error message you get?

  • OSS note 506603 What is it And where can I get it?

    Hello,
    I am trying to create my form with a SAP Table wizard connection, when I try to use the Table wizard I got the error: "No such interface supported". I can see in a lot of comments the solution is on OSS note 506603. I was trying to find this patch in the sdn site but I could not find it. I am not sure if it is a document, an exe file, a dll,,, and when I see the same question asking where to get the OSS note 506603 there is no answer, could somebody help me telling me what is this and where can I get the patch? I would really appreciate it.
    Many thanks.

    Hi Eden,
    How are you doing ?
    OSS note is the older nomenclature for what is now SAP Notes.
    They are available at :
    http://service.sap.com/notes
    you will need a service marketplace user id to log on.
    alternatively, if you do not have access to service.marketplace.
    send me an email [view my business card], i will reply with the patch. it is a few hundred kb.
    with respect,
    amit
    the note number 506603 :-
    Summary
    Symptom
    Additional information for SAP.Net Connector that was not included in the guide.
    Other terms
    SAP .NET Connector, Proxy Wizard
    Solution
    SAP.NET Connector Version 1.0 has been available since Nov 21, 2002. You can download the software from http://service.sap.com/connectors.
    Version 2.0 is also available. Use only the new version for new developments.
    Report any problems with the SAP.NET Connector under the components:
    BC-MID-CON-DNW for problems with the .NET Proxy Wizard for Visual Studio.NET.
    BC-MID-CON-DNC for problems with Communication Runtime.
    Known problems
    1. The Proxy Wizard terminates with the error message "Exception caught in method createFunction for DD_GET_UCLEN Reason: null".
    This is caused by a missing function module, which can be installed as described in Note 580834.
    2. Corrections for SAP.NET Connector 1.0
    The updated version corrects various problems that have been noted during the interim period. You can download it from http://service.sap.com/connectors. To install this version, see the "Release Notes" file. For SAP.NET Connect 1.x, the newest patch-version is called "1.0.3".
    3. Corrections for SAP.NET Connector 2.0
    For Visual Studio Integration (Design Time) following problems have occurred:
    For proxies with several functions, the following runtime error can occur under certain circumstances: "Method xyz can not be reflected." The cause is a combination of an error in the .NET framework and the way in which the proxy generator uses XML-attributes.
    The SAP wizard table does not work. Existing tables are not recognized.
    Both problems are solved by the patch attached to this note. Stop all instances of Visual Studio and unpack the ZIP file into the "%Program Files%\Microsoft Visual Studio .NET 2003/Common7/IDE" directory, whereby the "SAP.Connector.Design.DLL" file is replaced.
    Header Data
    Release Status: Released for Customer
    Released on: 10.12.2004  16:40:26
    Priority: Recommendations/additional info
    Category: Installation information
    Primary Component: BC-OP-NET-NCO SAP .Net Connector
    Secondary Components: BC-OP-NET-VS Visual Studio .Net Connector Wizard
    Message was edited by:
            amit chawathe

  • What is joins?where we use it. is it DD concept? abap

    hi abapers,
    what is joins?where we use it. is it DD concept?
      regards,
      anjan

    hi srinivas.
    chk this simple example.
    u will get good idea.
    table emp
    empno name
    a sasi
    b xxx
    c yyy
    table sal
    empno salary
    a 1000
    b 2000
    Inner join
    select eempno ename
    s~sal
    into table int_table
    from emp as e
    inner join sal
    on
    eempno = sempno.
    if you made inner join between table a and b by emp no
    the selection retrives only if the condition satisfy the output will be
    a sasi 1000
    b xxx 2000
    Outer join
    select eempno ename
    s~sal into table  int_table
    from emp as e
    LEFT OUTER JOIN sal
    on
    eempno = sempno.
    if you made outer join (left /right ) the left table kept as it is the
    if the condition satisfy the right table entries will fetch else leave it blank
    the output will be
    a sasi a 1000
    b xxx b 2000
    c yyy
    rgds
    anver
    if helped mark points

  • Just had to wipe and my Mac but I'm still getting storage message issues.  The About Storage screen says I have 285GB of "Other."  What is it?  Where is it?

    Just had to wipe and my Mac but I'm still getting storage message issues.  The About Storage screen says I have 285GB of "Other."  What is it?  Where is it?  I can't even restore my photo library.

    This should help you understand http://pondini.org/OSX/LionStorage.html

  • Please help!! I got my iPhone 4s screen fixed, now in my Photos it shows nothing, although in my memory usage it shows 10.5gb of photos, thats 2000  photos not showing up. What happened?! Where did all my photos go?!

    I got my iPhone 4s screen fixed, now in my Photos it shows nothing, although in my memory usage it shows 10.5gb of photos, thats 2000  photos not showing up. What happened?! Where did all my photos go?!

    WOOHOO!!! i finaly fixed the problem. Here is what to do:
    Chances are if you did the same thing as me you either have
    A) No album names at all for ALL your songs in your library
    or
    B) Have the same name for every album for ALL your songs in your library.
    Here is how to fix it (yah it will take a little work but its worth getting your iPod functioning properly).
    Unless you dont want to have to go and actualy set al lthe album names for every song here is what you can do:
    Go through to iTunes and arange your songs by Artist name. Click the top song for your first artist, hold Shift and click the last song for that same artist (to multi select all the songs for the artist) go into get info and check the Album box. Copy the name of the artist to the Album box and hit ok.
    Now when u update your ipod and go into ur Artists section the actual Artist name should show up instead of the song names.
    For some reason having the same album name for all your songs messes up the organization of the iPod.
    Hope this helps anyone else that is having the same problem

  • What has happened? Where is my iPhoto and why are my photos now in Photos. This *****. The whole reason I bought a Mac was the ease of iPhotos. Horrible.

    What has happened? Where is my iPhoto and why are my photos now in Photos? This *****. The whole reason I bought a Mac was the ease of iPhotos. Horrible. Bad move.

    iPhotos is still in your Applications folder. The iPhoto Library is still in your /Home/Pictures/ folder.

  • What is JSF and where use it

    hi!
    i dont know what is jsf and where use it
    what different from JSTL
    thanks...

    At this level a visit to JSF-Tutorials (http://www.jsftutorials.net/) might the best thing to do. Or dig into a book.
    Basically it has a different scope than JSTL.
    JSF is a presentation layer framework. Other names in that area are:
    Struts, Spring MVC, Tapestry, and many more
    JSTL is a collection of JSP-tags and therefor covers only a VERY small part of the presentation layer. And it is very far away from a framework
    hth
    Alexander

  • What is BAPI and where does it use

    Hi all
    What is BAPI and where does it useful for us. And as a functional consultant how much should i know it.
    regards
    Subrat

    Hi Subrat,
    You can get the information of whatis BAPI in SAP help link below...
    http://help.sap.com/saphelp_46c/helpdata/en/a5/3ec8464ac011d1894e0000e829fbbd/content.htm
    As a Functional consultent, it depends how close you are with the technical part of the implementation. if you are involved in some technical part, you need this information...
    Best Regards,
    Venkat.

  • What is shipment cost, where to enter it

    What is shipment cost, where to enter in which document & how it is getting calculated

    Hello Prem,
    Shipment cost is calculated in the Shipment cost document. This document is a follow up of the Shipment document. In order to determine shipment costs, you need to do following settings:
    1). Determinaion of Shipment cost type on the basis of shipment type.
    2). Assign the Shipment cost type to Item Categories.
    3). Define the shipment cost relevance for shipment types.
    4). Set up the pricing. Define Condition table with Forwarding agent. Maintain Access sequence and condition type.
    5). Finally maintain a Pricing procedure and a Pricing Procedure determination.
    Pricing procedure is determined for each Transportation planning point. It is based on the following values:
    a). Item determination group : Assigned to Item category.
    b). Service agent Procedure Group : Assigned to the forwarding agent (which is maintained as a Vendor).
    c). Shipment type group : assigned to the shipment type.
    After you have configured all these, make the Shipment document relevant for costing (at header or stage level). Assign the forwarding agents. Now though transaction Vi01, you will be able to create a shipment cost document.
    Please ask in case you have any doubts.
    Regards,
    Ankur

  • What is the site where I can access many 3rd party Widgets for MUSE?

    What is the site where I can access many 3rd party Widgets for MUSE?

    Hi
    Some more
    Adobe Muse Free Templates | Download Muse Themes and Widgets
    MUSE RESOURCES™ | Library Widgets
    RESOURCES | Adobe Muse CC
    Regards

  • Time machine: I get the following message: The backup disk image "/Volumes/Data-1/Clemens's iMac.sparsebundle" is already in use - what to do? Where and how do I find that file and get rid of it?

    time machine: I get the following message: The backup disk image “/Volumes/Data-1/Clemens’s iMac.sparsebundle” is already in use - what to do? Where and how do I find that file and get rid of it?

    I'm on Mountain Lion and have version 6.1 of AirPort utility so there is no button to "Disconnect All Users"and the only other option of "removing and re-selecting the drive via Time Machine Prefs" doesn't work either. So this will work.
    Launch Airport Utility and select the TC "Edit" button, then select the Disks tab. Deselect "Enable File Sharing" and click "Update". The TC will reboot then follow the same procedure and reselect "Enable File Sharing" and click "Update". After TC reboots again you'll be up and running. Not the neatest way to do it but saves having to unplug the TC which risks disk damage and the whole procedure takes less than a minute.The "Enable File Sharing" button seems to have replaced the "Disconnect All Users" button but with the slight disadvantage that it reboots the TC which takes up additional time.

  • My iTunes update install failed. Error message says MSVCR80.dll is missing from my comuputer. What is that and where do I get it?

    My iTunes update install failed. Error message says MSVCR80.dll is missing from my comuputer. What is that and where do I get it?

    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

Maybe you are looking for

  • Laserjet CP1025nw

    Hi, I recently purchase a CP1025nw color laserjet printer and am using the network (hard wired to my router) version.  I upgraded the firmware and drivers on computer running Windows 7 64bit.  The issue I am having is when I try to print a configurat

  • Unable to access LAN behind RV042 from QUICK VPN Client once it connects

    Hi, Very recently, we had implemented Site-to-Site VPN tunnel between two Linksys RV042 4-port VPN routers. Everybody in our remote site is accessing and sharing the data through this tunnel and it is working fine. Now, we have a plan to implement th

  • Why is my Macbook pro display text background yellow instead of white?

    Why is my Macbook pro display text background yellow instead of white? This problem is intermitten and when it occurs the yellow tint flickers.

  • Pre-sales queires

    is it possible to contact Creatri've by email regarding pre-sales queries? the ONLY online form involves entering product details, which (and this is why I want to ask some questions) I do not have ... thanks john, york

  • Sizing the iFrame in iWeb

    Hi, Do anyone using iFrame to embed a Webpage into your page? <IFRAME SRC = "http://artotems.com/default.aspx" WIDTH="260px" HEIGHT="425px" FRAMEBORDER="0" --if "0" no border, otherwise "1" with border MARGINWIDTH ="0px" MARGINHEIGHT="0px" SCROLLING=