A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
Arduino in Action
this week in the
General Computing
forum!
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
JavaRanch
»
Java Forums
»
Databases
»
JDBC
Author
problem in resultset
BABUN GHOSh
Greenhorn
Joined: Apr 03, 2008
Posts: 7
posted
Jul 16, 2008 04:57:00
0
In
java
when we open a resultset object is it only forward only?
example
out.println(rs.getString("NAME"));
out.println(rs.getString("NAME"));
but second time data is not show on broswer.
why?
my backend data base is oracle10g express edition.
Aveek
Amit Ghorpade
Bartender
Joined: Jun 06, 2007
Posts: 2562
2
I like...
posted
Jul 16, 2008 05:05:00
0
In java when we open a resultset object is it only forward only?
yes it is forward only.
if you want it scroll, then make a scrollable statement.
Hope this helps
SCJP, SCWCD.
|
Asking Good Questions
|
Paul Clapham
Bartender
Joined: Oct 14, 2005
Posts: 16487
2
I like...
posted
Jul 16, 2008 09:23:00
0
However if both of those statements applied to the same row, then forward-only versus scrollable have nothing to do with your problem.
subject: problem in resultset
Similar Threads
calendar
getting null values, while fetching data
Need Help With Dynamic text box in JSP
SQL Error
Data source name not found and no default driver specified
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter