Thanks, Chris, I didn't know that.
Debbie

-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
Polley Christopher W
Sent: Wednesday, August 09, 2000 10:24 AM
To: [EMAIL PROTECTED]
Subject: Re: Number of Records


java.sql.ResultSet.getFetchSize (JDBC 2.0) doesn't return the resultset's
size, but "a hint [to the JDBC driver] as to the number of rows that should
be fetched from the database when more rows are needed for this result set",
and may be changed by the program with setFetchSize.  In other words, the
number of records that are cached at the client end of the connection.

Regards,
Chris

> -----Original Message-----
> From: Dehe Cao [SMTP:[EMAIL PROTECTED]]
>
> (C) If you want to know the number of records in your resultSet,
> you may also use:
>
> int count = rs.getFatchSize();
>
> which gives you the count of the resultSet.
>
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to