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

What is jdbc odbc connection?

511


What is the return type of execute, executequery and executeupdate?

660


Why do we use jdbc statements?

511


What are the benefits of PreparedStatement over Statement?

530


What is the meaning of “dirty read” in the database?

567






What is a merge field?

509


Is jdbc faster than odbc?

511


Are all the required JDBC drivers to establish connectivity to my database part of the JDK?

534


How does jdbc connect to database?

479


What is jdbc connection?

654


What is a java driver?

504


What are common JDBC Exceptions?

552


How does jdbc work?

505


What is the meaning of batch updates?

566


How many types of jdbc drivers are there?

557