how to catch the appropriate null pointer exception for preparestatemen t while insert to oracle db