File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
how to pass the result of ResultSet to an outputfile
Joined: Oct 17, 2002
Oct 18, 2002 16:51:00
I am new to
, I have used
to query the database.I wanted to know how to store the result in a outputfile
rs = stmt.executeQuery(query);
str = rs.getInt("movie_id");
String str2 = rs.getString("ReturnDate")
can i use
to write the str and str2 into an output file,
any help would be appreciated.
I agree. Here's the link:
subject: how to pass the result of ResultSet to an outputfile
what is the diff? (Strings again)
How many objects will be created
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013