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

Reply via email to