If the particular value is not found SQL DB (NULL), which data type is considered in JAVA in this case?

This question is related to Oracle Interview

Showing Answers 1 - 2 of 2 Answers

sharath

  • Sep 15th, 2006
 

Use ResultSet.wasNull() to check whether the retrieved value is null or not.

  Was this answer useful?  Yes

kumpsath

  • Sep 19th, 2009
 

My Suggestion: It is based on the SQL db data type. Ex, If the column datatype is number (decimal), using auto-boxing Java will convert data into double.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions