This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem in resultset

 
BABUN GHOSh
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Amit Ghorpade
Bartender
Posts: 2854
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Paul Clapham
Sheriff
Posts: 21107
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
However if both of those statements applied to the same row, then forward-only versus scrollable have nothing to do with your problem.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic