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

Answers were Sorted based on User's Feedback



how a programmer confirms that the data submitted has been succesfully inserted into the database(e..

Answer / 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

how a programmer confirms that the data submitted has been succesfully inserted into the database(e..

Answer / ravi

executeupdate method have is boolean typeand if want to
check that data insert for this after statement we print a
statement that record successfully inserted if record
inserted this statement execute and otherwise print
statement not execute.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Core Java Interview Questions

what is the use of clone() in real time scenario?

2 Answers   Quinnox,


Explain importance of inheritance in java?

0 Answers  


How to decrease number of hashings in has

1 Answers  


Can we assign null to double in java?

0 Answers  


How a string is stored in memory?

0 Answers  






Where is jre installed?

0 Answers  


Nested classes VS Inner classes?

3 Answers   Infosys,


Give few difference between constructor and method?

0 Answers  


What happens when a thread cannot acquire a lock on an object in java programming?

0 Answers  


If a method is declared as protected, where may the method be accessed in java programming?

0 Answers  


What is the purpose of the File class?

3 Answers  


What is the difference between heap memory and stack memory?

0 Answers   Aspiring Minds,


Categories