how a programmer confirms that the data submitted has been
succesfully inserted into the database(either oracle or my
sql).. How a programmer confirm if there is any problem with
the program he wrote for insertion

Answer Posted / guest

executeupdate method is having boolean return type, if
anything goes wrong in data insertion or data updation, it
would return false. otherwise, if it successfully inserts
data into the database, it would return true

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If we don’t want some of the fields not to serialize how to do that?

556


Why there are some null interface in java? What does it mean?

640


Do we have pointers in java?

522


How do you define a method?

505


Is array synchronized in java?

548






What is null object in java?

562


What are java threads?

612


What happens if a constructor is declared private?

521


Can we use different return types for methods when overridden?

552


Can we use static class instead of singleton?

574


Where are variables stored?

546


What does java final mean?

513


Can we overload destructor in java?

534


What is difference between ++ I and I ++ in java?

522


What is a constructor overloading in java?

515