Article View: borland.public.jbuilder.java.api
Article #1116Re: about JDBC2 Resultset
From: Frank Pedroza
Date: Fri, 10 May 2002 13:31
Date: Fri, 10 May 2002 13:31
5 lines
1287 bytes
1287 bytes
Why do you need to know the size? Can't you just use a dynamic structure or something? I guess if you wanted, you could loop through the result set twice (once to get the number of rows, second to process the results). You could modify the result set to return an additional column that contains the number of results returned.
Technical Details
Message-ID:
<3cdbcba2_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!peer.news.opaltelecom.net!newsfeed.icl.net!news-x2.support.nl!newsfeed.freenet.de!fu-berlin.de!news.rhrz.uni-bonn.de!RRZ.Uni-Koeln.DE!nntp.cs.uni-magdeburg.de!PeerFeed.KWeb.on.ca!dnewsReferences:
<3cdb32d3_1@dnews> <uit5wa2j6.fsf@ergo.no>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,d024da49e4edee17 X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2002-05-10 06:32:24 PST From: "Frank Pedroza" <NfOpSePdArMo4zMaE@myriad.com> Newsgroups: borland.public.jbuilder.java.api References: <3cdb32d3_1@dnews> <uit5wa2j6.fsf@ergo.no> Subject: Re: about JDBC2 Resultset Date: Fri, 10 May 2002 07:31:14 -0600 Lines: 7 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 NNTP-Posting-Host: 63.75.14.2 Message-ID: <3cdbcba2_1@dnews> X-Trace: dnews 1021037474 63.75.14.2 (10 May 2002 06:31:14 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!peer.news.opaltelecom.net!newsfeed.icl.net!news-x2.support.nl!newsfeed.freenet.de!fu-berlin.de!news.rhrz.uni-bonn.de!RRZ.Uni-Koeln.DE!nntp.cs.uni-magdeburg.de!PeerFeed.KWeb.on.ca!dnews