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

Explain 5 io best practices?

593


1.IN CASE OF DYNAMIC METHOD DISPATCH WHY WE USE REFERENCE VARIABLE,WE CAN USE THE DIFFERENT DEFINED OBJECT DIRECTLY TO ACCESS THE DATA MEMBER AND MEMBER FUNCTION OF THAT RESPECTIVE CLASS?WHAT IS THE MAIN FUNCTION OF "REFERENCE VARIABLE" HERE?

3788


Can a constructor be private and how are this() and super() method used with constructor?

521


What is a null class?

569


Explain some best practices you would apply while using collection in java?

567






What is a ?

752


What are the advantages of exception handling?

552


Difference between current previous versions of Java?

555


what is the role of xml in core java?? and how we can use it?? can somebody give a sample program with explanation and from where i can read more about xml?????

1799


What is method overloading and method overriding?

536


Is list ordered in java?

540


What are static blocks in java ?

609


What data type is a string?

511


What is style and indentation?

550


What is boolean data type in java?

566