I am working on a code that uses
JDBC to retrieve data from Oracle database. e,g,
ResultSet rt = statement.executeQuery(sql);
String s = rt.getString("User_ID") // it's 'N/A'.
if( s.equals("N/A")
System.out.println("....");
It is not equal! How come? It doesn show as N/A! Is this a data type conversion thing?
Thanks,
Kelly