E
Ebrahim
hi guys .. I am using Oracle : JDBC driver to connect to an oracle
server . I am reading the cols from the db into a ResultSet . When I
program in Eclipse I can read the values from rs.getString(col_name)(
the resultset object ) . But the same code does not work when I run my
code on my server - Tomcat .
It gives the Exception ResultSet.next() was not called .
It does not make any sense ... coz it connects fine to the db fine but
does not read any values ...
BEsides why should ResultSet.Next() be called in the first place ??
(even though I do call it from my program ) Becoz I am reading only 1
row from the DB at a time so why call rs.next() .
S O M E O N E P L S E X P L A I N ????????????????
server . I am reading the cols from the db into a ResultSet . When I
program in Eclipse I can read the values from rs.getString(col_name)(
the resultset object ) . But the same code does not work when I run my
code on my server - Tomcat .
It gives the Exception ResultSet.next() was not called .
It does not make any sense ... coz it connects fine to the db fine but
does not read any values ...
BEsides why should ResultSet.Next() be called in the first place ??
(even though I do call it from my program ) Becoz I am reading only 1
row from the DB at a time so why call rs.next() .
S O M E O N E P L S E X P L A I N ????????????????