The moose likes JDBC and Relational Databases and the fly likes Correct Behavior Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Correct Behavior" Watch "Correct Behavior" New topic

Correct Behavior

Bala Krishna
Ranch Hand

Joined: Jan 26, 2001
Posts: 95
We have two AIX boxes on which WebSphere is installed. I have a JSP that retrieves data from a table with a select query, and then tries to retrieve a column from the resultset TWICE in succession. On one box, it works perfectly alright. On the other box, the second rs.getString(1); statement returns an empty string. Which is the correct behavior? Thanks for the help.
I agree. Here's the link:
subject: Correct Behavior
It's not a secret anymore!