How to check null value in JDBC?

Answer Posted / bandi chandrasekhar reddy

by using ResultSet.wasNull() behaviour if it boolean value is
returns true its mean last return value by this ResultSet is
NULL n if it is false means return value NOT NULL.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I manage special characters when I execute an insert query?

711


What is an escape syntax?

710


What does setautocommit do?

725


Why do we use jdbc?

681


What does executeupdate return in java?

705


What is the difference between execute, executeQuery, executeUpdate?

738


What is the meaning of batch updates?

788


What causes no suitable driver error?

723


Prepared statements are faster. Why?

776


Name the types of jdbc drivers.

697


How do I find whether a parameter exists in the request object?

684


How do I connect to jdbc?

688


Why do we need jdbc?

786


What is the difference between setmaxrows(int) and setfetchsize(int)?

766


What do you understand by jdbc driver and explain its types?

686