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

Why java is platform independent? Explain.

0 Answers  


what is the output ? Math.floor(-2.1) a)2 b)-2 c)-3.0 d)0

4 Answers   Accenture,


What is meant by final class, methods and variables?

3 Answers  


what is bytecode ?explain in detail and watz the difference between bytecode and machine code?

6 Answers   Lucent,


How to prevent a field from serialization ?

2 Answers  






What is bool mean?

0 Answers  


Difference between Primary key and unique key?

4 Answers  


How to use arraylist in java netbeans?

0 Answers  


What is difference between array and arraylist in java?

0 Answers  


what is difference Between Core Java and advance java

60 Answers   HCL, HP, Sambalpur University, TCS, Vensai Technologies, Wipro,


how we can create packages in java?

0 Answers  


What is return code?

0 Answers  


Categories