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 many categories of jdbc drivers are there?

484


What is jdbc odbc connection?

503


What is url in jdbc connection?

505


What is device controller?

514


Give steps to connect to the db using jdbc?

586






How can you use preparedstatement in jdbc?

516


Under what circumstances, that all four drivers are used?

1903


What are the different classes through which JDBC represents statements?

503


What is the use of jdbc?

560


How to move the cursor in scrollable resultset ?

571


What are different types of ResultSet?

582


password, is stored in as plain text. What can I do to protect my passwords?

513


Can I use JDBC to execute non-standard features that my DBMS provides?

555


Does jdbc use odbc?

504


What is com mysql jdbc driver?

498