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...

ANS:--- >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

NOW HOW TO I CHECK IN MY DURING EXECUTION WHETHER IT RETURNS
TRUE OR FALSE... WELL IT WILL DISPLAY ANY MESSAGE OR NOT


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

What is clipping?

2 Answers  


What are alternatives to java serialization?

0 Answers  


Why can't we use static class instead of singleton?

0 Answers  


What is the point of java?

0 Answers  


make a method which any number and any type of argument and print sum of that arguments.....

0 Answers  






Can we synchronize static methods in java?

0 Answers  


Explain cookies?

2 Answers   Canon,


What is meant by object oriented programming – oop?

0 Answers  


Hi, This is ravi i have a question like this i have string "UNDERSTAND" now i want to count the letters how many times it occures.i.e from the above string the out put should be like this U-1,N-2,D-2,E-1,R-1,S-1,T-1,A-1. how can i achieve this Thnaks in advance for your response ..

7 Answers  


What is advantage of using threads?

2 Answers   BMC,


Is ruby built on java?

0 Answers  


What are the access modifiers in java?

0 Answers  


Categories