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

Why do we use predicate in java?

571


Can you make a constructor final?

592


What is a type parameter in java?

544


How do you check if a number is a perfect square?

524


What is meant by overloading?

598






What classes of exceptions may be thrown by a throw statement?

540


Why volatile is used in java?

541


What are inner classes or non static nested classes in java?

719


What are the advantages of passing this into a method instead of the current class object itself?

1185


What is the memory leak in java?

534


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

577


What super () does in java?

496


What is method overloading and method overriding?

550


What are nested classes in java?

616


What is entry set in java?

545