Eranda Sooriyabandara wrote:
when execution time it gave the NullPointerException. We cannot directly cast the null into Integer ((INTEGER)rs.getObject(i)). But we can do it by give the data type as integer, pSt.setObject(i, rs.getObject(i), Types.INTEGER);

Am I correct in understanding?

Yes, exactly so!

thanks,

bryan


Reply via email to