sounds like you may not have set up your statement to handle it. See if any
of the following helps clarify what the options are.

createStatement
public Statement createStatement(int resultSetType,
                                 int resultSetConcurrency,
                                 int resultSetHoldability)
                          throws SQLException
  Creates a Statement object that will generate ResultSet objects with the
given type, concurrency, and holdability. This method is the same as the
createStatement method above, but it allows the default result set type,
concurrency, and holdability to be overridden.

    Parameters:
    resultSetType - one of the following ResultSet constants:
ResultSet.TYPE_FORWARD_ONLY, ResultSet.TYPE_SCROLL_INSENSITIVE, or
ResultSet.TYPE_SCROLL_SENSITIVE
    resultSetConcurrency - one of the following ResultSet constants:
ResultSet.CONCUR_READ_ONLY or ResultSet.CONCUR_UPDATABLE
    resultSetHoldability - one of the following ResultSet constants:
ResultSet.HOLD_CURSORS_OVER_COMMIT or ResultSet.CLOSE_CURSORS_AT_COMMIT
    Returns:
    a new Statement object that will generate ResultSet objects with the
given type, concurrency, and holdability
    Throws:
    SQLException - if a database access error occurs or the given parameters
are not ResultSet constants indicating type, concurrency, and holdability

----- Original Message -----
From: "Grzegorz Wrazen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 29, 2003 1:49 AM
Subject: strongly_function


> J use function called last() from ResultSet and it should moves a cursor
> to the last row in ResultSet.
> And last() does not do it,but why?
>
> thanx a lot!
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
>
> Some relevant archives, FAQs and Forums on JSPs can be found at:
>
>  http://java.sun.com/products/jsp
>  http://archives.java.sun.com/jsp-interest.html
>  http://forums.java.sun.com
>  http://www.jspinsider.com
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com

Reply via email to