This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes JDBC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "JDBC" Watch "JDBC" New topic


D Mahapatra

Joined: May 16, 2001
Posts: 3
I am having a table in ORACLE which has only one row and seven columns. When I try to read them through ResultSet, i.e., through, I can't able to read them, because is false.
How can I read the data? Please, help.
Frank Carver

Joined: Jan 07, 1999
Posts: 6920
This is probably due to the structure of the way you are reading from the resultset. In particular if you call at all before you try and "use" it you will get this problem.
Can you show us a few lines of your code in which you try and read from the resultset?

Read about me at ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
It is sorta covered in the JavaRanch Style Guide.
subject: JDBC
It's not a secret anymore!