I am retrieving the values of some positions of a table dynamically.The
position has null(automatically database insert that null value),1,2
values.I have to retrieve that values to a java prog and to check whether
the retrieved value is 1,2 or null.This I am doing like this.
I reterieves the value using rs1.getString(usrnameDB).
if(rs1.getString(usrnameDB).equals("1"))
else if(rs1.getString(usrnameDB).equals("null"))
The II line won't work because here the null parameter(entered
automatically in the database)is something different from that is there in
a JAva prog.
I just want to know how can I check that a retrieved value in this
manner is 1,2 or null.
Abhilash
---------------------------------------------
This message was sent using Endymion MailMan.
http://www.endymion.com/products/mailman/