aspose file tools
The moose likes JDBC and the fly likes JDBC Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "JDBC" Watch "JDBC" New topic
Author

JDBC

D Mahapatra
Greenhorn

Joined: May 16, 2001
Posts: 3
Sir,
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 rs.next(), I can't able to read them, because rs.next() is false.
How can I read the data? Please, help.
Thanks
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6913
This is probably due to the structure of the way you are reading from the resultset. In particular if you call rs.next 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?


A Convergent Visionary ~ Frank's Punchbarrel Blog ~ LinkedIn profile
 
I agree. Here's the link: jrebel
 
subject: JDBC
 
Similar Threads
Removing prolog from an XML file
Service Data Objects?
Please Help me Ranchers
MySQL auto increment
Null Pointer Exception