I am using oracle.jdbc.driver.OracleDriver (odbc14.jar with all oracle.dbtool plugins for eclipse installed).My resultset.next() returns false.
I alternatively tried to use OracleCachedRowSet but getRows() finds zero records too.My code is below
Please help am stuck on this.
Does "Select username,password AS num from mjzeko.users where username= ? AND password= ?" return any rows if you run it at the commandline? If so, double check the username/password are the same case as in the database and don't contain any extra whitespace.