hi,
could u tell me which database r u using .
since we r also facing the same problem with mysql
regards
manju...
Mohsan Khan [EMAIL PROTECTED] wrote:
> Hi
>
> I'm just started working with jsp/servlets/jdbc, and what I want to
> do is read some data from my database rewind and read again, so I
> tried this and got the error:
>
> # Wrong number of arguments in:
> con.createStatement( ResultSet.TYPE_SCROLL_INSENSITIVE );
>
> # this wont work either
> int rstype = rs.getType();
> rs.first();
>
> --------------------------------------------------------------------------
> stmt = con.createStatement( ResultSet.TYPE_SCROLL_INSENSITIVE );
> out.println( "Statement created..." + "<br>" );
>
> select some data from my table
>
> int rstype = rs.getType();
> out.println( "Type is: " + rstype + "<br><br><br>" );
>
> while( rs.next() ) { show what we read }
>
> rs.first();
>
> while( rs.next() ) { show something else }
> --------------------------------------------------------------------------
>
> in the reference it�s said that these work with JDBC 2.0 ?
>
> --
> ===============================================================
> God didn't squash all the bugs, when programming the Human.
> Humans are only at �eta stage !
>
> We humans are in a evolution-simulation game that some kid is
> playing, pretty soon -
> the kid will grow tired and quit the boring game,
> well what do you think will happen to us ?
> well ?
>
> - Just as easy as when you play a game and think it's boring and shut it off -
>
> Xcuse speling pleas, No, ok well then i didn�t want to spel wright anywhay
>
> Mohsan Khan ICQ#:11361921
> 3D Animation/Special/Visual FX
> Digital Graphics/Painting/Design
> Programming C/C++/Lingo/Java
> Music/Sound/FX
> Xybernic - mind over matter
> [EMAIL PROTECTED] www.algonet.se/~xybernic fly.to/xybernic
> ===============================================================
>
> ___________________________________________________________________________
> 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