- Архив списков рассылки pgsql-jdbc

Поиск
Список
Период
Сортировка
От abhilas@iiitmk.ac.in
Тема
Дата
Msg-id 200207182342.g6INgbc10500@iiitmk.ac.in
обсуждение исходный текст
Список pgsql-jdbc
  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/



В списке pgsql-jdbc по дате отправления:

Предыдущее
От: "Richard So"
Дата:
Сообщение: traditional chinese character with JDBC driver ...
Следующее
От: "Guthrie, John"
Дата:
Сообщение: Re: